beautypg.com

HP Integrity NonStop H-Series User Manual

Page 461

background image

NOTE:

If you have already downloaded and installed these

JAR

files, you need not download

them again.

Download and extract the zip files of the above-mentioned

JAR

files to a location on your

Windows system. Assume this location to be

<MyFaces Dependencies>

.

To incorporate the features of MyFaces in the EmpInfo application, the following

JAR

files, other

than the ones added while developing EmpInfo application, must be added in the EmpInfo
project library path:

Table 22-1 Dependency

JAR

Files

Source Location

Dependency

JAR

Files

\lib

commons-beanutils-1.7.0.jar

\lib

commons-codec-1.3.jar

\lib

commons-digester-1.8.jar

\lib

commons-discovery-0.4.jar

\commons-el-1.0

commons-el.jar

\
commons-fileupload-1.0

commons-fileupload-1.0.jar

\
commons-validator-1.3.1

commons-validator-1.3.1.jar

\lib\log4j

log4j-1.2.15.jar

\lib

myfaces-api-1.2.5.jar

\lib

myfaces-impl-1.2.5.jar

\tomahawk-1.1.8\lib

tomahawk-1.1.8.jar

To add these dependency

JAR

files in the project library path and to resolve the J2EE module

dependency on these

JAR

files, follow the instructions as explained in the

Adding Dependency

JAR Files in the Project Library Path

section in the

Getting Started with Spring

chapter.

The EmpInfo application is now modified to integrate MyFaces into a Spring application.

Figure 22-4

shows the Project Explorer View.

Example of Integrating MyFaces into Spring

461

This manual is related to the following products: