While the XML "buzz" still dominates talk among Internet developers, the critical need is for information that cuts through the hype and lets Java programmers put XML to work. Java & XML shows how to use the APIs, tools, and tricks of XML to build real-world applications, with the end result that both the data and the code are portable.
This second edition of Java & XML adds chapters on Advanced SAX and Advanced DOM, new chapters on SOAP and data binding, and new examples throughout. A concise chapter on XML basics introduces concepts, and the rest of the book focuses on using XML from your Java applications. Java developers who need to work with XML, or think that they will in the future--as well as developers involved in the new peer-to-peer movement, messaging, or web services--will find the new Java & XML a constant companion.
This book covers:
- The basics of XML, including DTDs, namespaces, XML Schema, XPath, and XSL
- The SAX API, including all handlers, the SAX 2 extensions, filters, and writers
- The DOM API, including DOM Level 2, Level 3, and the Traversal, Range, CSS, Events, and HTML modules.
- The JDOM API, including the core, a look at XPath support, and JDOM as a JSR
- Using web publishing frameworks like Apache Cocoon
- Developing applications with XML-RPC
- Using SOAP and UDDI for web services
- Data Binding, using both DTDs and XML Schema for constraints
- Building business-to-business applications with XML
- Building information channels with RSS and dynamic content with XSP
Includes a quick reference on SAX 2.0, DOM Level 2, and JDOM.