beautypg.com

Overview of skinselector, Creating the eclipse workspace – HP Integrity NonStop J-Series User Manual

Page 151

background image

Overview of SkinSelector

SkinSelector is a basic web application developed using MyFaces. This application demonstrates
how to use the basic MyFaces features such as:

User Interface (UI) Components

Managed Beans

Navigation model

This section describes the following steps required to develop, deploy, and run the SkinSelector
application:

“Developing SkinSelector on Windows using the Eclipse Galileo IDE” (page 151)

“Deploying SkinSelector on NonStop” (page 176)

“Running SkinSelector on NonStop” (page 178)

Developing SkinSelector on Windows using the Eclipse Galileo IDE

NOTE:

It is not mandatory for you to use the Eclipse Galileo IDE. You can use an IDE that supports
Java.

The screen captures in this section are based on Eclipse Galileo IDE version 3.5.2. The screen
captures might look different if you use a different version of Eclipse.

The following activities are required to develop SkinSelector using the Eclipse Galileo IDE:

1.

“Creating the Eclipse Workspace” (page 151)

2.

“Creating a Dynamic Web Project” (page 152)

3.

“Creating the index.jsp File” (page 156)

4.

“Modifying the web.xml File” (page 159)

5.

“Adding Dependency JAR Files to the Project Library” (page 160)

6.

“Creating Views for SkinSelector” (page 163)

7.

“Creating the Managed Beans” (page 169)

8.

“Creating the Configuration File” (page 173)

Creating the Eclipse Workspace

Do one of the following:

Select the workspace you want to use.

Create a new workspace using the Eclipse IDE.

To create a new workspace using the Eclipse IDE, complete the following steps:
1.

Double-click the eclipse.exe file in <Eclipse IDE Installation directory>
to open the Eclipse IDE.

The Workspace Launcher dialog box appears. By default, the workspace is set to your
existing workspace, if already created.

Figure 51

shows the Workspace Launcher dialog box.

Getting Started with MyFaces

151

This manual is related to the following products: