Java and XML, 2nd Edition
Solutions to Real-World Problems
Publisher: O'Reilly Media
Final Release Date: August 2001
Pages: 528

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.
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
O'Reilly MediaJava and XML, 2nd Edition
 
4.6

(based on 9 reviews)

Ratings Distribution

  • 5 Stars

     

    (6)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 9 customers

Sort by

Displaying reviews 1-9

Back to top

(1 of 1 customers found this review helpful)

 
5.0

Java & XML, 2nd Edition Review

By Antonio Rodriguez of the Columbia Java Users Group

from Undisclosed

Comments about O'Reilly Media Java and XML, 2nd Edition:

This book contains an enormous wealth of information about Java's tying with the essentials of XML. I'd still recommend obtaining another book exclusively on the intricacies of XML, since only the basics are covered in this book. XML contains a lot more than the few pages that this book talks of it.

But XML is nothing without the software that interprets, handles and otherwise processes the format, and this book details this tying in with the Java language very well. Java parsers, APIs (SAX, DOM and JDOM), web services, everything is covered.

One book that your Java programming bookcase should not be without!!

 
5.0

Java & XML, 2nd Edition Review

By Robert

from Undisclosed

Comments about O'Reilly Media Java and XML, 2nd Edition:

I agree with the excellence of this book. I haven't found such detailed description in WSDL and SOAP messages from other source. But I have a problem to running the SOAP messages example from Chapter 13. I use Tomcat 4.1.12 and SOAP 2.3.1, tried both JDK 1.3 and 1.4. The deployment seemed OK, but when I ran the Client, I got the following exception. From the discussion group of Apache SOAP, somebody suggested this might be a version incompatiblity of Xerces and Tomcat, but I tried to rename the xerces.jar to a_xerces.jar in %Tomcat_home%/common/lib directory to let it be loaded at the very beginning when Tomcat started (for JDK1.3) and put xerces.jar in %Tomcat_home%/common/endorsed and remove other parsers in this directory (for JDK 1.4, this is a new feature only in 1.4). But I kept getting this exception. I also tried other simple example from other resource and got the same response. So it seemed the problem was my environment, not the example. Does anybody know the solution? My OS is Windows XP Professional. Thanks a lot.









SOAP-ENV:Server

Exception while handling service request: javaxml2.OrderProcessor.purchaseOrder(org.apache.soap.Envelope,org.apache.soap.rpc.SOAPContext,org.apache.soap.rpc.SOAPContext) -- no signature match

/soap/servlet/messagerouter



java.lang.NoSuchMethodException: javaxml2.OrderProcessor.purchaseOrder(org.apache.soap.Envelope,org.apache.soap.rpc.SOAPContext,org.apache.soap.rpc.SOAPContext) -- no signature match

at org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194)

at org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548)

at org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528)

at org.apache.soap.server.MessageRouter.invoke(MessageRouter.java:54)

at org.apache.soap.providers.MsgJavaProvider.invoke(MsgJavaProvider.java:125)

at org.apache.soap.server.http.MessageRouterServlet.doPost(MessageRouterServlet.java:308)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)

at java.lang.Thread.run(Thread.java:536)









(3 of 3 customers found this review helpful)

 
3.0

Java & XML, 2nd Edition Review

By Arthur Casale

from Undisclosed

Comments about O'Reilly Media Java and XML, 2nd Edition:

The book assumes a much higher level of proficiency than I expected. It really (especially)glossed what it takes to set up the run time web server environment (setting up Tomcat server, etc.) A page or two of step-by-step instructions on what the CLASSPATH needs to look like and the Apache directory structure should look like would have saved me countless hours and emails. I realize there are web sites out there on Tomcat and it really isn't the focus of the book but in order to run the examples one shouldn't assume a familiarity. Authors forget that many folks are learning this without the benefit of an expert nearby.

 
5.0

Java & XML, 2nd Edition Review

By Greggbert

from Undisclosed

Comments about O'Reilly Media Java and XML, 2nd Edition:

This is one of those "must have" books for any Java developer today. It's a career saver when you need a quick example and some clear guidance. The chapter on JDOM alone is worth the price of the book !

 
4.0

Java & XML, 2nd Edition Review

By Shailesh Deshpande

from Undisclosed

Comments about O'Reilly Media Java and XML, 2nd Edition:

The perfect "hands on" book for Java Programmers wanting to play with XML.

 
4.0

Java & XML, 2nd Edition Review

By Neil Laurance

from Undisclosed

Comments about O'Reilly Media Java and XML, 2nd Edition:

At last. All those pesky acronyms - SAX, JDOM, SAXP etc... - explained. In fact - better than explained, described with such clarity and with so many interesting examples that I was disappointed to finish the book. Nice one!!

 
5.0

Java & XML, 2nd Edition Review

By Zohra Hemani

from Undisclosed

Comments about O'Reilly Media Java and XML, 2nd Edition:

This is an excellent book and exactly what I needed. I had been looking for a good book that actually tells you how to work with SOAP and give examples in Java and this is the best one I found!!! Good Job! :)

 
5.0

Java & XML, 2nd Edition Review

By Ben Bruhl

from Undisclosed

Comments about O'Reilly Media Java and XML, 2nd Edition:

Excellent update to the 1st edition. Given the changing environment that the topic involves, the author covers the information in a clear and detailed manner. The examples were very handy in explaining how these different standards can be implemented using Java. Although it was covered, I would have liked to see more detail on HTTP handling servers for both SOAP and other XML format messages via servlets.

Great addition to my library!

(0 of 1 customers found this review helpful)

 
5.0

Java & XML, 2nd Edition Review

By Bill Woods

from Undisclosed

Comments about O'Reilly Media Java and XML, 2nd Edition:

I just wanted to be the first one to respond. Even though I stll have yet to buy it, I scanned through a copy that a co-worker friend just bought over the weekend and I must say that from what I saw, I will definitly get it SOON!

This book looks like just what we as Java developers have been looking and hoping for quite a while.

Good work!

- Bill

Displaying reviews 1-9

Back to top

 
Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?