wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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

jaan bhavsar
Ranch Hand

Joined: Aug 23, 2008
Posts: 32
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: 41083
    
  43
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.


Ping & DNS - my free Android networking tools app
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12760
    
    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.
jaan bhavsar
Ranch Hand

Joined: Aug 23, 2008
Posts: 32
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: 12760
    
    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
 
 
subject: Which web service is good to learn
 
Similar Threads
can I create a web service that generates a .csv or .txt file ?
how to proceed
Web Services newbie
Order to Prepare For WebServices Exam
Learning web services