Manual

To add the dependency JAR file in the project library path and to resolve the J2EE module
dependency on it, follow the instructions described in the Adding Dependency JAR Files in the
Project Library Path section.
NOTE: The code of the EmpInfo application developed so far is present in <My SASH
Home>\spring\getting-started\EmpInfo-InParts\Part-5
Your project directory structure for the EmpInfo application must appear as follows:
Figure 5-23 shows the Project Explorer View.
Figure 5-23 Project Explorer View
Integrating the Web-tier of EmpInfo with NonStop SQL/MX Database
This section describes the following tasks:
1. Creating the applicationContext.xml File
2. Creating the jdbc.properties File
3. Modifying the EmpInfo-servlet.xml File
4. Improving the Controller
5. Modifying the web.xml File
6. Adding Dependency JAR Files
7. Creating Database Catalog, Schema, and Tables on NonStop
Creating the applicationContext.xml File
To create the applicationContext.xml file, complete the following steps:
1. Create the applicationContext.xml file in the EmpInfo/WebContent/WEB-INF/
directory, described in the Creating the EmpInfo-servlet.xml File section.
Overview of EmpInfo 121