Building and Deploying Web Services using Java EE

Contact Us for Dates
2 days practical workshop for up to 12 people.
Only £790
Web Services are now ubiqutous within the context of enterprise applications, enabling interoperability, and messaging between disparate platforms. This training course demonstrates how this technology can be harnessed using the Java platform, and Java EE technology. The training course is a hands on training course, and you will gain opportunity to develop, interact with, and deploy web services. You will be exposed to SOAP and WSDL and the accompanying Java APIs, JAX-WS, SAAJ, and JAX-RS. The training course can be run with any application server such as JBoss. Alternatively the course can be run using Apache Axis2 as the host for the deployed web services. There is also discussion of how web services can be used specifically within the Java Enterprise Edition environment and how they can be integrated with other applications. Additional content can be added on XML programming (such as JAXB) if desired.

Layout

Training course combines lectures with practical exercises that help the delegates to put what they have learned on the training course into practice.  The exercises specifically build on what has been recently taught and are built up as the training course progresses.

Training Course Objectives

  • Define a web service
  • Deploy a web service using JAX-WS
  • Deploying a Web service using Annotations within an application server
  • Understand the SOAP protocol
  • Read and understand SOAP messages passed between server and client.
  • Send and receive SOAP messages using SAAJ
  • Generate, read and understand the Web Services Description Language (WSDL) files.
  • Work with Web service stubs for both Java and non Java based services
  • Understand where Web services fit in the Java EE framework
  • Understand Web service security
  • Identify best practices for Web service development
  • Understand alternative architectures such as REST for Web services

Who it is for

This training course is aimed at experienced Java developers who wish to incorporate web services into his or her application development.

Training Course Prerequisites

  • Some exposure to XML is desirable
  • Java development experience is required for this course

Chapters

Chapter 1 Introduction to Web Services

  • The role of Web Services
  • The role of SOAP and WSDL
  • Java and Web Services

Chapter 2 Introduction to Service Oriented Architecture

  • What is SOA?
  • The Enterprise Service Bus
  • SOA Service Layers
  • Implementing an SOA

Chapter 3 Introduction to SOAP

  • Anatomy of a SOAP message
  • SOAP Requests and Responses
  • SOAP Namespaces
  • SOAP Attachments
  • Sending and Receiving SOAP messages using SAAJ

Chapter 4 Creating Web Services

  • Creating a Web Service Class
  • Creating the Deployment Descriptor
  • Deploying the Web service
  • Deploying Stateless Session Beans as Web services
  • Deploying POJOs as Web services using annotations
  • Testing the Web service

Chapter 5 Consuming Web Services

  • Using wsimport from the JDK
  • Working with proxy classes
  • Creating a client application

Chapter 6 Introduction to XML Schemas

  • XML Schema basics
  • XML Schema namespaces
  • XML Schema and Web Services

Chapter 7 Web Services Description Language WSDL

  • The role of WSDL
  • The Structure of a WSDL document
  • Generating WSDL documents from Java

Chapter 8 Creating Interoperable Web Services

  • The WSI Basic Profile
  • Web Service Styles
  • SOAP Encoding
  • Web Service Best Practices

Chapter 9 Web Services Architecture and Design

  • Design best practices
  • WS Profiles
  • Emerging patterns for Web services

Chapter 10 The Build Cycle

  • Debugging Web services
  • Testing Web services
  • Monitoring Web services
  • Using SOAP UI

Chapter 11 Web Services Security

  • Web services over SSL
  • WS-Security
  • XML Signature
  • XML Encryption

Chapter 12 REST Based Web services

  • The need for REST
  • Building and Deploying a REST service
  • Consuming a REST service