1. Java and XML by Brett McLaughlin Good For Early Xml W/ Java InfoJava and XML, 3rd Edition, shows you how to cut through all the hypeabout 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 newapproach to managing information that touches everything fromconfiguration files to web sites.After two chapters on XML basics, including XPath, XSL, DTDs, and XMLSchema, the rest of the book focuses on using XML from your Javaapplications. This third edition of Java and XML covers all major Java XMLprocessing libraries, including full coverage of the SAX, DOM, StAX,JDOM, and dom4j APIs as well as the latest version of the Java API forXML Processing (JAXP) and Java Architecture for XML Binding (JAXB).The chapters on web technology have been entirely rewritten to focus onthe todays most relevant topics: syndicating content with RSS and creatingWeb 2.0 applications. Youll learn how to create, read, and modify RSSfeeds for syndicated content and use XML to power the next generation ofwebsites with Ajax and Adobe Flash.Topics include:The basics of XML, including DTDs, namespaces, XML Schema, XPath,and TransformationsThe SAX API, including all handlers, filters, andwritersThe DOM API, including DOM Level 2, Level 3, and the DOM HTMLmoduleThe JDOM API, including the core and a look at XPath supportTheStAX API, including StAX factories, producing documents andXMLPullData Binding with JAXB, using the new JAXB 2.0 annotationsWebsyndication and podcasting with RSSXML on the Presentation Layer,paying attention to Ajax and Flash applicationsIf you are developing withJava and need to use XML, or think that you will be in the future; if youreinvolved in the new peer-to-peer movement, messaging, or web services;or if youre developing software for electronic commerce, Java and XML willbe an indispensable companion.
2. Two APIs discussed in the second edition - JDOM and JAXB - sawimportant changes between the prerelease versions and their eventualfinal releases. These changes are covered in this latest edition. This bookis organized into three sections. The first section, composed of Chapters 1and 2, is a basic introduction to XML and related standards. However, theintroduction is fast-paced, and if you have not seen XML before it probablywont be enough. The second part of the book - Chapters 3 through 11 -explains a wide variety of APIs for creating, manipulating, outputting, andpretty much doing anything else to XML documents. If you already knowXML and Java, these chapters are exc ellent. If not, again, you are going tohave difficulty as the material is fast paced. The last section - Chapters 12and 13 - describes two important applications for XML. Chapter 14 standsalone as a chapter of predictions about the future of XML. The following isa description of the book in the context of the table of contents:Chapter 1, Introduction, begins with the basics of XML. If youve neverused XML before, this chapter will give you all the information you need tounderstand the rest of the book. It briefly touches on the changes betweenXML 1.0 and 1.1 before introducing XSLT and XPath.Chapter 2, Constraints, covers three ways of defining the structure of XMLdocuments: DTDs, W3C XML Schemas, and RELAX NG schemas. Itcovers how to use these standards to define a structure and how to ensurethat a document matches that definition. It also covers how to convertbetween the various constraint document types.Chapter 3, SAX, the Simple API for XML (SAX) is introduced in thischapter. The parsing lifecycle is explained, and the events that can becaught by SAX and used by developers are demonstrated via codeexamples.Chapter 4, Advanced SAX, covers less-used but still powerful items inSAX. Youll learn how to use SAX features and properties to alter thebehavior of the SAX parser, use XML filters to chain callback behavior, useXML writers to output XML with SAX, and look at some of the lesscommonly used SAX handlers like LexicalHandler and DeclHandler.Chapter 5, DOM, unlike SAX has its origins in the World Wide WebConsortium. Whereas SAX is public domain software, DOM is a standardjust like the actual XML specification. The DOM is designed to representthe content and model of XML documents across all programminglanguages and tools. In this chapter you learn DOM basics, find out what isin the current specification (DOM Level 3), and how to read and write DOMtrees.
3. Chapter 6, DOM Modules, is about the various Level 2 and Level 3 DOMmodules like Traversal, Range, Events, Style, HTML, Load and Save, andValidation.Chapter 7, JAXP, examines the Java API for XML Processing (JAXP),including the XPath and Validation APIs introduced with JAXP 1.3. JAXPwas initially a very small API that handled only parsing. The latest versionof JAXP provides everything in SAX and DOM, plus some extras, andJAXP makes vendor neutrality much easier than using DOM or SAXdirectly.Chapter 8, Pull Parsing With StAX, concerns The Streaming API for XML(StAX), which is the newest standard Java XML API. Youll learn how touse StAX and how it compares to both SAX and DOM. There is also a brieflook at a precursor to StAX named XMLPull, which is still in use.Chapter 9, JDOM, examines a Java-specific object model API. JDOMprovides a means of accessing an XML document within Java through atree structure, and in that respect is somewhat similar to the DOM.Chapter 10, dom4j, examines another Java-specific object model API,dom4j. This chapter compares it to both JDOM and DOM. Also examinedare features unique to dom4j, like its object-orientated transformation API.Chapter 11, Data Binding with JAXB, talks about how with data binding,your application code does not concern itself with the details of XMLdocuments, only a Java object model. Sun has developed a standard forXML data binding: the Java Architecture for XML Binding (JAXB). In thischapter, youll learn about JAXB 1.0 and 2.0, as well as the general basicsof data binding and when its use is appropriate.Chapter 12, Content Syndication with RSS, covers using XML documentsto syndicate content. Specifically, the RSS standards are examined alongwith a brief discussion of Atom. The creation and reading of RSS feedsusing other APIs are discussed as well as an RSS-specific API namedROME. A highlight is the creation of your own podcast feed for submissionto Apples iTunes Podcast directory using this tool.Chapter 13, XML As Presentation, looks at a variety of techniques forusing XML in visual portion of web applications. The chapter shows howXML is a key component of the dynamic web application techniques thatare becoming more common.Chapter 14, Looking Forward, provides some brief overviews of severalXML technologies. Included topics are XML appliances, XQuery, and FastInfoset.Appendix, SAX Features and Properties, details the features andproperties available to SAX 2.0 parser implementations.
4. A good companion to this book is Processing XML with Java(TM): A Guideto SAX, DOM, JDOM, JAXP, and TrAX by Elliot Rusty Harold. The book i sa little older, so standards have changed, but it does a good job ofexplaining things at a slower pace than this book. This book is better forthe newer standards and applications. If you are working with XML andJava, you should probably have both books. For More 5 Star Customer Reviews and Lowest Price: Java and XML by Brett McLaughlin - 5 Star Customer Reviews and Lowest Price!