Java Web Services

CloudLabs

Projects

Assignment

24x7 Support

Lifetime Access

.

Course Overview

Web services are client and server applications that communicate over the World Wide Web’s (WWW) HyperText Transfer Protocol (HTTP). As described by the World Wide Web Consortium (W3C), web services provide a standard means of interoperating between software applications running on a variety of platforms and frameworks. Web services are characterized by their great interoperability and extensibility, as well as their machine-processable descriptions, thanks to the use of XML. Web services can be combined in a loosely coupled way to achieve complex operations. Programs providing simple services can interact with each other to deliver sophisticated added-value services.

At the end of the training, participants will be able to:

Pre-requisite

  1. Strong Java programming skills are essential
  2. Students must be able to read XML documents and to write well-formed XML by hand
  3. Experience with other Java EE standards, especially servlets and JSP, will be very helpful in class, but is not strictly required.

Duarion

5 days

Course Outline

  1. Why Web Services?
  2. Service-Oriented Architecture
  3. HTTP and XML
  4. SOAP
  5. WSDL
  6. The SOAP Vision
  7. The REST Vision
  8. UDDI
  9. The WS-I Basic Profile
  10. Security
  11. Web Services for Java EE
  12. Hosting Web Services: Scenarios
  1. JAX-WS and JAXB
  2. Web-Services Metadata
  3. WSDL-to-Java and Java-to-WSDL Paths
  4. Provider and Dispatch APIs
  5. SAAJ and JAXP
  6. JAX-RS for RESTful Services
  7. JAXR
  1. The Need for Data Binding
  2. XML Schema
  3. Two Paths
  4. JAXB Compilation
  5. Mapping Schema Types to Java
  6. Java-to-XML Mapping Using Annotations
  7. Marshaling and Unmarshaling
  8. Working with JAXB Object Models
  1. Messaging Model
  2. Namespaces
  3. SOAP over HTTP
  4. The SOAP Envelope
  5. The Message Header
  6. The Message Body
  7. SOAP Faults
  8. Attachments
  1. Web Services as Component-Based Software
  2. The Need for an IDL
  3. Web Services Description Language
  4. WSDL Information Model
  5. The Abstract Model — Service Semantics
  6. Message Description
  7. Messaging Styles
  8. The Concrete Model — Ports, Services, Locations
  9. Extending WSDL — Bindings
  10. Service Description
  1. Two Paths
  2. How It Works: Build Time and Runtime
  3. The Service Endpoint Interface
  4. Working from WSDL
  5. Working from Java
  6. RPC and Document Styles
  7. One-Way Messaging
  8. Binary Protocols
  1. The @WebService Annotation
  2. Generated Code
  3. Scope of Code Generation
  4. Parameter Order
  5. More JAXB: Mapping Collections
  6. More JAXB: Mapping Enumerations
  7. Applying JAXB Customizations
  1. Stubs and Proxies
  2. Generated Code
  3. Locating a Service
  4. Invoking a Service
  5. The WebServiceRef Annotation
  1. Generating the WSDL and Schema
  2. The @WebMethod, @XmlParam, and Related Annotations
  3. More JAXB: Mapping Inheritance
  4. Controlling the XML Model
  5. Controlling the WSDL Description
  6. JAXB Customizations with @XmlJavaTypeAdapte
  1. SOAP Faults vs. Java Exceptions
  2. Mapping Faults from WSDL
  3. Mapping Exceptions from Java
  1. Client Exception Handling
  2. JAX-WS Best Practices
  3. Which Way to Go?
  4. Interoperability Impact
  5. Portability Impact
  6. Polymorphism in Web Services
  7. Web Services as Java EE Components
  8. Lifecycle Annotations
  9. Context Interfaces
  1. Abstract and Concrete Model Metadata
  2. Defaults
  3. Annotations
  4. webservices.xml and web.xml
  5. Best Practices and Pitfalls
  1. Stepping Down
  2. The @WebServiceProvider Annotation
  3. The Provider Interface
  4. Implementing a Provider
  5. The @ServiceMode Annotation
  6. JAXB Without WSDL
  7. Integrating JAXP
  8. The Dispatch Interface
  9. Building Clients
  1. The SAAJ Object Model
  2. Parsing a SOAP Message
  3. Reading Message Content
  4. Working with Namespaces
  5. Creating a Message
  6. Setting Message Content
  7. Relationship to the DOM
  1. Handling SOAP Headers
  2. Handlers and Handler Chains
  3. Configuration by XML or Annotation
  4. MessageContext and SOAPMessageContext
  5. Processing Model and Patterns
  6. Logical and Protocol Handlers
  7. Client-Side Handlers
  1. The WS-I Attachments Profile
  2. Using base64Binary
  3. MTOM and XOP
  4. JAX-WS Support
  5. Configuration by XML or Annotation
  6. Client-Side Support
  7. SAAJ Support

Reviews