Un approccio pratico a JAVA+XML
Ho trovato questo libro molto interessante.
Copre le varie API disponibili per JAVA per gestire file XML: SAX, DOM, JAXP, StAX, JDOM, dom4j. Inoltre vengono trattati anche alcuni argomenti avanzati, utili per apprendere al meglio l'uso di queste API.
Il libro e' colmo di codice ed e' proprio il codice ad essere utilizzato come strumento didattico. Codice e diagrammi UML riempiono tutte le pagine.
E' un libro molto pratico, rivolto ai programmatori. E' necessario avere una piccola infarinatura riguardo l'XML: viene trattato brevemente nei primi capitoli.
E' consigliato a chi ama libri con un approccio pragmatico.
mircha
Reads like a Dictionary
I'm almost finished with this book, but have yet to determine what its purpose is. There is a lot of code about a lot of APIs, but it is not clear how one should approach Java & XML using this book. I think this book was a product of O'Reilly's "Rough Cuts" program, and it is true the book is very roughly written and all the good stuff got cut. Maybe all the material which would make this a good book is on the website.
I must admit I'm very disappointed with O'Reilly as of late. Their books are going down hill rapidly, and I find I'm looking at other publishers (APress) much more often. I used to go to O'Reilly's website almost daily to see what is coming out next, but now I'm considering removing the Ora bookmark from my browser because of lack of use and to create space for other URLs.
I really wish O'Reilly would get their act together and start publishing some well written and well edited books again.
Good, Informative, current
This edition was published in Dec. 2006, so when I bought it Jul. 2007 it was the freshest book on the topic that I found. There are a lot of different Java XML tools with overlapping funtions SAX, DOM, JAXP, JAXB, Castor, JDOM, dom4j . . . This really help sort them out.
VERY VERY HIGHLY RECOMMENDED!!
Are you developing with Java and need to use XML? If you are, then this book is for you. Authors Brett McLaughlin and Justin Edelson, have done an outstanding job of writing a book that that cuts through all of the hype about XML and put it to work.
McLaughlin and Justin Edelson, begin with the basics of XML. Then, the authors cover three ways of defining the structure of XML documents. Next, they introduce the Simple API for XML (SAX). They also cover less-used, but still powerful items in the API. The authors continue by covering DOM basics. Then, they discuss the various Level 2 and Level 3 DOM modules like Traversal, Range, Events, Style, HTML, Load and Save, and Validation. Next, the authors examine the Java API for XML Processing. In addition, they also show you how to SAX and how it compares to both SAX and DOM. They continue by examining JDOM, a Java-specific object model API. Then, the authors examine another Java-specific object model API, dom4j. Next, they cover JAXB 1.0 and 2.0, as well as the general basics of data binding. Furthermore, the authors show you how to syndicate content. They continue by looking at a variety of techniques for using XML in the presentation, or visual portion of web applications. Finally, the authors provide some brief overview of technologies not covered in depth in this book.
This most excellent book shows you how to use the APIs, tools, and tricks of XML to build real world applications. Perhaps more importantly, this book offers a new approach to managing information that touches everything from configuration files to web sites.
No longer useful
This book was probably useful back in 2000. Unfortunately, a lot has changed since then, and some of the information in this book is now flat our wrong.
For example the chapter about DOM objects was not updated to include information about recent api releases. So when the book says there is no simple way to serialize a DOM object, that simply is no longer true. You can now do it with the JAXP api.
The book has other problems as well. For example, the section that describes the difference between XSL and XSLT is extremely misleading and not helpful at all.
This is one of the few books that I intend to return