Building REST and SOAP Web Services with Java

This course provides experienced Java programmers with the skills to write new SOAP and REST web services, and access existing services. With this training, you also learn how to secure web services using both Java-specific and language-independent security technologies, and how the Java APIs — JAX-WS and JAX-RS — deliver a set of powerful tools for developing a Service-Oriented Architecture (SOA).

Contract–first service development

Comparing contract–first and code–first services Creating portable Java artifacts Importing a WSDL document Building interoperable applications by conforming to Web Services Interoperability (WS–I) standards Implementing a web service endpoint using JAX–WS

Exposing plain old Java objects (POJOs) as web services

Applying JAX–WS annotations to POJOs Configuring and deploying a web service implementation Implementing SOAP clients in Java Generating client–side artifacts from WSDL Modifying client code to permit message monitoring Authenticating and authorizing clients Augmenting SOAP–based services Incorporating best practices for web services Implementing policies for security, reliability and message optimization

Interoperable applications with SOA

Designing an SOA integration architecture Implementing SOAs with web services Java standard APIs for web services Building SOAP–based services with JAX–WS Developing RESTful services with JAX–RS

Introduction to REST (Representational State Transfer)

Describing the REST architectural style Comparing SOAP and RESTful web services Developing RESTful web services using JAX–RS Adding JAX–RS annotations to a POJO Configuring result types using HTTP request headers Deploying a JAX–WS service Customizing a RESTful Service Implementation Interacting with request URLs Mapping URLs to Java classes and methods Binding URL components to method arguments

XML essentials

XML namespaces Describing XML with schema Structure of SOAP messages Role of SOAP in web services Operations, messages and faults Anatomy of a WSDL document Defining the interfaces of a web service Specifying implementation