Before you start
Learn what to expect from this tutorial, and how to get the most out of it.
This tutorial demonstrates how to develop web service with Java 2 Platform and deploying it in WebSphere Application Server Community Edition (WASCE) and Tomcat server using two simple examples (Hello World and Logging) and invoking them through a J2ME client. Eclipse IDE is also used to develop a web service and deploy it in the WASCE. There is also a Stock-Quote service example in a remote location (not in local host) developed in .NET platform and this tutorial will show how to invoke it using a J2ME client.
All these web service uses SOAP as a fundamental messaging framework for web services. SOAP builds up a loosely coupled infrastructure that provides significant resilience, scalability and flexibility in deployment using different implementation technologies and network transport. J2ME Web services specification (JSR 172) identifies two independent, optional packages that you can use to access remote SOAP- or XML-based Web services and parse XML data. The complete JSR 172 specification, which is available for download at the Java Community process.
In this tutorial, learn how to:
- Download and Install the web servers (Tomcat and WASCE), if it is not already installed, and make minor additions to it to successfully implement the given examples.
- Download and install Sun J2ME Emulator (Java[TM] ME Platform SDK 3.0) for developing J2me Client to invoke the web services.
- Download and install Axis2 runtime environment into Tomcat for developing and deploying Web service (Hello World).
- Developing web service (Logging) using Eclipse IDE and deploying it in WebSphere Community edition (WASCE).
- Accessing Remote web service (Stock Quote) developed in .Net platform and hosted in the Remote machine through J2me client.
This tutorial assumes familiarity with some basic concepts of the Eclipse IDE, including views, editors, panels, and so on, along with basic programming concept in Java and J2me. For an introduction to Eclipse, Java and J2me, see Resources.

