SanEd consulting

Company profile

SanEd consulting is an IT training company which initiated its services in 2005 primarily as Sun Microsystem's authorised training provider. Our training portfolio was Solaris and Java focused. Later on we upgraded our portfolio and included authorisations from Veritas / Symantec and Oracle after aquisition of Sun. 

As the global IT market is rapidly changing and developing we must have accepted its needs and trends. Thus, beginning of 2014 we decided to "refurbish" our services and included new, young and perspective partners and together prepared number of interesting trainings you can find in our catalogue.

We are looking forward to successful cooperation with you.

.
поздравления с новорожденным

Developing Java Web Services

Start Date:
Not Specified
Finish date:
Not Specified
Code:
CXM564
Price:
0.00 EUR (VAT excl.)

Description

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 for both SOAP-based and RESTful services, and the Java architectures that have 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. We then discuss JAXB, as this highly useful XML API is integral to both.

The remainder of the course is split between two larger modules, each of which falls on one side of the fence: either SOAP services with JAX-WS, or RESTful services with JAX-RS. We cover SOAP, WSDL, and both WSDL-driven and Java-driven development paths for JAX-WS, as well as client-side development. Then students work with the Jersey implementation of JAX-RS to create RESTful services, from simple single-value interactions to more sophisticated services that manage CRUD (create/retrieve/update/delete) operations on more complex data types, using JAXB to marshal and unmarshal data over the wire.

 

Training days

5 days

 

Prerequisites

  • Strong Java programming skills are essential.
  • Students must be able to read XML documents and to write well-formed XML by hand.
  • Knowledge of XML Schema will be helpful, too, but is not a strict prerequisite.
  • Experience with other Java EE standards, especially servlets and JSP, will be very helpful in class, but is not strictly required.

 

Skills gained

  • 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.
  • Use JAX-RS to develop simple RESTful services.
  • Control dispatching to service methods based on URL patterns and HTTP methods.
  • Bind request values to method parameters when expressed as HTTP query parameters, form values, headers, cookies, and more.
  • Manage XML content using XML Schema and JAXB.
  • Incorporate XML entities into service input and output.
  • Take advantage of lifecycle and context services available to JAX-RS services as Java EE components.

 

Course content

 

1. Overview of Web Services

  • Why Web Services?
  • Service-Oriented Architecture
  • HTTP and XML
  • SOAP
  • WSDL
  • The SOAP Vision
  • The REST Vision
  • UDDI
  • The WS-I Basic Profile
  • Security

 

2. Web Services for Java EE

  • Hosting Web Services: Scenarios
  • Web Services for Java EE
  • JAX-WS and JAXB
  • Web-Services Metadata
  • WSDL-to-Java and Java-to-WSDL Paths
  • Provider and Dispatch APIs
  • SAAJ and JAXP
  • JAX-RS for RESTful Services
  • JAXR

 

3. The Java API for XML Binding

  • The Need for Data Binding
  • XML Schema
  • Two Paths
  • JAXB Compilation
  • Mapping Schema Types to Java
  • Java-to-XML Mapping Using Annotations
  • Marshaling and Unmarshaling
  • Working with JAXB Object Models

 

4. The Simple Object Access Protocol

  • Messaging Model
  • Namespaces
  • SOAP over HTTP
  • The SOAP Envelope
  • The Message Header
  • The Message Body
  • SOAP Faults
  • Attachments

 

5. Web Services Description Language

  • Web Services as Component-Based Software
  • The Need for an IDL
  • Web Services Description Language
  • WSDL Information Model
  • The Abstract Model -- Service Semantics
  • Message Description
  • Messaging Styles
  • The Concrete Model -- Ports, Services, Locations
  • Extending WSDL -- Bindings
  • Service Description

 

6. The Java API for XML-Based Web Services

  • Two Paths
  • How It Works: Build Time and Runtime
  • The Service Endpoint Interface
  • Working from WSDL
  • Working from Java
  • RPC and Document Styles
  • One-Way Messaging
  • Binary Protocols

 

7. WSDL-to-Java Development

  • The @WebService Annotation
  • Generated Code
  • Scope of Code Generation
  • Parameter Order
  • More JAXB: Mapping Collections
  • More JAXB: Mapping Enumerations
  • Applying JAXB Customizations

8. Client-Side Development

  • Stubs and Proxies
  • Generated Code
  • Locating a Service
  • Invoking a Service
  • The @WebServiceRef Annotation

 

9. Java-to-WSDL Development

  • Generating the WSDL and Schema
  • The @WebMethod, @XmlParam, and Related Annotations
  • More JAXB: Mapping Inheritance
  • Controlling the XML Model
  • Controlling the WSDL Description
  • JAXB Customizations with @XmlJavaTypeAdapter

 

10. The Java API for RESTful Services

  • Applications
  • Resources
  • Sub-Resources
  • Providers
  • Scanning and @ApplicationPath

 

11. Dispatching Requests to Methods

  • The Application Path
  • The @Path Annotation
  • The HTTP Method Annotations
  • Sub-Resource Locators
  • Annotation Inheritance and overriding

 

12. Parameter and Return Types

  • Simple Parameter Types
  • @Consumes and @Produces Annotations
  • @XXXParam Annotations
  • The @DefaultValue Annotation
  • Return Types
  • Binary Content
  • Delivering a File

 

13. Entities and Complex Content

  • Entity Providers
  • Built-In Entity Providers
  • Working with XML
  • Driving XML Representations from Schema

 

14. Context and Lifecycle

  • Reading Web Resources
  • Finding Java EE Components
  • Finding Databases
  • Security Contexts

 

 

 

Price:  1.750 €

 

Date:  on demand


Book the course: Developing Java Web Services

Bookings are disabled.

     

- Trainings - - - Developing Java Web Services