Getting started with axis2/java, Prerequisites, Nonstop system – HP Integrity NonStop J-Series User Manual

Page 196: Windows system, Overview of temperatureconverter, Code-first approach, Prerequisites overview of temperatureconverter, Getting started with

Advertising
background image

Getting Started with Axis2/Java

This section 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 version 7.x or later

NSJSP version 6.1

NSJ version 6.0

Windows System

The following software must be installed on your Windows system:

JDK version 1.5 or later

Eclipse Galileo IDE version 3.5.2 or later

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 use one of the following approaches to build a web service:

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.

NOTE:

The subsequent sections provide the steps to develop and deploy a sample application,

TemperatureConverter, using both Code-First and Contract-First approaches.

Code-First approach

This section describes the steps to develop, set up, deploy, and run the TemperatureConverter web
service and its client using the Code-First approach. The following tasks are described:

1.

“Developing TemperatureConverter Web Service on Windows” (page 196)

2.

“Deploying the TemperatureConverter Web Service on NonStop” (page 198)

3.

“Running TemperatureConverter Web Service on NonStop” (page 200)

4.

“Developing TemperatureConverter Client on Windows using the Eclipse Galileo IDE” (page 201)

5.

“Running TemperatureConverter Client on Windows” (page 212)

Developing TemperatureConverter Web Service on Windows

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

196

Axis2/Java Framework

Advertising
This manual is related to the following products: