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..
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.
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="http://www.epfwiki.net/wikis/openup/" target="_blank" rel="nofollow">Agile OpenUP</a> in the Eclipse community