User Manual

Deploying EmpInfo on NonStop
Deploying EmpInfo on Nonstop involves creating the application WAR file on Windows and
deploying the EmpInfo WAR file in NSJSP on NonStop. For more information, see:
“Creating the Application WAR File on Windows” (page 87)
“Deploying Sample Applications on NonStop” (page 331)
Running EmpInfo on NonStop
To run EmpInfo on the NonStop system, click /<servlet directory>/EmpInfo path under
Applications in the NSJSP Manager screen.
You can now add, search, and delete employee details as explained in the “Getting Started with
Spring” (page 38) section.
Integrating Axis2/Java into Spring
This section describes how a Spring application can use Axis2/Java for exposing itself as a web
service. This is demonstrated by modifying the EmpInfo application (developed in the Getting
Started with Spring section) using the Eclipse Galileo IDE.
The following topics are discussed in this section:
Why Integrate Axis2/Java into Spring
Example of Integrating Axis2/Java with Spring
Why Integrate Axis2/Java into Spring
Using a Simple Object Access Protocol (SOAP) protocol is the best way to exchange information
within the applications on the decentralized and distributed environments.
Spring is a lightweight container and flexible MVC Web application framework, and is created
to address the complexity of enterprise application development. It is easy to use Axis2/Java to
generate the SOAP web service with classes available for configuration and initialization using
the Spring framework.
This section describes the development of a Java class to implement various business operations
(such as insert, delete, and retrieve of employee details) using the Spring framework. The Axis2/Java
framework is used to expose it as a web service, which generates the WSDL files for the
implementation.
Example of Integrating Axis2/Java with Spring
The EmpInfo application (described in the Getting Started with Spring section) is a web application
that is deployed directly in NSJSP.
This section describes how to expose the EmpInfo application as a web service running under
Axis2/Java.
Prerequisites
The prerequisites for integrating the EmpInfo application with Axis2/Java are:
Basic knowledge of the Spring and Axis2/Java 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
Integrating Axis2/Java into Spring 259