Slashdot Mirror


Java Web Services in a Nutshell

milaf writes "Surprisingly many people have absolutely wrong ideas about Web Services. I think that the hype and perceived simplicity of everything having to do with the Web are to blame. Well, that, and the wide-spread 'confidence through ignorance' among us." Read on for milaf's review of the O'Reilly-published Java Web Services in a Nutshell, which he says displaces hype with good information. 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.

9 of 91 comments (clear)

  1. A page-widening review on Slashdot. by Anonymous Coward · · Score: 4, Funny

    What next? A duplicate article posting?

    1. Re:A page-widening review on Slashdot. by pope1 · · Score: 4, Funny

      slashdot dosen't post duplicate articles,
      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.

      --
      /* * pope1 */
  2. Re:Just gimme the gist of it.. by stratjakt · · Score: 4, Funny

    Mebbe I'll review "HTML formatting in a Nutshell" for them.

    --
    I don't need no instructions to know how to rock!!!!
  3. JAXM: Dead or Alive? by livinglegend5000 · · Score: 5, Interesting
    When I attended the JavaOne conference in June I asked one of the speakers/JAX-RPC developers from Sun why the JAXM (Java API for XML Messaging) was not included in the latest release of the Java Web Services Developers Pack (1.2). She said that it was because the JAXM library was not developmentally mature, which really concerns me since I have 5 production application using JAXM. She recommended using JAX-RPC (Remote Procedure Calls) instead, which I've been researching.

    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?

  4. New projects i am working on with O'Reilly: by pope1 · · Score: 4, Funny

    libTurtle SDK on the Half Shell.
    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.

    --
    /* * pope1 */
  5. What books for NON-JAVA web services? by crankyspice · · Score: 4, Insightful

    I have to implement a set of web services here on (I know, I know, not my choice) MS SQL 2000 Server. I have the option of using ASP (gack), Perl, or PHP, or any combination thereof. At first, probably mostly HTTP GET and POSTs, but eventually we'll implement SOAP.

    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!!!

    --
    geek. lawyer.
  6. Ahem. by American+AC+in+Paris · · Score: 4, Insightful
    Surprisingly many people have absolutely wrong ideas about Web Services. I think that the hype and perceived simplicity of everything having to do with the Web are to blame. Well, that, and the wide-spread 'confidence through ignorance' among us.

    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!

    --

    Obliteracy: Words with explosions

  7. Re:Question by pmz · · Score: 4, Funny

    Does anyone know if they cover JAX-OFF?

    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.

  8. Review template by ENOENT · · Score: 4, Funny

    O'Reilly's latest offering, FOO in a Nutshell, dispells many of the myths surrounding FOO and shows it to be a worthy contender in the BAR arena. Even though BAZ, QUX, and QUUX have been proposed as alternatives to FOO, only FOO provides the full power of SNERGLE to MUMBLE programmers.

    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

    --
    That's "Mr. Soulless Automaton" to you, Bub.