aspose file tools*
The moose likes Web Services and the fly likes Which web service is good to learn Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Which web service is good to learn" Watch "Which web service is good to learn" New topic
Author

Which web service is good to learn

Jordan Josh
Ranch Hand

Joined: Aug 23, 2008
Posts: 36
hi to all ranchers.I wann to start learning web services but really confused about what to learn.Cant get any ideas.
i went through different topics which were sent earlier.
but cant figure out where to start.
I am working on jsp,servlets and struts2.0,now wann to learn web services.

please let me know which technology should i learn fgrom this AXIS,XFire,JAX-WS or SOAP. i heard much about soap.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42950
    
  71
Both JAX-WS/SOAP and JAX-RS/REST are worth knowing. For both, you can install the reference implementations as web apps in a servlet container. If you search through these forums you'll find instructions on how to do that for both.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12836
    
    5
After an initial rush of enthusiasm for SOAP, the major services such as Yahoo, Google and Amazon have settled on REST style web service interfaces. SOAP gets used where security/authentication/encryption are serious concerns.

Excellent toolkits for both SOAP and REST are available, I suggest you pick one and not try to study both at one time - confusing enough one at a time.

Bill
John Kimball
Ranch Hand

Joined: Apr 13, 2009
Posts: 96
Get an idea of where SOAP and REST are appropriate (even though you may not understand why) and then dig into REST first, imho.

REST is lightweight and as their supporters like to say, it's not a protocol but an "architecture". SOAP, on the otherhand, is definitely a hefty & complicated protocol, so there's a steep learning curve in getting things to actually work.
Karl Beowulph
Ranch Hand

Joined: May 31, 2004
Posts: 130
I'd start out by determining your environment. If you're in an industry (utilities, finance etc.) where security and formalized standards are major concerns, you're generally better off with SOAP. If you're customer facing and/or need to be able to get applications up/modified quickly, then go with REST.

I suppose my advice would be use REST if you can, SOAP if you must.
Jordan Josh
Ranch Hand

Joined: Aug 23, 2008
Posts: 36
Thank you for helping me.I need to start from scratch.Could you please tell good book to start JAX-WS/SOAP .

I went through faq and older posts but cant figure out which book should i refer.

William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12836
    
    5
Books get outdated very quickly as the major frameworks co-evolve with the standards creating organizations. (I ought to know, my book on SOAP got outdated within a year.)

Your best bet is to pick one framework, download the distribution and work through the included sample applications. Learn where to find the standards documents that apply to your framework. Subscribing to the user mailing list for your chosen framework will probably help also.

Search engines such as Google are your friend, you would be surprised how often the turn up important current information.

Bill
Eric Mission
Greenhorn

Joined: Apr 22, 2009
Posts: 22
Here is a link to a good REST walkthrough-

Rest Explained


to infinity and beyond
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which web service is good to learn