29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.2.1 Editors<br />

You can open a new perspective from the toolbar by selecting Window -> Open<br />

Perspective or by clicking the top icon of the shortcut bar.<br />

Among the predefined perspectives you will find in Studio Site Developer are<br />

those listed in Table 3-1. These are the perspectives we found to be the most<br />

commonly used during Web application development in a <strong>WebSphere</strong><br />

<strong>Application</strong> <strong>Server</strong> - Express environment.<br />

Table 3-1 Perspectives<br />

Perspective Task<br />

Web For building HTML and JSP files. This is the primary<br />

perspective used for application development in <strong>WebSphere</strong><br />

<strong>Application</strong> <strong>Server</strong> - Express, and you will see it used<br />

throughout the publication.<br />

CVS Repository For team development tasks using Concurrent Version System<br />

(CVS). You will see this perspective used in Chapter 15,<br />

“Development in a team environment” on page 515.<br />

Data For connecting to JDBC databases and working with database<br />

design. You will see this perspective used in Chapter 6,<br />

“Accessing databases” on page 153.<br />

<strong>Server</strong> For configuring and operating the runtime test and production<br />

environments. You will see this perspective used in Chapter 13,<br />

“Deploying applications” on page 455.<br />

XML For working with XML resources. You will see this perspective<br />

used in Chapter 10, “Working with XML” on page 309.<br />

Perspectives can easily be customized to suit your needs and just as easily reset<br />

to their original configuration. You can also compose your own perspective by<br />

defining the views it should contain. You will see the more commonly used<br />

perspectives in more detail in the appropriate chapters.<br />

Resource types used in Web applications have default editors associated with<br />

them. When you double-click a resource in the workbench the associated editor<br />

for that type opens the file for editing. For example, in Figure 3-4 on page 48, the<br />

active editor is the Page Designer, which is associated with JSP and HTML files.<br />

If no editor is currently associated with a particular file extension, the Workbench<br />

checks to see if there is one associated in the operating system and, if so, uses<br />

that editor to open the file.<br />

You can change or add editors associated with a file extension using preference<br />

settings:<br />

Chapter 3. Using Studio Site Developer 49

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!