If you've been following our recently-concluded, book excerpt series on XML basics for Java developers from Learning Java, 2nd Edition, then you are ready to move on and learn about Java Web services.
With Java Web services, the server-side Java developer can build interoperable applications for delivering services to other servers and PC-based or wireless clients. The technology for Java Web services primarily consists of the recently announced Java Web Services Developer Pack (WSDP). This pack consists of the Java API for XML Pack(the so-called JAX Pack), the JSP Standard Tag Libraries (JSTL) API, and the Java Secure Socket Extension (JSSE) API -- along with the Jakarta Tomcat Web container, the Ant build tool, and the UDDI-based registry server.
Focusing on the JAX Pack makes sense, especially if XML is still daunting. You'll find that the better part of Java Web services involve the JAX Pack, an easier, more productive way of learning and using XML for Java -- necessary in Web services, as well as for your enterprise Java development efforts. For a comprehensive introduction to JAX, see the following articles by BEA's expert Al Saganich:
"Hangin' with the JAX Pack, Part 1: JAXP and JAXB"
This three-part series looks at the JAX Pack, the Java APIs for providing XML-based Web services handling XML. The first part focuses on JAXP (for XML processing) and JAXB (for XML binding).
"Hangin' with the JAX Pack, Part 2: JAXM"
Al Saganich examines JAXM, the Java API for XML Messaging, and shows how it provides support for accessing various messaging formats.
"Hangin' with the JAX Pack, Part 3: Registries"
Al Saganich looks at JAXR, the Java API for XML Registries.
"Hangin with the JAX Pack, Part 4: JAX-RPC"
In the final installment of this series, Al looks at JAX-RPC, the Java API for XML-based RPC. Guess what -- it's really just another instance of RMI.
For the latest on the JAX Pack, there's the Java XML Pack Summer 02 Update Release, which includes JAXM, JAXP, JAXR, JAX-RPC, as well as the new SOAP with Attachments API for Java (SAAJ).
Return to ONJava.com.
Copyright © 2009 O'Reilly Media, Inc.