File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Books Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Books" Watch "Books" New topic


riya s
Ranch Hand

Joined: Feb 28, 2003
Posts: 110
Can someone suggest some good book to start learning webservices and java.
Sun has some Java and XML API .. Are they webservices? Is JDOM called webservice? or just SOAP and transferring message is webservice?
sorry for the very basic question..
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Sun has some Java and XML API .. Are they webservices? Is JDOM called webservice? or just SOAP and transferring message is webservice?

It's not a web service unless it deals with SOAP envelopes. Someone said that (or something like that) to me once and I think that pretty much explains the criteria for something being called a web service.
Out of all Sun's XML related APIs, only JAXR, JAX-RPC and JAXM are related to web services. The rest (such as JAXP for generic XML parsing tasks) are only supporting technologies. JDOM is a parsing API that has nothing more to do with web services than DOM or SAX have.
A couple of web services books were mentioned in this thread. In addition, I can recommend Developing Java Web Services and Building Web Services with Java. I didn't like Java Web Services but that doesn't mean you wouldn't like it.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
JeanLouis Marechaux
Ranch Hand

Joined: Nov 12, 2001
Posts: 906
W3C definition :
�A Web service is a software application identified by a URI, whose interfaces and bindings are capable of being defined, described, and discovered as XML artifacts. A Web service supports direct interactions with other software agents using XML based messages exchanged via internet-based protocols.�
About books, I personally think "Developing Java Web Services"(Wiley) is a good book to start with, and just like Lasse, "Java Web Services"(OReilly) was not the one I prefered.
And if you are nterested in how web services works behind the scene, you can read Web Services Patterns : Java Edition
It explains each concept web servics are based on. According to me, it will not help you to develop webservices, but it is an interesting point of view.

/ JeanLouis<br /><i>"software development has been, is, and will remain fundamentally hard" (Grady Booch)</i><br /> <br />Take a look at <a href="" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community
I agree. Here's the link:
subject: Books
It's not a secret anymore!