This tutorial assumes that you have fair knowledge in the following;
Asides the above you need the following tools in order to follow the tutorial;
1. Eclipse IDE for Java EE developers – I will be using Eclipse Galileo, download it here
2. Net beans – I will be using Net beans 6.9
3. Apache Tomcat – I will be using jakarta-tomcat-5.0.28 ,download it here
First what are web services?
In a nutshell, Web Services are the natural evolution of basic Remote Procedure Calls. A Web Service is three specific things;
- A way to find and register interest in a service.
- A transport mechanism to access a service.
- A way to define what the input and output parameters are for such a service.
These three properties, when used in combination, provide a new form of Distributed Computing environment. The difference between this computing environment and DCEs of the past is in standards and implementations. A standard definition mechanism, standard lookup services, and standard transport definitions via Simple Object Access Protocol (SOAP). All of which are provided without concern for the underlying implementation mechanism. What makes Web Services so cool is that, at least in theory, a Web Service written in C and running on a Microsoft IIS can access a Web Service written in Java and running on BEA Web Logic Server. All without concern for how each Web Service is actually implemented.
The standard web service model is depicted as follows;
Some one might ask why I chose web services over Servlets. I have also tried to use servlets to connect a J2ME application to the internet. I found it very tedious and hard to configure and found this as better alternative. That will be all for today’s tutorial. In the next tutorial we are going to go over Apache Tomcat configurations so keep it here!
The next tutorial is now available: Configuring Apache Tomcat