In this latest upheaval of Sun's approach to web services, everything has been unified (we hope) under JAX-WS. I have no idea as to how many developers are making the jump.
Joined: Mar 08, 2006
I want to ask another question, I install the netbeans 5.5 ide and with this ide, it is very easy to build an web service. But I am doing nothing. Everything is made by ide. and I don't like this. I want to learn what are happens, how to create, which classes I need?. so where I can learn everything about web service? Do you give a link, or book, or tutorial or etc,
coincidentally, we were just discussing how to use JAX-WS on Tomcat in this thread. You don't need any tools or J2EE server, besides the JAx-WS reference implementation, Tomcat and Ant.
Start with one of the RI samples (e.g., the one called "fromjava"), figure out how to run the apt tool that generates server-side classes, deploy the service, learn about the "@WebService" annotation and the related ones (@WebMethod, @WebParam, @Webresult, @HandlerChain) that define a WS.
Initial version to use Java Web Service is JAX-RPC 1.0. But during next version 2.0, the folks realized that the industry was not merely doing RPC Web services, but they were also doing message-oriented Web services. So "RPC" was removed from the name and replaced with "WS" (which stands for Web Services, of course). Thus the successor to JAX-RPC 1.1 is JAX-WS 2.0 - the Java API for XML-based Web services.
In order to understand and learn web services - 1. Download TomCat 5.0 [as 6.0 has version mis-match issue with Axis 1.4] 2. AXIS 1.4 [ java2wsdl command - to create WSDL file] 3. Learn WSDL format - basically the different tags