Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

RESTful Services in Java

( Duration: 2 Days )

This RESTful Services in Java training course introduces developers to the core concepts, principles, and Java implementations for RESTful services. Today's development environments are increasingly dominated by sophisticated tooling that makes the implementation of RESTful services less arduous. The proper design of these services is far more complex and demanding. In this course, you will learn the principles and technologies used in building these services. This understanding is critical to being able to diagnose, troubleshoot, tune, and perform other lifecycle activities.

By attending RESTful Services in Java workshop, delegates will learn:

  • Basic concepts of REST
  • Similarities and differences between RESTful services and SOAP-based services
  • Security concerns associated with RESTful services
  • Design, develop, and deploy real-world RESTful Services
  • Implement RESTful services using JAX-RS
  • Implement RESTful services using Spring REST
  • Implement RESTful Java clients:
    • Develop JAX-RS Java clients using the JAX-RS 2.0 Client API
    • Manage different Web targets
    • Deal with content negotiation on the client
    • Work with different data formats including XML and JSON
    • Properly process server responses
  • Implement JAX-RS Filters and Interceptors
    • Intercept and manipulate service requests and responses
    • Dynamically register interceptor to resources
    • Understand the concept of NameBinding
  • Discover asynchronous JAX-RS processing
    • Implement an asynchronous JAX-RS service endpoint
    • Register response listeners

  • Working knowledge (at least one year) with Servlets and Spring
  • Familiarity with XML and JSON

The RESTful Services in Java class is ideal for:

  • Experienced Java developers and architects who need to identify, design, and implement web services.

COURSE AGENDA

1

Overview of REST

  • REpresentational State Transfer
  • REST Characteristics
  • REST Elements
  • REST Architectural Principles
  • REST and HTTP
  • REST/HTTP: Representation-Oriented
  • REST Design Principles
2

Designing RESTful Services

  • Effectively Designing RESTful Services
  • Best Practices for Endpoint Definition
  • Using Query Parameters
  • Working with HTTP GET and DELETE
  • Working with HTTP PUT
  • Working with HTTP POST
  • Best Practices for HTTP Methods
  • Handling Additional Operations
3

Introduction to JAX-RS

  • Understand some of the features of the JAX-RS framework
  • Be familiar with process for implementing RESTful services
  • Develop and deploy a simple REST service
  • How JAXB supports XML interoperability
  • How to use JAXB with JAX-RS
4

@Path: URI Matching

  • JAX-RS mechanisms for mapping URIs to resource
  • How to use @Path expressions to map URIs
  • How to use @Path expressions to extract values from URIs
5

JAX-RS Content Negotiation

  • JAX-RS built-in content handler
  • How to inject content handlers into service
  • Basics of working with JSO
  • Capabilities for HTTP content negotiation
  • JAX-RS mechanisms for supporting content negotiation
6

JAX-RS Request and Response

  • How information about the request can be injected into the resource
  • The different injection targets of the resource
  • How to build a “complex” response
  • How to respond to a HTTP POST
  • The JAX-RS exception hierarchy
  • How exceptions can be mapped to response codes
  • Dynamically resolve path template values
  • Understand some of the return codes
  • Filter client request and server responses
7

JAX-RS Filters and Interceptors

  • Understand the purpose of JAX-RS filters
  • Develop interceptors
  • Define global filters and interceptors
  • Dynamically add interceptors and filters
  • Understand NameBinding
8

Asynchronous JAX-RS

  • Make asynchronous requests
  • Develop resources to process request asynchronously
9

JAX-RS Client API

  • Invoke a JAX-RS service using the client API
  • Understand the purpose of the WebTarget object
10

Securing Untrusted Input

  • Input data attacks
  • Protecting a web service
  • Tenacious D
  • Responding to error state
11

Defending RESTful Services

  • How attackers see REST
  • Factors that increase attack surface
  • Bridging and its potential problems
  • Dangerous developer assumptions
  • Three basic tenets for safe REST

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 https://www.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
Notice
X