English French German Italian Portuguese Russian Spanish

logo_old

  • Java Training

    javaInterSource offers live instructor-led courses on all important Java-related technologies, including Apache Struts, Enterprise Java Beans (EJB), J2SE Desktop Java Enterprise Edition (Java EE), Java Fundamentals, Java Web Services, JavaServer Faces, JBoss, Java Server Pages (JSP), and Spring.

    Please refer to our detailed course outlines below.

  • About Java

    Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode (class file) that can run on any Java Virtual Machine (JVM) regardless of computer architecture

    Java is general-purpose, concurrent, class-based, and object-oriented, and is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere". Java is considered by many as one of the most influential programming languages of the 20th century, and widely used from application software to web application.

    Read More

  • Course Details Java

    Classes are offered at client sites, at our Geneva training center, and via a live web conference. For detailed course outlines and scheduled classes, please see below.

    To book training, navigate to the course you need, then:

    • For scheduled online classes, register from the choices indicated.
    • If you need an alternative date, time or location, or if you want a live classroom course, click on “request an offer for this course,” to complete the form.

Java Web Services Training

 PDF PrintEmail

Course duration

  • 5 Days

Course Outline

A comprehensive look at the state of the art in developing interoperable web services on the Java EE 6 platform. Students learn the key standards -- SOAP, WSDL, and the WS-I Basic Profile -- and the Java architecture that has evolved to build interoperable services and clients. We begin with an introductory module that covers both SOAP-based and RESTful services, and therefore both JAX-WS and JAX-RS.

But JAX-WS is central to the course, and we cover both WSDL-driven and Java-driven development paths, as well as message handlers and attachment support. With the new Provider and Dispatch APIs, it's now much easier to integrate SAAJ, JAXB, and JAXP code into services and clients, and we explore these strategies in depth as well.

  • Be able to describe the interoperable web services architecture, including the roles of SOAP and WSDL in component-based services and XML and HTTP in the REST architecture.
  • Understand the importance of the WS-I Basic Profile for interoperable web services.
  • Build JAX-WS services and clients that take full advantage of the automated data binding of JAXB.
  • Build WSDL-to-Java and Java-to-WSDL services, with equal facility.
  • Apply advanced techniques and best practices including proper exception handling, care around possibe polymorphism, and use of context and lifecycle services.
  • Use lower-level SOAP and XML APIs for services and/or clients.
  • Customize data binding by specifying specific type mappings or altering method or parameter names.
  • Incorporate binary data, such as images, into service and client code.
  • Strong Java programming skills are essential
  • Students must be able to read XML documents and to write well-formed XML by hand
  • Experience with other Java EE standards, especially servlets and JSP, will be very helpful in class, but is not strictly required.
  1. Overview of Web Services
    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
  2. Web Services for Java EE
    1. Hosting Web Services: Scenarios
    2. Web Services for Java EE
    3. JAX-WS and JAXB
    4. Web-Services Metadata
    5. WSDL-to-Java and Java-to-WSDL Paths
    6. Provider and Dispatch APIs
    7. SAAJ and JAXP
    8. JAX-RS for RESTful Services
    9. JAXR
  3. The Java API for XML Binding
    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
  4. The Simple Object Access Protocol
    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
  5. Web Services Description Language
    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
  6. The Java API for XML-Based Web Services
    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
  7. WSDL-to-Java Development
    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
  8. Client-Side Development
    1. Stubs and Proxies
    2. Generated Code
    3. Locating a Service
    4. Invoking a Service
    5. The @WebServiceRef Annotation
  9. Java-to-WSDL Development
    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 @XmlJavaTypeAdapter
  10. Exception Handling
    1. SOAP Faults vs. Java Exceptions
    2. Mapping Faults from WSDL
    3. Mapping Exceptions from Java
    4. JAX-WS Exception API and Handling
    5. Client Exception Handling
  11. JAX-WS Best Practices
    1. Which Way to Go?
    2. Interoperability Impact
    3. Portability Impact
    4. Polymorphism in Web Services
    5. Web Services as Java EE Components
    6. Lifecycle Annotations
    7. Context Interfaces
  12. Metadata
    1. Abstract and Concrete Model Metadata
    2. Defaults
    3. Annotations
    4. webservices.xml and web.xml
    5. Best Practices and Pitfalls
  13. Provider and Dispatch APIs
    1. Stepping Down
    2. The @WebServiceProvider Annotation
    3. The Provider<T> Interface
    4. Implementing a Provider
    5. The @ServiceMode Annotation
    6. JAXB Without WSDL
    7. Integrating JAXP
    8. The Dispatch<T> Interface
    9. Building Clients
  14. The SOAP with Attachments API for Java
    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
  15. Message Handlers
    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
  16. Handling Binary Content
    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

InterSource Geneva, a premier Information Technology training firm, offers over 400 different courses on server, database and programming technologies, as well as end-user classes for the most popular office, graphics and design applications. We serve clients in Switzerland (Geneva, Lausanne, Bern, Basel, Zurich) and throughout Europe (France, Germany, Austria, Finland, Sweden, England, Netherlands, Spain, etc.).


InterSource offers custom, private courses at client sites, standard public courses in our Geneva classroom, and online training via live Web conference. Training is offered in English and many other languages (Francais, Deutsch, Espanol, Italiano.)


For an overall view of our offerings, please visit us at www.intersource.ch.