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 Recommend WS Books? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Recommend WS Books?" Watch "Recommend WS Books?" New topic

Recommend WS Books?

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1130
I've noticed that most of the Java Web Services books seem to take a lot of negative hits from the people who've posted reviews on Amazon.

Plus, there don't seem to be any really new ones. Most of the reviews, for example, say the existing books are "obsolete".

Based on what I've read here today, I'm going to install Axis on top of Tomcat and play with that, but are there any good recommended books out there? Perhaps the reviews on Amazon don't reflect the Java Ranch members' views?

I really learn best when I have a good book, some straightforward examples, you know, get a "Hello World" Web Service working first, then add more.

Thanks in advance!!!

-- Mike
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2068
web services specifications and protocols are still fast growing past few years.

monson-haefel said in his book that, now is a good time to learn, as the technologies start to settle down.

when i searched for books, monson-haefel's is the latest book(published 2003 or 2004 i think).

i however started with Beginning JWS(published 2001 i think). I think it is the best intro. The whole book is peppered with codes and instructions on how to run them. They all ran, when I tried. Yes, axis is used in this book. This book is designed for beginners, so you cannot go wrong. ( For xml, i didnt read it's chapter, but i did the handson. For xml, i used Building JWS' chapter on xml.)

but monson-haefel is probably the best for jws, so once you are comfortable, you can jump in to this book and master jws.
Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1130
Thanks for your recommendataions.

I'll check these books out now.

-- M
Sunny Kumar
Ranch Hand

Joined: Oct 27, 2005
Posts: 57
I found Richard Monson-Haefel book "J2EE Web Services" the best from what I have read till now.He is very clear in his explanation,answers concisely wherever doubts arise. I recommend you give this book a look too
Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1130
Can anybody get the first example working from "Beginning Java Web Services"?

I cut and pasted it, imported the libraries from Xerces 2_7_1 and tried to just run the code and got this:

Exception in thread "main" org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it.
at org.apache.xerces.dom.CoreDocumentImpl.saveXML(Unknown Source)
at com.wrox.jws.stockstore.StockCoreDOMGenerator.saveDocument(
at com.wrox.jws.stockstore.StockCoreDOMGenerator.main(

This is quite discoraging since it's the first example!

I tried the other version of xerces I had, but got a different error.


Is this the way Web Services are? (Lots of NOT fun...)

Is this book (2002) really too old for serious consideration?

I may need to try another book, but the Wrox books are generally excellent.

I tried to write one of the authors, post a message on the Apress site, and do everything else I could think of but nobody seems to have an answer.

Look forward to any ideas.


-- M
I agree. Here's the link:
subject: Recommend WS Books?
It's not a secret anymore!