Amazon.co.uk Review
Two hot topics come together in this developer's guide. Both Java and XML are cross-platform technologies, so 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, and 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 using SAX 2 (the Simple API for XML). Next there is coverage of how XML is validated using DTDs (Document Type Definitions) and XML Schema, and transformed using XSL (Extensible Stylesheet Language). Brief coverage of Sun's Java API for XML is followed by a detailed look at JDOM (Java Document Object Model), 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 RPC (Remote Procedure Calls), 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. Those who already have a good grasp of XML basics may be frustrated by the amount of introductory material. --Tim Anderson
Product Description
XML has been the biggest buzzword on the Internet community for the past year. But how do you cut through all the hype and actually put it to work? Java revolutionized the programming world by providing a platform-independent programming language. XML takes the revolution a step further by providing a platform-independent language for interchanging data. Java and XML share many features that are ideal for building Web-based enterprise applications, such as platform-independence, extensibility, reusability, global language (Unicode) support, and both are based on industry standards. Together Java and XML allow enterprises to simplify and lower cost of information sharing and data exchange. Java and XML shows you how to put the two together, building real-world applications in which both the code and the data are truly portable. This book covers: The basics of XML Using standard Java APIs to parse XML Designing new document types using DTDs and Schemas Writing programs that generate XML data Transforming XML into different forms using XSL transformations (XSL/T) XML-RPC Using a web publishing framework like Apache-Cocoon XML as a configuration language This is the first book to cover the most recent versions of the DOM specification (DOM 2), the SAX API (SAX 2) and Sun's Java API for XML.
See all Product Description