Pages

Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Friday, May 16, 2008

Java & XML, 2nd Edition: Solutions to Real-World Problems by Brett McLaughlin


Product Description

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.
Product Details
Amazon Sales Rank: #508925 in Books
Published on: 2001-09
Format: Illustrated
Number of items: 1
Binding: Paperback
550 pages
Editorial Reviews

Book Info
New second edition focuses entirely on using XML from Java applications. New chapters on Advanced SAX, Advanced DOM, SOAP and data binding, and new examples throughout. Softcover.

About the Author
Brett McLaughlin has been working in computers since the Logo days. (Remember the little triangle?) He currently specializes in building application infrastructure using Java and Java-related technologies. He has spent the last several years implementing these infrastructures at Nextel Communications and Allegiance Telecom, Inc. Brett is one of the co-founders of the Java Apache project Turbine, which builds a reusable component architecture for web application development using Java servlets. He is also a contributor of the EJBoss project, an open source EJB application server, and Cocoon, an open source XML web-publishing engine. He is author of the soon-to-be-released O'Reilly book, Building Java Enterprise Applications.
Customer Reviews

A book worth owning
The author covers some background, but mainly sticks to the business end of dealing with XML using java. The book is set out so you can read the parts that are relevant to getting a particular piece of technology working quickly.

Before reading this book I had never written an XML parser, but within a couple of days I was able to rework a parser to make it work both faster and with a smaller memory footprint by following the guidelines in this book. The details are not covered in great depth, but enough to get a job done, and make this a portabe reference.

Another book worth owning from the O'Reilly press.

Good but could be more.
Second editions are always great. However, I find that I dont like all of the API reference in the book. I would rather look at APIs electronically and talk concepts in the book.

Good introduction, a little diffuse
Compared with .NET and XML this book tends to wander and rat hole a little. The book covers the basics. The SAX and DOM approaches. It also covers XSLT and serving XML. It also covers advanced topics like Castor, JDOM, and web services. But most of the subjects are covered at a cursory level and do not serve as a complete introduction.

There is a small reference at the end of the book which is not as easy to read as the APIs described in the Nutshell style.

I gave this book four stars because, while it does lack focus, it is a good introduction to the XML APIs for Java. In the third release they should concentrate a little harder editing in some focus and a better reference section at the end.

Java and XML Data Binding by Brett McLaughlin


Product Description

More Java developers today want to work with XML, the technology that enables data to be transported intact over the Internet, but they don't have time to become XML experts. If this describes you, then you'll appreciate data binding, the new way of converting XML documents into Java objects, so those documents can be worked on and manipulated like any other Java object, then converted back to XML

This new title provides an in-depth technical look at XML Data Binding. The book offers complete documentation of all features in both the Sun Microsystems JAXB API and popular open source alternative implementations (Enhydra Zeus, Exolabs Castor and Quick). It also gets into significant detail about when data binding is appropriate to use, and provides numerous practical examples of using data binding in applications.

As Author Brett McLaughlin says "Too many books are written about technologies by people who barely understand them. I've already written two data binding implementations (Zeus, and a previous one for IBM DeveloperWorks.) I've actually used data binding for longer than the official specification has been in existence, and I've really been able to dig into what it takes to code an effective data biding implementation, as well as use one correctly. This book is part user guide, part under-the-hood manual, and part use-case. It's a powerful combination, and one I think people need."
Product Details
Amazon Sales Rank: #763478 in Books
Published on: 2002-05
Format: Illustrated
Number of items: 1
Binding: Paperback
214 pages
Editorial Reviews

Book Info
Provides an in-depth technical look at XML Data Binding. Offers complete documentation on all features in both the Sun Microsystems JAXB API and and popular open source alternative implementations. Provides numerous practical examples of using data binding in applications. Softcover.

About the Author
Brett McLaughlin has been working in computers since the Logo days. (Remember the little triangle?) He currently specializes in building application infrastructure using Java and Java-related technologies. He has spent the last several years implementing these infrastructures at Nextel Communications and Allegiance Telecom, Inc. Brett is one of the co-founders of the Java Apache project Turbine, which builds a reusable component architecture for web application development using Java servlets. He is also a contributor of the EJBoss project, an open source EJB application server, and Cocoon, an open source XML web-publishing engine. He is author of the soon-to-be-released O'Reilly book, Building Java Enterprise Applications.
Customer Reviews

Outdated, incorrect information. Stay away!
This book was written before the version 1.0 release of the JAXB data binding API's. As a result much of the information in this book is incorrect and not current. If you follow the instruction in this book you will NOT sucessfully perform XML binding to java objects. For example, the book uses DTD's as the XML description model used by JAXB. This is wrong DTD's were dropped in favor of XML schemas. The instructions for using the JAXB jar files are wrong. The required jars have changed since this book was printed. The instructions for using the generated java data binding classes is wrong, the usage has changed since this book was written. The author tried to get to far ahead of the technology curve on JAXB and as a result authored this book too early in the JAXB life cycle. The book is of minimal value.

Outdated, incorrect information. Stay away!
This book was written before the version 1.0 release of the JAXB data binding API's. As a result much of the information in this book is incorrect and not current. If you follow the instruction in this book you will NOT sucessfully perform XML binding to java objects. For example, the book uses DTD's as the XML description model used by JAXB. This is wrong DTD's were dropped in favor of XML schemas. The instructions for using the JAXB jar files are wrong. The required jars have changed since this book was printed. The instructions for using the generated java data binding classes is wrong, the usage has changed since this book was written. The author tried to get to far ahead of the technology curve on JAXB and as a result authored this book too early in the JAXB life cycle. The book is of minimal value.

Waste of money
This does not talk about JAXB at all. What it talks is about some non standardised APIs that existed before JAXB.
The brief mention of JAXB ( 4 pages ) is only philosphical. Even that is w.r.t. an obselete version with DTD support.
( Current JAXB only supports XML schema )