Deploying empinfo on nonstop, Running empinfo on nonstop, Integrating axis2/java into spring – HP Integrity NonStop J-Series User Manual
Page 259: Why integrate axis2/java into spring, Example of integrating axis2/java with spring
![background image](/manuals/397993/259/background.png)
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
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
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
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
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