EIEIOTECHNOVATION
← Training programmes

EIEIO / PROGRAMMING & DEVELOPMENT

Java Web Services

Course outline

3 days

Duration

3 days

Overview

Learn how to develop REST-style and SOAP-based web services and clients with this quick and thorough introduction. This course delivers a clear, pragmatic approach to web services by providing an architectural overview, complete working code examples, and short yet precise instructions for compiling, deploying, and executing them. You’ll learn how to write services from scratch and integrate existing services into your Java applications.

With greater emphasis on REST-style services, this course covers HttpServlet, Restlet, and JAX-RS APIs; jQuery clients against REST-style services; and JAX-WS for SOAP-based services. Code samples include an Apache Ant script that compiles, packages, and deploys web services.

Course Prerequisite

Knowledge and experience working on java web application development would be helpful.

Chapter 1 – Web Services Quickstart

  • Web Service Miscellany
  • What Good Are Web Services?
  • Web Services and Service-Oriented Architecture
  • A Very Short History of Web Services
  • What is REST?
  • Review of HTTP Requests and Responses
  • HTTP as an API
  • A First RESTful Example
  • Why Use Servlets for RESTful Web Services?

Chapter 2 – RESTful Web Services: The Service Side

  • A RESTful Service as an HttpServlet
  • A RESTful Web Service as a JAX-RS Resource
  • A RESTful Web Service as Restlet Resources
  • A RESTful Service as a @WebServiceProvider

Chapter 3 – RESTful Web Services: The Client Side

  • A Perl Client Against a Java RESTful Web Service
  • A Client Against the Amazon E-Commerce Service
  • A Standalone JAX-B Example
  • RESTful Clients and WADL Documents
  • The JAX-RS Client API
  • JSON for JavaScript Clients

Chapter 4 – SOAP-Based Web Services

  • A SOAP-Based Web Service
  • The WSDL Service Contract in Detail
  • SOAP-Based Clients Against Amazon’s E-Commerce Service

Chapter 5 – SOAP Handlers and Faults

  • The Handler Level in SOAP-Based Services and Clients
  • Handlers and Faults in the predictions SOAP Service
  • A Handler Chain with Two Handlers
  • SOAP-Based Web Services and Binary Data
  • The Transport Level

Chapter 6 – Web Services Security

  • Wire-Level Security
  • A Very Lightweight HTTPS Server and Client
  • HTTPS in a Production-Grade Web Server
  • Container-Managed Security
  • WS-Security

Chapter 7 – Web Services and Java Application Servers

  • The Web Container
  • Toward a Lightweight JAS
  • Glassfish Basics
  • Servlet-Based Web Services Under Glassfish
  • An Interactive Website and a SOAP-Based Web Service
  • A @WebService as a @Stateless Session EJB
  • TommEE: Tomcat with Java EE Extensions

Programme scope, delivery arrangements and suitability are confirmed during enquiry.