Modifying the applicationcontext.xml file – HP Integrity NonStop J-Series User Manual
Page 263

Modifying the applicationContext.xml File
Modify the applicationContext.xml file to:
•
Add a bean definition for integrating Axis2/Java in the EmpInfo application
•
Edit the JDBC resource location
To modify the applicationContext.xml file, complete the following steps:
1.
Specify the applicationContext bean as shown:
2.
Edit the bean instance of the PropertyPlaceholderConfigurer class to change the
location of the jdbc.properties file, as shown:
After modifications, the applicationContext.xml file should appear as:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
${jdbc.catalog}
${jdbc.schema}
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
Integrating Axis2/Java into Spring 263