LearningPatterns: Your Global Source for Java Training, Mentoring, and Consulting
Home | About LearningPatterns | Our Services | Contact Us | Printer Friendly Link

Courseware for License:

Fast Track to SOA and JavaŽ Web Services (JAX-WS) on the JBoss® Application Server

Course ID: JWS

Web services are designed to allow Web-based access to distributed software and business services.  They bring a standard, open service architecture to component development that allows them to be accessed over the Web with standard protocols such as HTTP and standard XML formats for messages and service descriptions.  This course will give you a thorough understanding of the current Web services architecture, and the technologies that support Web services including the new Java APIs such as JAX-WS and JSR-181.  Topics include:

We will look at the current state of the art of Web services, what works and what doesn’t work, and also at newer standards, and how they fit into the Web services picture.  This course is hands on, and students will actually build and deploy Web services during the course.

All labs are done using the JBoss 7 Application Server as the server platform, and the lab instructions include detailed directions on using JBoss.

Course Information

Duration: 3 days

Labs: Minimum 50% hands-on labs

Supported Platforms: JBoss® AS, Weblogic® AS, GlassFish, RAD®/WebSphere®

Course Details:

Session 1: Service Oriented Architecture (SOA) and Web Services

  • SOA (Service Oriented Architecture) Overview
  • Web Services Overview / Relationship to SOA
  • Web services Architecture
  • SOAP and WSDL Overview

Session 2: Introduction to Java Web Services

Overview
  • Java Web Services
  • JAX-WS and JSR-181
  • A Simple Service definition with @WebService
JSR-181
  • Overview
  • @WebService, Modifying the Generated Service
  • Other Annotations (@WebMethod, @SOAPBinding)
  • The SEI (Service Endpoint Interface
  • Lab: Defining a Service with an SEI
JAX-WS Capabilities
  • Overview
  • WSDL to Java Mapping
  • Capabilities (XML Messaging, Handlers, SOAP/HTTP, Client Programming
JAX-WS Clients
  • Programming Model, Generating Classes from WSDL
  • Writing a JAX-WS Client
  • Dynamic Clients
  • Lab: JAX-WS Client and Dynamic Client

Session 3: WSDL – Web Services Description Language

  • Introduction
  • XML Namespace and XML Schema Overview
  • Namespaces and Schema in WSDL Documents
  • WSDL Structure and Elements
  • A WSDL Document
    • Definitions, Types, Messages, PortTypes, and Operations
    • Bindings, Ports, and Services
  • SOAP 1.1 Binding for WSDL

Session 4: SOAP

  • SOAP Overview
  • Message Structure
    • Envelope/Header/Body
    • Detailed Soap message structure
  • SOAP Faults, Attachments
  • SOAP Messaging and HTTP Binding
  • SOAP Styles and Encoding

Session 5: SAAJ, DOM, and SOAP Handlers

  • SAAJ Overview, Message Structure and API
  • Creating/Sending Messages
  • DOM Overview
  • Using DOM with SAAJ
  • SOAP Handlers
    • Overview and Processing
    • Logical and Protocol Handlers
    • Writing/Configuring a SOAP Protocol Handler
    • Writing/Configuring a Logical Handler

Session 6: JAXB - Java Architecture for XML Binding

  • Overview and Architecture
  • Generating Java Classes from XML Schema
  • Customizing Generated Java
  • Generating XML Schema from Annotated Java Classes
  • Web Services, WSDL, and JAXB

Session 7: Start From WSDL / Start from WSDL & Java

  • Starting From WSDL
  • Binding Customizations
  • Starting From WSDL and Java

Session 8: XML-Based (Bare) Web Services

  • XML Messaging Overview
  • JAX-WS Providers
  • A SOAP Provider and Source Provider
  • XML Clients with Dispatch
  • XML/HTTP Messaging with Provider
  • Overview of REST and JAX-RS

Session 9: Handling Binary Data

  • Overview and Issues
  • Default handling
  • MTOM Overview
  • Using MTOM in Services and Clients
  • Using DataHandler

Session 10: Security

  • Java EE Security / Role Based Security
  • Securing Web Services with BASIC Authentication
  • Transport Security / HTTPS
  • Securing Web Services with HTTPS
  • WSS (WS-Security) Overview

Session 11: EJB-Based Web Services

  • EJB Overview
  • Programming EJB
  • Creating/Configuring EJB-Based Web Services
  • Lab: Creating an EJB-Based Web Service

Session 12: WS-* Overview

  • WS-Interoperability (WS-I)
  • The WS-I Basic Profile
  • WS-Addressing

Session 13: Best Practices

  • Coarse Grained Web Services
  • Optimization and Caching
  • XML Handling
  • Interoperability
  • Top Down / Bottom Up
JBoss is a registered trademark of Red Hat, Inc. in the U.S. and other countries.
LearningPatterns has no affiliation with Red Hat.
Home | About LearningPatterns | Our Services | Legal | Contact Us       Copyright © LearningPatterns, Inc. All rights reserved.