Myfaces-components – HP Integrity NonStop J-Series User Manual

Page 234

Advertising
background image

NOTE:

The myfaces-core-2.0.2-bin.zip and myfaces-core-2.0.2-bin.tar.gz
files include the MyFaces framework libraries and third party libraries that are required
to build MyFaces applications. These files only differ in their compression formats.

The sample application (Tomahawk) discussed in this section has been verified using
MyFaces version 2.0.2 only.

3.

Extract the myfaces-core-2.0.2-bin.zip or myfaces-core-2.0.2-bin.tar.gz
file into a directory on your Windows system.

This directory will be referred as <MyFaces Home>. Among other directories and files,
<MyFaces Home>

contains the following sub-directory:

\lib

includes the MyFaces core libraries myfaces-impl-2.0.2.jar,
myfaces-api-2.0.2.jar

, and third-party libraries usually required to build MyFaces

applications.

Deploying and Running Sample MyFaces Application on NonStop

By default, the MyFaces distribution package does not include any sample application. To verify
if the framework has been installed successfully and to demonstrate some basic features of MyFaces,
a sample application called myfaces-components, is provided in the SAMPLES file.

NOTE:

The SAMPLES.zip file is distributed as a part of the NS Samples for Java Frameworks

- T0874 in the T0874AAB.BIN file in Scout for NonStop Servers. For information on how to install
the T0874AAB.BIN file from Scout, see

https://h20453.www2.hp.com/scout/download_help.htm

.

Before you deploy the sample applications, complete the following steps:

1.

Download the SAMPLES.zip file from Scout for NonStop servers.

2.

Add the .zip extension to it.

The file is renamed as SAMPLES.zip.

3.

Extract the SAMPLES.zip file to a location on the Windows system.

The NS-Samples-for-Java-Frameworks folder appears.

NOTE:

The absolute path of the NS-Samples-for-Java-Frameworks folder is referred

as <My SASH Home>.

This section describes the following steps for the myfaces-components application:

Building the sample application on Windows system

Deploying the sample application on NonStop system

Running the sample application on NonStop system

myfaces-components

The myfaces-components sample application demonstrates the use of various MyFaces components
such as DataList, and TabbedPane.

This section describes the following steps for the myfaces-components sample application.

“Building myfaces-components on Windows” (page 235)

“Deploying myfaces-components on NonStop” (page 235)

“Running myfaces-components on NonStop” (page 237)

234 Installing MyFaces Framework

Advertising
This manual is related to the following products: