Developing Java Web services including XML data binding is a new and exciting area. XML data binding is useful for XML request processing and for application configuration purposes. In both cases we need ewell-designed workable sample code to check each stage of system configuration, XML application development and deployment.
An excellent example of this approach can be found in "More servlets" by Marty Hall.
As for this book, I find it useful to grasp general concepts, but not as a detailed technical discussion it appears to be.
Sample code for chapter 3 is useful, but then we need a sample to actually compile and run some simple JAXB example. Unfortuantely, there is no way to accomplish this with the code that comes from the books's Web site.
Also, as early as in chapter 4, we have quite a big jump from basic discussion directly to using JAXB data binding in servlets - without any consideration of necessary intermediate steps: checking Tomcat configuration, running JAXB-free servlet examples, making servlet-free JAXB examples work, etc.
Needless to say, JAXB and other XML binding frameworks are useful for servlet development, but they are also useful
for JSP and other XML applications. From the other side, servlet parameters can be accessed using regular application server configuration features like it is done in Tomcat EXAMPLES app. All these considerations are completely missing from the book.
Besides poor sample code and appplication server discussion, another source of confusion is the absence of proper references to XSLT. In fact, the purpose of XML data binding is to enable Java program to work "like" an XSLT transformer, in principle, XML document processing can be done by XSLT. Again, reading the book there is no way to figure this out.
Excellent treatment of JAXB data binding is available online from IBM Web site, see Daniel Steinberg's tutorial. I'd also suggest Java Web Services Tutorial from Sun.