Call : (+91) 99 8080 3767
Mail : info@EncartaLabs.com
EncartaLabs

JEE - Develop Web Services with JAX-WS & JAX-RS

( Duration: 5 Days )

The JEE – Develop Web Services with JAX-WS & JAX-RS training course covers the design and creation of SOAP and RESTful web services and clients. You will use the NetBeans Integrated Development Environment (IDE) to develop JAX-WS and JAX-RS web services and deploy those services to Oracle WebLogic Server. The majority of topics covered are portable across all application servers which support the JEE web service standards.

By attending JEE - Develop Web Services with JAX-WS & JAX-RS workshop, delegates will learn to:

  • Apply the JAX-WS API in the creation of SOAP Web Services and clients
  • Apply the JAX-RS API in the creation of RESTful Web Services
  • Secure Web Services using WS-Security, Jersey, and OAuth
  • Handle errors and exceptions in Web Services and clients
  • Create XML documents using namespace declarations and XML schema
  • Produce and consume XML and JSON content using JAXB
  • Create RESTful Web Service clients using the Jersey Client API
  • Understand the role of Web Services

  • Experience in Core Java & JEE.

This JEE - Develop Web Services with JAX-WS & JAX-RS class is ideal for:

  • JEE Developers
  • Java Developers

COURSE AGENDA

1

An Introduction to Web Services

  • Explaining the need for web services
  • Defining web services
  • Explaining the characteristics of a web service
  • Explaining the use of both XML and JSON in web services
  • Identifying the two major approaches to developing web services
  • Explaining the advantages of developing web services within a Java EE container
2

XML

  • Describing the Benefits of XML
  • Creating an XML Declaration
  • Assembling the Components of an XML Document
  • Declaring and Apply XML Namespaces
  • Validating XML Documents using XML Schemas
  • Creating XML Schemas
3

JAXB

  • Listing the Different Java XML APIs
  • Explaining the Benefits of JAXB
  • Unmarshalling XML Data with JAXB
  • Marshalling XML Data with JAXB
  • Compiling XML Schema to Java
  • Generating XML Schema from Java Classes
  • Applying JAXB Binding Annotations
  • Creating External Binding Configuration Files
4

SOAP Web Services

  • SOAP message structure
  • Using WSDL files to define web services
  • WS-I Basic Profile and WS-Policy
5

Creating JAX-WS Clients

  • Using tools to generate JAX-WS client artifacts
  • Calling SOAP web services using JAX-WS in a Java SE environment
  • Calling SOAP web services using JAX-WS in a Java EE environment
  • Using JAXB Binding customization with a SOAP web service
  • Creating a JAX-WS Dispatch client
  • Creating a client that consumes a WS-Policy enhanced services (WS-MakeConnection)
6

RESTful Web Services

  • Describing the RESTful architecture and how it can be applied to web services
  • Designing a RESTful web service and identify resources
  • Navigating a RESTful web service using hypermedia
  • Selecting the correct HTTP method to use when duplicate requests must be avoided
  • Identifying Web Service result status by HTTP response code
  • Version RESTful web services
7

Creating RESTful Clients in Java

  • Using Java SE APIs to make HTTP requests
  • Using the Jersey Client APIs to make HTTP requests
  • Processing XML and JSON in a RESTful web service client
8

Bottom-Up JAX-WS Web Services

  • Describing the benefits of Code First Design
  • Creating JAX-WS POJO Endpoints
  • Creating JAX-WS EJB Endpoints
9

Top-Down JAX-WS Web Services

  • Describing the benefits of WSDL First Design
  • Generating Service Endpoint Interfaces (SEIs) from WSDLs
  • Implementing Service Endpoint Interfaces
  • Customizing SEI Generation
10

JAX-RS RESTful Web Services

  • Download, Install, and Configure Jersey
  • Creating Application Subclasses
  • Creating Resource Classes
  • Creating Resource Methods, Sub-Resource Methods, and Sub-Resource Locator Methods
  • Producing and Consume XML and JSON content with JAX-RS
11

Web Service Error Handling

  • Describing how SOAP web services convey errors
  • Describing how REST web services convey errors
  • Returning SOAP faults
  • Returning HTTP error status codes
  • Mapping thrown Exceptions to HTTP status codes
  • Handling errors with SOAP clients
  • Handling errors with Jersey clients
12

Security Concepts

  • Explaining Authentication, Authorization, and Confidentiality
  • Applying Basic Java EE Security by using deployment descriptors (web.xml)
  • Creating users and groups and map them to application roles
  • Detailing possible web service attack vectors
13

WS-Security

  • Describing the purpose of WS-Policy, WS-SecurityPolicy, WS-Security
  • Configuring WebLogic Server for WS-Security
  • Applying WS-Policy to WebLogic JAX-WS Web Services
  • Signing and Encrypt SOAP Messages using WS-Security
14

OAuth with Jersey

  • Describing the purpose of OAuth
  • Describing the request lifecycle when using OAuth
  • Creating OAuth enabled services using Jersey
  • Creating OAuth enabled clients using Jersey

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting http://encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top