This is the author's companion Web site for SOA Using JavaTM Web Services. Here, you can download the code examples from the book, read chapter excerpts, and browse the blog to keep up with the latest developments in SOA and Java Web Services.

SOA Using JavaTM Web Services is a hands-on programmer's guide to implementing Web services and Service Oriented Architecture (SOA) using Java EE 5 and Java SE 6.

The book

  • Covers JAX-WS, JAXB, JSR-181 (WS-Metadata), and JSR-109 in detail.
  • Thoroughly explains SOA implementation using WSDL, SOAP, REST, and Java/XML binding.
  • Presents a complete case study using JAX-WS and JAXB, together with Ajax, to build a SOA application integrating Amazon, Yahoo! Shopping, and eBay.
  • Includes hundreds of working code examples to illustrate the programming concepts described.

Buy from
Buy from Barnes&
Buy from Prentice Hall

Web Services Made Easy - Have a look at the new product ServiceLayer that is designed to make Java Web Services a lot easier.

Designed by author, Mark Hansen, ServiceLayer is a run-time Java framework that provides a point-and-click interface for selecting classes and methods of an existing Java program and exposing them as web services. There is no coding required. Sign up for the beta release program and try it out.

Forum - Check out the discussion forum for questions and answers related to the book and its code examples.

Review - Glen Mazza's Weblog provides a thoughtful review of the book.

Download The Book Code


The following is the preface to SOA Using JavaTM Web Services.

Java became a powerful development platform for Service-Oriented Architecture (SOA) in 2006. Java EE 5, released in May 2006, significantly enhanced the power and usability of the Web Services capabilities on the application server. Then Java SE 6, released in December 2006, incorporated the majority of those capabilities into the standard edition of the Java programming language.

Because robust Web Services technology is the foundation for implementing SOA, Java now provides the tools modern enterprises require to integrate their Java applications into SOA infrastructures.

Of course, Java has had basic Web Services capabilities for some time. JAX-RPC 1.0 was released in June 2002. J2EE 1.4, finalized in November 2003, included JAX-RPC 1.1. So what is significant about the latest versions of the Java Web Services (JWS) APIs?

The answers are power and ease of use. Programmers will find it much easier to build enterprise-class applications with Web Services in Java EE 5 than in J2EE 1.4. Evidence of that is contained in Chapters 9 and 10, which describe an application I developed to integrate online shopping across eBay, Yahoo! Shopping, and Amazon. Itís a pure Java EE 5 application, called SOAShopper, that consumes REST and SOAP services from those shopping sites. SOAShopper also provides its own SOAP and REST endpoints for cross-platform search, and supports an Ajax front-end. SOAShopper would have been a struggle to develop using J2EE 1.4 and JAX-RPC. With the new Java Web Services standards, it was a pleasure to write. more ...

Featured Blog Post:

Why is Java Web Services so Hard?

Java developers are finding it difficult to use JAX-WS, JAXB, and other Java EE 5 Web Services standards to build useful applications. This post looks at the reasons and points toward a solution.