"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. It includes topics such as: 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; and, 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.
Les mer
Helps to use the APIs, tools, and tricks of XML to build real-world applications. This book focuses on using XML from your Java applications. It gives an approach to managing information that touches various things from configuration files to web sites.
Les mer
Preface 1. Introduction XML 1.0 XML 1.1 XML Transformations And More... 2. Constraints DTDs XML Schema RELAX NG 3. SAX Setting Up SAX Parsing with SAX Content Handlers Error Handlers 4. Advanced SAX Properties and Features Resolving Entities Notations and Unparsed Entities The DefaultHandler Class Extension Interfaces Filters and Writers 5. DOM The Document Object Model Serialization Modifying and Creating XML Namespaces 6. DOM Modules Checking for Module Support DOM Level 2 Modules DOM Level 3 Modules 7. JAXP More Than an API Parsing XML Processing XSL XPath XML Validation 8. Pull Parsing with StAX StAX Basics StAX Factories Parsing with StAX Document Output with StAX Factory Properties Common Issues with StAX XmlPull 9. JDOM The Basics PropsToXML XMLProperties More JDOM Classes JDOM and Factories Common Issues with JDOM 10. dom4j Overview Reading and Writing with dom4j Document Traversal Transformations Special-Purpose Factories 11. Data Binding with JAXB Data Binding Basics Introducing JAXB Using JAXB Other Binding Frameworks 12. Content Syndication with RSS What Is RSS? Creating an RSS Feed Reading an RSS Feed Modules with ROME 13. XML As Presentation XML and the Model-View-Controller Pattern Transforming to HTML with JSP Using XSLT Ajax Flash 14. Looking Forward Appendix:. SAX Features and Properties Index
Les mer

Produktdetaljer

ISBN
9780596101497
Publisert
2007-01-16
Utgave
3. utgave
Utgiver
Vendor
O'Reilly Media
Aldersnivå
P, 06
Språk
Product language
Engelsk
Format
Product format
Heftet
Antall sider
552

Forfatter
Contributions by

Biographical note

Brett McLaughlin has worked in computers since the Logo days (remember the little triangle?). In recent years, he's become one of the most well-known authors and programmers in the Java and XML communities. He's worked for Nextel Communications, implementing complex enterprise systems, at Lutris Technologies, actually writing application servers, and most recently at O'Reilly Media, Inc., where he continues to write and edit books that matter. His most recent book, Java 1.5 Tiger: A Developer's Notebook, is the first book available on the newest version of Java, and his classic Java and XML remains one of the definitive works on using XML technologies in Java.