Developing RESTful Services in Java Training in Mountain View

Enroll in or hire us to teach our Developing RESTful Services in Java class in Mountain View, California by calling us @303.377.6176. Like all HSG classes, Developing RESTful Services in Java may be offered either onsite or via instructor led virtual training. Consider looking at our public training schedule to see if it is scheduled: Public Training Classes
Provided there are enough attendees, Developing RESTful Services in Java may be taught at one of our local training facilities.
We offer private customized training for groups of 3 or more attendees.

Course Description

 
This course shows experienced Java programmers how to build RESTful web services using the Java API for RESTful Web Services, or JAX-RS. We begin with an overview of web services development in the Java EE platform, including SOAP, WSDL, REST; JAX-WS, JAXB, and JAX-RS. Then students learn to work with JAXB to bind Java object models to XML Schema. The bulk of the course is devoted to study of JAX-RS: 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.
Course Length: 3 Days
Course Tuition: $1390 (US)

Prerequisites

Strong Java programming skills are essential

Course Outline

 

Chapter 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

Chapter 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

Chapter 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

Chapter 4. The Java API for RESTful Services

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

Chapter 5. Dispatching Requests to Methods

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

Chapter 6. Parameter and Return Types

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

Chapter 7. Entities and Complex Content

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

Chapter 8. Context and Lifecycle

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

Appendix A. Course Tools and Utilities

Appendix B. Handy Guide to Web-Services Acronyms

Course Directory [training on all levels]

Upcoming Classes
Gain insight and ideas from students with different perspectives and experiences.

Interesting Reads Take a class with us and receive a book of your choosing for 50% off MSRP.