9 getting started with axis2/java, Prerequisites, Nonstop system – HP Integrity NonStop H-Series User Manual

Page 201: Windows system, Overview of temperatureconverter, Nonstop system windows system, Chapter 9: getting started with axis2/java

Advertising
background image

9 Getting Started with Axis2/Java

This chapter explains how to develop a web service using the Axis2/Java framework. It describes
the steps required to build a basic TemperatureConverter system on your Windows system and
deploy it on your NonStop system.

Prerequisites

Before getting started, make sure that you have the requisite software installed on your NonStop
and Windows system.

NonStop System

The following software must be installed on your NonStop system:

NonStop iTP WebServer

NonStop Servlets for Java Server Pages (NSJSP)

NonStop Server for Java (NSJ)

Windows System

The following software must be installed on your Windows system:

Java Development Kit (JDK)

Eclipse IDE

NOTE:

For detailed information on the above-mentioned software, see the

Prerequisites

section.

Overview of TemperatureConverter

TemperatureConverter is a web service developed using the Axis2/Java framework. This
application enables you to convert temperature from:

Celsius to Fahrenheit

Fahrenheit to Celsius

You can build a web service using one of the following approaches:

Code-First approach - by writing a Java object and then developing and deploying it as a
web service.

Contract-First approach - by creating a Web Service Description Language (WSDL) file and
then using Java to implement it.

The TemperatureConverter web service is developed using the Code-First approach.

This section describes the following steps required to develop, set up, deploy, and run the
TemperatureConverter web application and its client:

1.

Developing TemperatureConverter Web Service on Windows

2.

Deploying TemperatureConverter Web Service on NonStop

3.

Running TemperatureConverter Web Service on NonStop

4.

Developing TemperatureConverter Client on Windows using the Eclipse IDE

5.

Running TemperatureConverter Client on Windows

Developing TemperatureConverter Web Service on Windows

Developing the TemperatureConverter web service on a Windows system involves the following
activities:

Prerequisites

201

Advertising
This manual is related to the following products: