Open menu

Java

Developing Java Web Services

Audience

This training course is aimed at developers and designers tasked with creating Web-service based solutions.

Prerequisites

Java programming experience and an awareness of Web service concepts are necessary prerequisites for this course.

Duration

3 days. Hands on.

This course is available on site only. Please call for details.

Course Objectives

This course describes how to create and consume Java Web services. The course is based on the latest platform for Java Web service development ("Metro").

The first day of the course introduces essential Web service concepts, and describes how to create and consume simple Web services. You will also learn about the important role of WSDL in describing Web service interfaces. The second and third days of the course dig deeper into Web service standards, techniques, and APIs. You will learn how to handle Web service faults; maximize integration options; use headers to provide Web service metadata; customize Java-to-object serialization formats; and invoke Web services programmatically by using JAX-WS, the latest Java API for Web services. The course also describes how to create and consume RESTful Web services, and explains how to access RESTful Web services by using JAX-RS.

The course also includes several optional appendices that provide supplementary information, to give students good insight into additional techniques.

The course is extensively hands on, and comprises numerous examples. The course uses the latest standard Java Web services platform from Oracle, but can be delivered at any release of Enterprise Java - please confirm the version required when booking.

Course Content

GETTING STARTED WITH WEB SERVICES (DAY 1)

Web Services - Essentials
What is a Web service? Overview of SOAP.
Conveying SOAP over HTTP.
RPC vs. Document formatting.
SOAP Encoded vs. Literal serialization.
Java Web services state of play.

Creating and consuming a Web service in Java
Overview of the Java Web Services Stack (Metro).
Creating a Java Web service.
Generating a Web service proxy.
Calling a Web service from a client application.

Describing Web Services with WSDL
Overview of WSDL.
Understanding WSDL services and ports.
Bindings.
Messages.
Schema.

GOING FURTHER WITH WEB SERVICES (DAYS 2 & 3)

Web Service Techniques
Exception handling and SOAP faults.
Message exchange patterns.
One-way messaging.
Asynchronous Web services.

Web Service Specifications
Overview of Web Services Interoperability Technologies (WSIT).
Overview of the WS-I Basic Profile.
WS-I Basic Profile guidelines.

Creating and Using SOAP Headers
Overview of actors and SOAP headers.
Creating SOAP headers.
Defining message handlers.
Accessing SOAP headers.

Designing SOA solutions
Transferring data objects.
Customizing serialization by using the Java API for XML Binding (JAXB).

Creating and Consuming a Web Service using JAX-WS
Overview of the Java API for XML Web Services (JAX-WS).
Calling a Web service by using JAX-WS.
Customizing WSDL-to-Java mapping by using JAX-WS annotations.

RESTful Web Services
Overview of RESTful concepts.
REST and HTTP.
Creating a RESTful Web service.
Consuming a RESTful Web service.
RESTful design patterns.

Creating and Consuming a RESTful Web Service using JAX-RS
Overview of the Java API for XML RESTful Web Services (JAX-RS).
JAX-RS applications.
Resource classes.
Accessing context information.

EJB EndPoints
Recap of Java EE session beans.
Exposing a session bean as a Web service.

APPENDICIES

Securing Web Services
Essential security concepts.
Encryption.
Digital signatures.
Single Sign-On and SAML.

Additional Technologies
UDDI registries.
Accessing UDDI registries by using JAXR.
SOAP attachments.
Accessing SOAP attachments by using SAAJ.

Enterprise Service Buses
What is an ESB?
Understanding the role of ESBs in Service Oriented Architecture.
ESB case studies.

Verhoef Training Ltd.

11 Kingsmead Square
Bath, BA1 2AB
United Kingdom

Tel: +44(0)1225 339705

Email: info@verhoef-training.co.uk

Become a Trainer

Ever thought about using your skills to help others?

Call us to find out about how you can teach for Verhoef.

Tel: +44(0)1225 339705