Java & XML Data Binding Paperback – 7 Jun 2002
- Choose from over 13,000 locations across the UK
- Prime members get unlimited deliveries at no additional cost
- Find your preferred location and add it to your address book
- Dispatch to this address when you check out
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
"...I highly recommend you buy this book." -- Mark Spritzler, JavaRanch June 2002
Good for those in need of a quick implementation guide with some solid reviews of existing frameworks. -- GameJug, Feb 2003
From the Publisher
This new title provides an in-depth technical look at XML Data Binding. The book offers complete documentation of all features in both the Sun Microsystems JAXB API and popular open source alternative implementations (Enhydra Zeus, Exolabs Castor and Quick). It also gets into significant detail about when data binding is appropriate to use, and provides numerous practical examples of using data binding in applications.See all Product Description
Top Customer Reviews
Overall it is a good book but because XML-related technologies move so fast it has quickly become out-of-date. Most of the examples do not compile with the current version of JAXB and it is my opinion that anyone can learn much more from reading the "JAXB user guide" that comes with JAXB rather than buying and reading this book.
Most Helpful Customer Reviews on Amazon.com (beta)
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.
The brief mention of JAXB ( 4 pages ) is only philosphical. Even that is w.r.t. an obselete version with DTD support.
( Current JAXB only supports XML schema )
However I am a little disappointed because the author has taken a biased look at data-binding. He has not mentioned the drawbacks of data-binding in a single place. Obviously there are many drawbacks of such a approach. One of them is that your once independent data-containers are now tied to a framework. Secondly if there is a small modification made to the xml, the classes have to be re-generated and you end up with two code bases. Such issues are not mentioned in the book.
The least I would expect in such a detailed book when different frameworks are compared side by side is a comparison chart that I can refer quickly.
I give a four star rating because it contains a lot of detailed information about the data-binding framework but failed to tell why data-binding might not be the right solution.
Look for similar items by category
- Books > Computing & Internet > Computer Science > Information Systems
- Books > Computing & Internet > Digital Lifestyle > Online Shopping > Amazon
- Books > Computing & Internet > Programming > Languages
- Books > Computing & Internet > Programming > Languages & Tools
- Books > Computing & Internet > Programming > Software Design, Testing & Engineering > Design Patterns
- Books > Computing & Internet > Programming > Software Design, Testing & Engineering > Functional Programming
- Books > Computing & Internet > Programming > Software Design, Testing & Engineering > Software Architecture