Two hot topics come together in this developer's guide from Brett McLaughlin, Java and XML . Both Java and XML are cross-platform technologies; by using Java for code and XML for transporting data, you can build truly portable applications. This title is aimed at intermediate to advanced programmers; while XML topics are explained more or less from scratch, readers will need prior knowledge of Java. The book begins with an overview of XML and its uses, and goes on to explain how to parse XML by using the Simple API for XML (SAX 2). Next, there is coverage of how XML is validated by using Document Type Definitions (DTDs) and XML Schema, and transformed by using eXtensible Stylesheet Language (XSL). Brief coverage of Sun's Java API for XML is followed by a detailed look at the Java Document Object Model (JDOM), a new API devised by the author in association with O'Reilly, the publisher. The last part of the book is more advanced, and covers applications of XML and Java. There are chapters on Web-publishing frameworks, XML Remote Procedure Calls (RPCs), using XML to read and write configuration data, and generating XML with Java. There is also a short business-to-business example. Appendices provide an API reference to the various specifications discussed in the book. The strengths of Java and XML include the author's deep knowledge of his subject, and a writing style that is both clear and enthusiastic. If you happen to know a lot about Java and not much about XML, this is the ideal title. Readers who already have a good grasp of XML basics might be frustrated by the amount of introductory material. --Tim Anderson
As a temporary developer for Stanford I am finding about the joys and perils on online research. Though most of my time is spent at a computer researching solutions for problems as I find them, I have (against the advice of the 2 programmers I spent most of my time with) started to read through this book. It is weighty, but the mere act reading a book fills me with a more solid surety in my ability than information gleaned from anonymous forums and user sites. It also works as a nice anti-RSI laptop-stand. :-D. -- To err is human--and to blame it on a computer is even more so. - Robert Orben
This book is aimed at an intermediate/advanced level programmer who wants to get into java XML libraries. It's a practical guide by example. I found it useful, especially the chapter on JDOM, and the quick introduction chapter to web applications using XML--I would have liked that chapter to be expanded a bit more. The tools they mention throughout the book to help deal with XML were also extremely useful.
Avevo preso questo libro perché speravo mi desse qualche dritta in più su come usare XML in pratica, ma all'atto pratico mi sono accorto che si limitava a fare vedere come usare le API dei vari sistemi come SAX, DOM o JDOM. Tanto valeva prendersi i manuali online, allora :-(
I was the editor for this book, not the author. But Brett did an excellent job. This edition is out of date; if you're interested in XML and Java, get the third edition.
Este libro lo usé hace ya bastante tiempo. Explica los conceptos básicos de XML y el procesamiento de dicho formato con el lenguaje de Programación Java. Recomendado para programadores novatos.