Fast Track to RESTful Services in Java (TT7305)

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

Prerequisite
Please contact us for information about prerequisites.

Expected Duration
2 day

Description

This 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 that are used in building these services. This understanding is critical to being able to diagnose, troubleshoot, tune, and perform other lifecycle activities.

Objective

1. Working with REST

  • Overview of REST
    • REpresentational State Transfer
    • REST Characteristics
    • REST Elements
    • REST Architectural Principles
    • REST and HTTP
    • REST/HTTP: Representation-Oriented
    • REST Design Principles
  • 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

2. Implementing REST with JAX-RS

  • Overview of JAX-RS
    • JAX-RS Implementations
    • JAX-RS Service Class
    • JAX-RS Service Lifecycle Options
    • Consuming RESTful Services
  • @Path: URI Matching
    • @Path Annotation
    • @Path Expressions
    • @Path and Regular Expressions
    • HTTP Method Annotations
  • Injection Using JAX-RS
    • Parameters
    • Working with @PathParam
    • Header and Cookie Values Can be Injected
    • Working Programmatically with URI
  • Handling Exceptions
    • REST/HTTP 1.1 Error Response Codes
    • Overview of Exception Handling in JAX-RS
    • JAX-RS’s WebApplicationException
  • Handling Content
    • JAX-RS Built-In Content Handlers
    • Content Marshaling
    • Using JAXB With JAX-RS
    • Working With JSON
    • Content Negotiation (Conneg)
  • RESTful Services in Spring
    • Spring Support for REST
    • Spring’s Parameter Injection
    • Handling Transformations in Spring
    • Negotiated view-based rendering
    • HTTP Message Converters
  • RESTful Clients in Spring
    • Spring’s Hidden Method Field
    • Processing Incoming REST Requests
    • Spring’s Support for REST Clients
    • Performing GET Requests and Other Methods

3. Security and REST

  • Securing Untrusted Input
    • Input Data Attacks
    • Tenacious D
    • Responding to Error State
    • Best Practices for Untrusted Data
  • Defending REST
    • How Attackers See REST
    • Factors that Increase Attack Surface
    • Bridging and its Potential Problems
    • Dangerous Developer Assumptions
    • Three Basic Tenets for Safe REST

SUBSCRIPTION COST


$1,695.00

Select Course Options

 

NEED HELP OR NOT SURE?