21 integrating axis2/java into spring, Why integrate axis2/java into spring, Example of integrating axis2/java with spring – HP Integrity NonStop H-Series User Manual
Page 415: Chapter 21: integrating axis2/java into spring, Prerequisites
21 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
chapter) using the Eclipse 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.
Axis2/Java is mainly a framework for constructing SOAP processors, such as clients and servers.
The Axis2/Java implementation of the SOAP protocol is one of the most reliable and stable base
for implementing Java Web Services.
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
chapter) 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
chapter) developed on
your Windows system.
•
Following software installed on your NonStop system:
— NonStop iTP WebServer
— NonStop Servlets for Java Server Pages (NSJSP)
— JDBC Type 2 driver for NonStop SQL/MX
— NonStop SQL/MX
— NonStop Server for Java (NSJ)
•
Following software installed on your Windows system:
— Java Development Kit (JDK)
— JDBC Type 4 driver for NonStop SQL/MX
— Eclipse IDE
Why Integrate Axis2/Java into Spring
415