Editorial Reviews:
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
Java and XML, 3rd Edition, shows you how to cut through all the hype about XML and put it to work. It teaches you how to use the APIs, tools, and tricks of XML to build real-world applications. The result is a new approach to managing information that touches everything from configuration files to web sites. After two chapters on XML basics, including XPath, XSL, DTDs, and XML Schema, the rest of the book focuses on using XML from your Java applications. This third edition of Java and XML covers all major Java XML processing libraries, including full coverage of the SAX, DOM, StAX, JDOM, and dom4j APIs as well as the latest version of the Java API for XML Processing (JAXP) and Java Architecture for XML Binding (JAXB). The chapters on web technology have been entirely rewritten to focus on the today's most relevant topics: syndicating content with RSS and creating Web 2.0 applications. You'll learn how to create, read, and modify RSS feeds for syndicated content and use XML to power the next generation of websites with Ajax and Adobe Flash. Topics include: - The basics of XML, including DTDs, namespaces, XML Schema, XPath, and Transformations
- The SAX API, including all handlers, filters, and writers
- The DOM API, including DOM Level 2, Level 3, and the DOM HTML module
- The JDOM API, including the core and a look at XPath support
- The StAX API, including StAX factories, producing documents and XMLPull
- Data Binding with JAXB, using the new JAXB 2.0 annotations
- Web syndication and podcasting with RSS
- XML on the Presentation Layer, paying attention to Ajax and Flash applications
If you are developing with Java and need to use XML, or think that you will be in the future; if you're involved in the new peer-to-peer movement, messaging, or web services; or if you're developing software for electronic commerce, Java and XML will be an indispensable companion.
Customer Reviews:
Displaying 1 to 5 of 66 total reviews (Page 1 of 14):
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 More Customer Reviews: Next Page
|