aspose file tools*
The moose likes Web Services and the fly likes learning web services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "learning web services" Watch "learning web services" New topic
Author

learning web services

Sagar Kale
Ranch Hand

Joined: May 02, 2008
Posts: 188
I want to learn web services. I am bit confused. I don't know where to start from and which books can make me get started in web services quickly.

What I know is there is Apache Axis, there is Java Webservices by Sun, Xfire. I don't understand which is mostly used in the industry.

I have good knowledge of XML,DTD, XSD,SAX,DOM,JDOM,dom4j,XSLT. I also have read little theory about SOAP, WSDL and UDDI.

I need help to know which Webservices(AXIS,XFire,JAX-WS) should I learn with focus on job market?
Which books/tutorial should I refer to?


Please help
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

For the JAX-WS book, SOA Using Java Web Services book is a pretty good book.


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
I don't understand which is mostly used in the industry.


THAT is a really good question.

It seems to me that the original technology vision of public web services as SOAP services defined by WSDL and located by UDDI as per the WS-* standards has totally failed to come to pass. These technologies are alive and well inside corporate information systems (current buzzword SOA) but the "yellow pages" full of public SOAP services never appeared.

Instead, the public services such as Google and Amazon emphasize REST style services. The web has a large number of articles contrasting REST and SOAP styles, including mine.

You may have to dig into a particular industry to find out what they are using. There are plenty of people trying to sell this that or the other vision of web services so dig carefully.

Bill
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
See also
New To Web Service
Web Services Tutorial
And of course Web Services FAQ
Sagar Kale
Ranch Hand

Joined: May 02, 2008
Posts: 188

Thanks to
Freddy, William & Peer

Well I do look at job posting carefully. But in most of the posting they mention webservices or SOA. Very job postings mention if they require specific, Axis or Xfire.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Sagar Kale wrote:But in most of the posting they mention webservices or SOA.


If they mention "web services" they are probably simply talking about some specific SOAP web services API that they use for remoting over HTTP. If they already have a number of web services, they probably have a JBOWS (Just a bunch of web services) architecture. When they talk about SOA they are often asking for experience with an entire high-end vendor SOA foundation software package - i.e. they want experience with that package, not just whatever web services API it may happen to be using.

Very job postings mention if they require specific, Axis or Xfire.


From todays perspective those API's would be considered "legacy". The only thing that really transfers between the last generation and current generation SOAP Web services stacks (JAX-WS, Axis2, Apache CXF) are the open technology specifications that they are based on, i.e. XML, XML Namespaces, XML Schema, SOAP 1.1, WSDL 1.1. Also current SOAP Web services stacks support SOAP 1.2 (and to a lesser extent WSDL 2.0) and more up-to-date Attachment (MTOM) and some WS-* specifications (e.g. WS-Addressing).

But there really is no guarantee that existing SOAP installations will necessarily be upgraded to the following generation of technology†. Depending on the context they may move to a XML/HTTP binding, JSON/HTTP binding or RESTful web services technology.

Also if "web services" rather than "service-oriented" is mentioned, I would expect only very occasional "web service" related work and/or "web services" that are a nightmare to maintain because nobody bothered to heed the Service-Orientation Design Principles which still apply even in a non-SOA environment as they simply formulate design principles that apply to distributed computing in general.

† Precedence Google: The Google SOAP Search API was deprecated on December 5, 2006 and was replaced with the Google AJAX Search API (Using Google's AJAX Search API with Java (2008-Jun-10)) which is basically a "JSON/HTTP binding" web service.
Sagar Kale
Ranch Hand

Joined: May 02, 2008
Posts: 188
Thank you very much Peer for detail explanation !!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: learning web services