21 integrating axis2/java into spring, Why integrate axis2/java into spring, Example of integrating axis2/java with spring – HP Integrity NonStop J-Series User Manual

Page 398: Prerequisites

Advertising
background image

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

Getting

Started with Spring

chapter) 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

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

Getting Started with Spring

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 Galileo IDE

398 Integrating Axis2/Java into Spring

Advertising
This manual is related to the following products: