beautypg.com

HP Integrity NonStop J-Series User Manual

Page 304

background image

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 31 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

\log4j\log4j\1.2.15

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

NOTE:

: The directory on the windows system where the libraries downloaded

using Maven are located. For example, C:\Documents and Settings\\.m2\repository,
where is your Windows user name.

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

section.

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

Figure 135

shows the Project Explorer View.

304 Integrating Frameworks

This manual is related to the following products: