User Manual
Example of Integrating MyFaces into Spring
The EmpInfo application (described in the Getting Started with Spring section) is a Spring application
that uses Spring managed views.
This section describes how to use MyFaces for managing views of the EmpInfo application.
Prerequisites
The prerequisites for integrating the EmpInfo application with MyFaces are:
• Basic knowledge of the Spring and MyFaces frameworks.
• EmpInfo application (explained in the Getting Started with Spring section) developed on your
Windows system.
• Following software must be installed on the NonStop system:
NonStop iTP WebServer version 7.x or later◦
◦ NSJSP version 6.1
◦ NonStop SQL/MX version 2.3
◦ JDBC Type 2 driver or JDBC Type 4 driver for the installed SQL/MX version
◦ NSJ version 6.0
• Following software must be installed on the Windows system:
JDK version 1.5 or later◦
◦ JDBC Type 4 driver for the installed SQL/MX version
◦ Eclipse Galileo IDE version 3.5.2 or later
Activities involved
Integrating the EmpInfo application with MyFaces, involves the following activities:
• Modifying EmpInfo on Windows using Eclipse Galileo IDE
• Deploying EmpInfo on NonStop
• Running EmpInfo on NonStop
Modifying EmpInfo on Windows using Eclipse Galileo IDE
The EmpInfo application developed in the Getting Started with Spring section is the starting point
to demonstrate the integration of MyFaces with Spring applications.
Following is the screen shot of the final structure of the EmpInfo application that was developed in
the Getting Started with Spring section.
Figure 132 shows the Project Explorer View.
282 Integrating Frameworks