Java Web Services in a Nutshell 91
Java web services in a nutshell | |
author | Kim Topley |
pages | 642 |
publisher | O'Reilly |
rating | 9/10 |
reviewer | Alex |
ISBN | 0596003994 |
summary | Excellent book on Web Services for Java developers, related standards and technologies |
I expected this book to be similar to other "Nutshell" books that I like and am familiar with: a very accurate and concise description of the domain, followed by a huge API reference. Well, I was pleasantly surprised: this book reads more like a tutorial, yet it is a reference in the sense that you can easily read its parts independently, and its index is quite useful and complete.
The book covers all technologies necessary for defining, implementing, and deploying Web Services for both client and server sides:
- WSDL (Web Services Definition Language), the XML-based interface definition language (and more); CORBA folks: this is your IDL for the Web Services platform, only not as easily read or understood. Not to worry: there are GUI-based editors for this thing, many of them are free. Plus the book explains WSDL format and structure in a great detail.
- JAXR, a client-side interface for extraction of business and service information from the compliant Web Service registries.
- JAX-RPC (two chapters: basic and advanced); at the application level this technology is similar to CORBA using Java.
- JAXM, a high level standard-based generic interface to messaging that is implemented by a messaging provider. It offers the benefits of asynchronous messaging, robust message delivery, and message profiles (use of SOAP message headers).
- SAAJ is a low-level Java interface to SOAP; under the hood some of the mentioned technologies use it.
For each of these technologies the author dedicates enormous effort to showing intricate but very relevant technical details without obscuring the big picture. There is a necessary but not overwhelming amount of Java code and XML. You will be able to reuse the examples since they are very clear.
The book has a chapter on Web Services tools and configuration files. This is a very helpful chapter: the business of defining deployment descriptors by hand is a messy job; presence of this chapter makes the job a bit easier. A small but helpful API reference may be found at the end of the volume.
If you need to understand the details of how to build, implement, and deploy Web Services, you will not be disappointed. There is absolutely no hype in this book! Considering the topic, nowadays this alone is an achievement.
Web Services technology is not the "Web Stuff," it is not related to browsing the WWW, and it does not pertain to the services offered by the WWW vendors (unless Web Services is what they sell). It is a fast-growing technology for programming in the distributed computing environment. Judging by the hype and money being spent on it by the leading powerhouses, it is going to be very prolific and important technology in the near future. Want to know more? -- Read the book!
You can purchase Java Web Services in a Nutshell from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
Re:I was gonna buy this book online... (Score:1)
Re:Just gimme the gist of it.. (Score:1)
Someone want to fix that?
Re:Just gimme the gist of it.. (Score:4, Funny)
Re:Just gimme the gist of it.. (Score:2, Funny)
Where's your damned 'Preview' Button now?
Ahh, found it. (Score:4, Insightful)
Want to know more? -- Read the book!<nobr>
That is causing the following horizintal rule and "buy it here" line to expand the page. How rude.
A page-widening review on Slashdot. (Score:4, Funny)
Re:A page-widening review on Slashdot. (Score:4, Funny)
they are just experimenting with RAID:
Redundant Articles Interleaving Daily
That way, just in case you miss something important
because a lot of stories are being posted, you can catch it later w/o having to back track.
Be very afraid if they try and test thier RAID5 setup, where theres a SCO article at the top of the site that just never goes away, for parity.
Web Services? (Score:4, Informative)
The services part hasn't been much better than the Web part, but at least it's mostly fitting.
The book reviewed is a pretty good overview. I just wish they had spent more time on typical internal corporate uses and tools to convert/interact with existing legacy software products.
You can find some similar related books at BUR - Web Services/Soap [booksunderreview.com]. I am looking forward to the days when standards like this combined with older stuff like XML and CSS make combining and processing data from disparete sources becomes a lot easier than it typically is now!
Re:Web Services? (Score:3, Interesting)
Re:Web Services? (Score:2)
1. import xmlrpclib
2. myserver = xmlrpclib.Server('http://rarara.com:8000')
3. myresult = myserver.profit()
Yup. Xmlrpc invocation in 3 lines.
Re:Web Services? (Score:2)
factory.setHostContext(new SocketCustomStreamHostContext("somehost", 1235));
TestInterface ti = (TestInterface) af.lookup("Hello");
AltRMI in 3 lines!!!
Re:Web Services? (Score:3, Funny)
Network Services
Remote Services
Shared Services
Pluggable Services
Grid Services
We need a new name, something that's kinda "Net" but not used yet. How about "Scattered" or "Decentralized", or are those taken too? I think a good acronym would have been less confusing and more importantly would result in fewer questions.
Anyhow, a lot of words just to say "I agree", the "Web"
Re:Web Services? (Score:1)
Someone sat in a room one day and thought, "Hey, why not do that again, but on port 80/443 and with XML messages! And let's call it something new!".
The interesting part is
Re:Web Services? (Score:2)
Probably because the folks in marketing think new names sell more software and services. Wasn't there a Dilbert on this a while back?
JAXM: Dead or Alive? (Score:5, Interesting)
So, I found it interesting that the author has chosen to include JAXM in his book. I have no beef against JAXM, it works as stated. But the threat of abandoned developments concerns me... Does JAXM have some life left in it yet? Does the author know something we don't?
Re:JAXM: Dead or Alive? (Score:2)
Now that's scary. We wrote a db to db interface around JAXM, but higher-ups got nervous about using SOAP, so it was shelved for the time being.
I hope Sun's decision is a temporary one, because JAXM sure takes all the work out of SOAP, and like you said, it appears to work as stated.
Re:JAXM: Dead or Alive? (Score:1)
New projects i am working on with O'Reilly: (Score:4, Funny)
WINE in a Cask.
The freshmeat.net Handbook from the Butcher.
I love all the silly food/drink references we deal with every day in the IT field.
Wouldn't it be easier ... (Score:2, Funny)
Nice review...not (Score:2, Insightful)
Can anyone explain the differences between "Java Web Services in a Nutshell" and "Java Web Services" both published by O'Reilly? Look very similar with the latter probably a bit outdated seeing as it was published March 2002. Is this Nutshell book just a rehash of the other book but with updated API's?
Re:Nice review...not (Score:1, Informative)
Re:Question (Score:4, Funny)
No. This API has not been shown to scale well into a team environment making it unsuitable for "enterprise" deployments. It also has problems where projects that use it tend to be exhausted before fully satisfying the requirements. Even further diminishing this API's future is its tendancy to get very little real work done in spite of its network bandwidth consumption.
JAX-OFF is slated to be replaced, soon, by a better ground-up implementation of the Java API for Occidental Rectilinear Groupware Interfacing. This new API promises much better scaling potential, where any number of people and businesses can join into the web services phenomenon. It also has a very low learning curve, where practically anyone is capable of making money with it.
Re:Question (Score:1)
That must be why Slashdot goes off-line every so often. Someone passes the token and, then, realizes they don't want it back, so the token gets taken away, cleaned, and the circle is rebooted.
Original review without the page-widening (Score:3, Informative)
The book covers all technologies necessary for defining, implementing, and deploying Web Services for both client and server sides:
* WSDL (Web Services Definition Language), the XML-based interface definition language (and more); CORBA folks: this is your IDL for the Web Services platform, only not as easily read or understood. Not to worry: there are GUI-based editors for this thing, many of them are free. Plus the book explains WSDL format and structure in a great detail.
* JAXR, a client-side interface for extraction of business and service information from the compliant Web Service registries.
* JAX-RPC (two chapters: basic and advanced); at the application level this technology is similar to CORBA using Java.
* JAXM, a high level standard-based generic interface to messaging that is implemented by a messaging provider. It offers the benefits of asynchronous messaging, robust message delivery, and message profiles (use of SOAP message headers).
* SAAJ is a low-level Java interface to SOAP; under the hood some of the mentioned technologies use it.
For each of these technologies the author dedicates enormous effort to showing intricate but very relevant technical details without obscuring the big picture. There is a necessary but not overwhelming amount of Java code and XML. You will be able to reuse the examples since they are very clear.
The book has a chapter on Web Services tools and configuration files. This is a very helpful chapter: the business of defining deployment descriptors by hand is a messy job; presence of this chapter makes the job a bit easier. A small but helpful API reference may be found at the end of the volume.
If you need to understand the details of how to build, implement, and deploy Web Services, you will not be disappointed. There is absolutely no hype in this book! Considering the topic, nowadays this alone is an achievement.
Web Services technology is not the "Web Stuff," it is not related to browsing the WWW, and it does not pertain to the services offered by the WWW vendors (unless Web Services is what they sell). It is a fast-growing technology for programming in the distributed computing environment. Judging by the hype and money being spent on it by the leading powerhouses, it is going to be very prolific and important technology in the near future. Want to know more? -- Read the book!
Re:Original review without the page-widening (Score:1, Insightful)
Java and web services security (Score:1, Informative)
http://www.cgisecurity.net/ws/ [cgisecurity.net]
http://www.cgisecurity.net/development/java.shtml [cgisecurity.net]
Heh (Score:4, Funny)
What books for NON-JAVA web services? (Score:4, Insightful)
What books (O'Reilly?), if any, are a 'must have' for this type of work, and these tools? I know my way around PHP reasonably well, Perl at a not-quite-amateur-not-quite-pro level, and ASP / Java not at all. I've got two months, give or take, so I don't want to take the time to get up to speed on a whole new language.
Any first-hand recommendations would be much appreciated; I've got to order books today (found out yesterday)...
Argh.
THANKS!!!
Re:What books for NON-JAVA web services? (Score:2, Informative)
Re:What books for NON-JAVA web services? (Score:2, Informative)
I know in some eyes XML-RPC is looked at the idiot cousin of SOAP but it works and in my opinion is a lot easier. (I believe Redhat uses it as part of their "up2date" software updating facility). Particularly nice is being able to write the XML-RPC server in Python (or any of the other supported languages) while accessing it via a php client (though you can do the XML-RPC server
Re:What books for NON-JAVA web services? (Score:2)
The python/XML-RPC combo is particularly tasty.
Using the simplexmlrpcserver object its pretty much a case of point the server object at the served object and your away. Accessing the object is as simple as
Xml-Rpc may have a less-advanced reputation, but truth be told is that theres precious little soap can do that it cant , and what else soap CAN do (variants) it probably shouldnt.
The big advantage for the Xml-Rpc specification is that its STABLE. It fits on a couple pages o
The problem with web services... (Score:1)
Well, I now know what not to buy (Score:3, Insightful)
a very accurate and concise description of the domain, followed by a huge API reference."
Which is exactly what I'm looking for when buying a Nutshell book and expect to get.
"this book reads more like a tutorial"
Which is precisely what I don't want when buying a Nutshell book.
Thanks for the review, you may have saved me grave diappointment.
KFG
Another book: Web Services Essentials (Score:2)
At any rate, the Essentials book is a good overview of all the relevant technologies and can help you start to see the "forest". I would actually recommend it for PHBs who have 1/2 a technical clue.
Re:the real name of this book. (Score:3, Informative)
I have two words for you: compress and encrypt. :-)
Business-critical XML should be sent over SSL or something similar...
Re:the real name of this book. (Score:2)
We don't want to serve our public product catalog from a SSL server, now would we...
I was using "business critical" to mean concealing important company information such as credit card numbers.
You might as well complain about the bandwidth wasted by all that nasty HTML flying around out there.
The backbone-level carriers should be losslessly compressing everything at that level if compression is actually cheaper than adding more band
Re:the real name of this book. (Score:1)
Ahem. (Score:5, Insightful)
Y'know, Web Services may--may--be an absolutely wonderful thing, but this review has done slightly less than nothing to convince me otherwise. I'll readily admit that I look askance at Web Services because all I read or hear about them comes from four-color glossies loaded with as many new acronyms as hyperbolic business-speak. I will admit that I know next to nothing about these services from the technical standpoint, and I will further acknowledge that if I were to read these books, I could very well be won over by them.
That said, this review did absolutely nothing to make me want to pick these books up. The main body of your review consists of bulleted list of acronyms that does little more than define them by using other, more commonly recognized acronyms. You then go on to tell us that it's a good book without giving us any reasons beyond a nebulous "the author dedicates enormous effort to showing intricate but very relevant technical details without obscuring the big picture". Well, gosh, that sums up just about any technical manual worth it's salt, man! What makes this one special? What about this book is going to fix the "wrong ideas" I have about Web Services?
You talk about how the book contains no hype (I do hope you appreciate the irony of ending that sentence with an exclamation point, by the way.) You then close the review with "Judging by the hype and money being spent on it by the leading powerhouses, it is going to be very prolific and important technology in the near future." If you're trying to correct misconceptions about Web Services, I can only assume that you want more and more technical people to view Web Services as the Fad-Of-The-Week for PHB's worldwide and not a useful, powerful technology.
This isn't a review, it's an outline of the book, and a rambling one, at that. Tell us what makes it a good book, dammit! Tell us why we're wrong about Web Services being little more than marketing fluff and flashy buzzwords!
Re:Ahem. (Score:1)
Well, as Timothy already mentioned, the name of the book that I
read is "Java Web Services In A Nutshell". It's about these... [describing the book jacket]
services... with acronyms like . JAX-RPC
and Web Services tools and configuration files... [pause]
Did I mention this book was written by a guy named Kim Topley?
And published by the good people at O'Reilly. So, in conclusion,
on the Slashdot scale of one to te
Re:Ahem. (Score:2, Funny)
Bring back the kid with the toad in a jar, I liked his show and tell better.
You are so right, though, this review reminds me so much of kids in 5th grade copying the back cover text of a book they read, then submitting it as a book report.
!!! Read This Reply !!!! (Score:1)
/. review rating system: (Score:1, Informative)
8 - average
7 - poor
The last ten book reviews on slashdot have ratings that all fall within this range. The lowest had a rating of 7, the highest, 9.
one of the best references ever (Score:1)
Ah....web services (Score:1, Funny)
Review template (Score:5, Funny)
Chapter 1 is the introduction, chapters 2-73 are the stuff that comes after the introduction, and then comes the index, which has some really good stuff in it.
So, in short, FOO in a Nutshell is better than anything else at explaining why you should incorporate DWEEZIL into your FLARK.
Rating: 9.5/10
Re:Review template (Score:2)
Clueless reviewer and clueless editor (Score:3, Informative)
Don't the editors have a preview button (or common sense for fsck's sake)?
oddly enough (Score:1)
Re:Clueless reviewer and clueless editor (Score:2)
This worked before on most browsers, most wide articles. YMMV.
So what gives? HTML or something wierd with slashcode?
Un mentioned Technologies. (Score:3, Informative)
Re:Un mentioned Technologies. (Score:1)
Good book, but slanted toward JWSDP use (Score:2, Insightful)
Web Services are dead, long live web services! (Score:1)
RESTful web services are the services primarily in place today: they utilize existing WWW security standards, are easy to implement and debug, and are available today.