Developing Java Web Services (JAX-WS)
Length: 5 days Price (Excl. GST): $2750.00 per person
A comprehensive look at the state of the art in developing interoperable web services on the Java EE platform. Students learn the key standards -- SOAP, WSDL, and the WS-I Basic Profile -- and the Java architecture that has evolved to build interoperable services and clients. JAX-WS is central to the course, and we cover both WSDL-driven and Java-driven development paths, as well as message handlers and attachment support. With the new Provider and Dispatch APIs, it's now much easier to integrate SAAJ, JAXB, and JAXP code into services and clients, and we explore these strategies in depth as well.
Learning Objectives
- Be able to describe the interoperable web services architecture, including the roles of SOAP and WSDL.
- Understand the importance of the WS-I Basic Profile for interoperable web services.
- Build JAX-WS services and clients that take full advantage of the automated data binding of JAXB.
- Use lower-level SOAP and XML APIs for services and/or clients.
- Customize data binding by specifying specific type mappings or altering method or parameter names.
- Expose session beans as web services.
- Incorporate binary data, such as images, into service and client code.
Pre-requisites
- Strong Java programming skills are essential.
- Students must be able to read XML documents and to write well-formed XML by hand.
- Knowledge of XML Schema will be helpful, too, but is not a strict prerequisite.
- Experience with other Java EE standards, especially servlets and JSP, will be very helpful in class, but is not strictly required.
Course Content
Overview of Web Services | Web Services for Java EE |
The Simple Object Access Protocol | The Java API for XML Binding |
Web Services Description Language | The Java API for XML-Based Web Services |
WSDL-to-Java Development | Client-Side Development |
Java-to-WSDL Development | JAX-WS Best Practices |
Provider and Dispatch APIs | The SOAP with Attachments API for Java |
Message Handlers | EJBs as Web Services |
Handling Binary Content |