Preferred method of contact:

Building REST and SOAP Web Services with Java

COURSE TYPE

Advanced

Course Number

577

Duration

4 Days

PDF Add to WishList

This course provides experienced Java programmers with the skills to write new SOAP and REST web services, and access existing services. With this training, you also learn how to secure web services using both Java-specific and language-independent security technologies, and how the Java APIs — JAX-WS and JAX-RS — deliver a set of powerful tools for developing a Service-Oriented Architecture (SOA).

You Will Learn How To

  • Develop, deploy, and monitor SOAP and RESTful web services and web service clients with JAX-WS and JAX-RS
  • Implement a Service-Oriented Architecture (SOA) using web services
  • Create and deploy WSDL-first and code-first SOAP web services
  • Build secure SOAP and REST clients

Important Course Information

Requirements:

  • Knowledge at the level of:
  • Three months of experience writing Java programs, including an understanding of Java classes and the inheritance model
  • You should be able to:
    • Create and run a complete stand-alone Java application
    • Use the standard flow control constructs (if/then/else/while/for)
    • Instantiate Java objects and call instance methods
    • Create classes that implement interfaces

Course Outline

  • Web Services Overview

Interoperable applications with SOA

  • Designing an SOA integration architecture
  • Implementing SOAs with web services

Java standard APIs for web services

  • Building SOAP-based services with JAX-WS
  • Developing RESTful services with JAX-RS
  • Defining SOAP Messages with WSDL

XML essentials

  • XML namespaces
  • Describing XML with schema

Structure of SOAP messages

  • Role of SOAP in web services
  • Operations, messages and faults

Anatomy of a WSDL document

  • Defining the interfaces of a web service
  • Specifying implementation
  • Implementing Code-First Web Services

Exposing plain old Java objects (POJOs) as web services

  • Applying JAX-WS annotations to POJOs
  • Configuring and deploying a web service implementation

Implementing SOAP clients in Java

  • Generating client-side artefacts from WSDL
  • Modifying client code to permit message monitoring
  • Authenticating and authorising clients

Augmenting SOAP-based services

  • Incorporating best practices for web services
  • Implementing policies for security, reliability and message optimisation
  • Generating Contract-First Web Services

Contract-first service development

  • Comparing contract-first and code-first services
  • Creating portable Java artefacts

Importing a WSDL document

  • Building interoperable applications by conforming to Web Services Interoperability (WS-I) standards
  • Implementing a web service endpoint using JAX-WS
  • Building RESTful Web Services

Introduction to REST (Representational State Transfer)

  • Describing the REST architectural style
  • Comparing SOAP and RESTful web services

Developing RESTful web services using JAX-RS

  • Adding JAX-RS annotations to a POJO
  • Configuring result types using HTTP request headers
  • Deploying a JAX-WS service

Customising a RESTful Service Implementation

  • Interacting with request URLs
  • Mapping URLs to Java classes and methods
  • Binding URL components to method arguments
  • Providing Server-Side Support for Ajax Clients

Handling JavaScript Object Notation (JSON)

  • Applying cases for JSON with RESTful services
  • Interpreting a message formatted as JSON

Mapping Java to JSON

  • Controlling JSON generation with JAXB annotations
  • Defining a JSON return type from a Java method
  • Developing RESTful Clients

Dispatching REST messages using JAX-RS

  • Building the client's request
  • Handling the service's response code and exceptions

Marshalling JavaBeans with JAXB

  • Mapping XML with Java API for XML Binding (JAXB)
  • Converting Java arguments with JAXB and JAX-RS

Processing asynchronous messages

  • Implementing server-push with JAX-RS
  • Delivering asynchronous client requests
  • Securing Web Services

Configuring a secure web service

  • Configuring HTTP Basic Authentication
  • Establishing secure message transmission with SSL/TLS

Authenticating and authorising clients

  • Controlling access to web services and methods
  • Providing authentication information to web services
Show complete outline
Show Less

Convenient Ways to Attend This Instructor-Led Course

Hassle-Free Enrolment: No advance payment required to reserve your seat.
Tuition Fee due 30 days after you attend your course.

In the Classroom

Live, Online

Private Team Training

In the Classroom — OR — Live, Online

Tuition Fee — Standard: £2095  

AFTERNOON START: Attend these live courses online via Anyware

12 - 15 Dec (4 Days)
2:00 PM - 9:30 PM GMT
Online (AnyWare) Online (AnyWare) Reserve Your Seat

How would you like to attend?

Live, Online

13 - 16 Feb (4 Days)
2:00 PM - 9:30 PM GMT
Herndon, VA / Online (AnyWare) Herndon, VA / Online (AnyWare) Reserve Your Seat

How would you like to attend?

Live, Online
In-Class

24 - 27 Apr (4 Days)
2:00 PM - 9:30 PM BST
Rockville, MD / Online (AnyWare) Rockville, MD / Online (AnyWare) Reserve Your Seat

How would you like to attend?

Live, Online
In-Class

5 - 8 Jun (4 Days)
2:00 PM - 9:30 PM BST
Herndon, VA / Online (AnyWare) Herndon, VA / Online (AnyWare) Reserve Your Seat

How would you like to attend?

Live, Online
In-Class

25 - 28 Sep (4 Days)
2:00 PM - 9:30 PM BST
Herndon, VA / Online (AnyWare) Herndon, VA / Online (AnyWare) Reserve Your Seat

How would you like to attend?

Live, Online
In-Class

23 - 26 Oct (4 Days)
2:00 PM - 9:30 PM BST
Rockville, MD / Online (AnyWare) Rockville, MD / Online (AnyWare) Reserve Your Seat

How would you like to attend?

Live, Online
In-Class

Guaranteed to Run

Private Team Training

Enroling at least 3 people in this course? Consider bringing this (or any course that can be custom designed) to your preferred location as a private team training.

For details, call 0800 282 353 or Click here »

Tuition Fee

Standard

In Classroom or
Online

Standard

£2095

Private Team Training

Contact Us »

Course Tuition Fee Includes:

After-Course Instructor Coaching
When you return to work, you are entitled to schedule a free coaching session with your instructor for help and guidance as you apply your new skills.

After-Course Computing Sandbox
You'll be given remote access to a preconfigured virtual machine for you to redo your hands-on exercises, develop/test new code, and experiment with the same software used in your course.

Free Course Exam
You can take your Learning Tree course exam on the last day of your course or online at any time after class and receive a Certificate of Achievement with the designation "Awarded with Distinction."

Prev
Next

Training Hours

Standard class hours:
9:00 a.m. - 4:30 p.m.

Last day class hours:
9:00 a.m. - 3:30 p.m.

Free Course Exam – Last Day:
3:30 p.m. - 4:30 p.m.

Each class day:
Informal discussion with instructor about your projects or areas of special interest:
4:30 p.m. - 5:30 p.m.

AFTERNOON START class hours:
2:00 p.m. - 9:30 p.m.


Last day class hours:
2:00 p.m. - 8:30 p.m.


Free Course Exam – Last Day:
8:30 p.m. - 9:30 p.m.


Each class day:
Informal discussion with instructor about your projects or areas of special interest
9:30 p.m. - 10:30 p.m.

- ,

Prev
Next
Chat Now

Please Choose a Language

Canada - English

Canada - Français