RESTful Web Services

OVERVIEW
Building Strategic Influence in Matrix Organizations

This REST Training program helps participants build an expertise in Representational State Transfer (REST); the course covers topics like Designing REST services, building JAX-RS services, understanding JAX-RS injection and other important aspects.

WHAT YOU'LL LEARN
Why you shouldn't miss this course

By the end of this course, participants will have the leadership toolkit to shape and steer GenAI portfolios across their organization.

01Design RESTful services
02Build JAX-RS services
03Understand JAX-RS injection
04Configure HTTP content negotiation
05Scale JAX-RS applications
06Build RESTful clients
07Compare & contrast JAX-RS implementations

PREREQUISITES
Recommended experience

CURRICULUM
Structured for
Strategic Application

Definition

  • Legacy Systems
  • Benefits of Web Services
  • Architecture

Standards and Portability

  • XML and Related Standards
  • JSON
  • HTTP

SOAP-Based Services

  • Overview
  • SOAP Messages, Requests, and Responses
  • WSDL
  • Java APIs and Programming Models

Overview and Principles

  • REST Characteristics
  • Resources and Operations
  • REST Principles
  • Requests and Responses
  • REST APIs
  • URI Templates
  • GET, POST, PUT, DELETE
  • Safe and Idempotent Methods
  • Comparison of REST and SOAP

APIs and Implementations

  • JAX-RS Overview, Annotations
  • JAX-RS Implementations

Runtime Environment

  • Application Server, Servlet-Only Container
  • Architectural and Implementation Perspectives
  • Configuring the Application

Applications, Resources, and Providers

  • JAX-RS Applications
  • Resource Classes and @Path
  • Provider Classes and @Provider
  • Default Lifecycles
  • The Application Class and rest-path

Ajax-JavaScript Clients

  • Overview
  • Classic vs. Ajax Interactions
  • Working with Ajax-JavaScript

Resources and Sub-Resources

Root Resource Classes,

Resource Methods,

Sub Resource Methods
@GET, @POST, @PUT, @DELETE

  • Sub Resource Locators
  • Naming Conventions and Rules
  • Dispatching Requests to Methods

Binding Request Data

Request Data Injection and Conversion

  • Default Values
  • Fields vs. Method Parameters

Context-Based Injection

  • Injection via @Context
  • Context-Injectable Types
  • Context Injection from the Web Container
  • Fields vs. Method Parameters

Complex Content and Entities

Working with Complex Content

  • @Consumes and @Produces
  • Content Negotiation
  • Standard Entity Providers

Working with JSON

Returning Data as JSON

  • Working with JSON in JavaScript
  • Processing JSON Responses

Working with XML

JAXB and Mapping to XML

  • Returning Data as XML
  • Working with XML on the Client
  • Customizing Content, Custom Media Types
  • Working with Collections

XML vs. JSON

Response Class

Return Types and HTTP Response Codes

  • Appropriate Responses for HTTP Methods
  • Choosing the Right Response

Error Handling

Exception Mappers

  • Web Application Exception
  • Response vs. Thrown Exception
  • Error Responses

Sub Resource Locators

Motivation and Uses

  • Locating the Locator
  • Initializing the Sub Resource

Binary Content

  • File, InputStream, StreamingOutput
  • Using StreamingOutput
  • Java Client – Options and Ingredients
  • Building and Sending the Request
  • Consuming the Response
  • Options for the Response Data
  • Asynchronous Requests

Integration with EJB

CDI – Contexts and Dependency Injection

  • Activation, Scopes, and JAX-RS Lifecycles
  • Injection in CDI-Enabled JAX-RS Applications
  • Enhanced Java EE Lifecycle

Java EE Security Overview

  • Security Requirements in JAX-RS
  • Declarative, Role-Based Security
  • Security Constraints
  • Annotation-Based Security Authentication
  • Configuration
  • Authentication Models: Basic, Digest, Client-Cert Programmatic Security
  • Security Context
  • Client Security HTTPS

RECOMMENDED PARTICIPANT SETUP
This course follows Cognixia's AI-first,
hands-on learning model

Access to sanitized process maps, KPI definitions, candidate initiative lists, and basic cost baselines (time, cycle time, error or rework rates)

INTERESTED IN THIS COURSE?
Let's Connect

Speak with a Cognixia specialist about enrollment options, custom cohorts for your leadership team, or tailored delivery formats for your organization.

Response within 1 business day
Available in 5 delivery formats globally
Volume pricing for teams of 10+
Get in touch

One of our specialists will contact you within one business day.

WHY COGNIXIA
Why Cognixia for This Course

KEEP EXPLORING
Mapped Official Learning
Leadership
Equip enterprise leaders to drive culture, skills, policy, and operating-model change required for sustainable Generative AI adoption at scale.
In-Person Workshop, Virtual Instructor-Led
Applied
Enterprise-grade security, governance, and Responsible AI controls to protect, govern, and operate GenAI and agentic systems safely at scale.
In-Person Workshop, Virtual Instructor-Led
Applied
Build portable, enterprise-grade GenAI systems that run consistently across Databricks, AWS, and Google Vertex AI—without vendor lock-in, quality drift, or governance gaps.
In-Person Workshop, Virtual Instructor-Led
Applied
Systematic testing, evaluation, and quality engineering frameworks for validating GenAI and agentic AI systems at enterprise scale.
In-Person Workshop, Virtual Instructor-Led
Applied
Production-grade GenAIOps and LLMOps practices to deploy, monitor, evaluate, and govern enterprise-scale LLM and agentic applications with reliability and control.
In-Person Workshop, Virtual Instructor-Led
Applied
Design, build, evaluate, and operate production-grade agentic AI systems with multi-agent orchestration, tool integration, and enterprise-grade safety controls.
In-Person Workshop, Virtual Instructor-Led

READY TO SHAPE YOUR AI FUTURE?
Let's build the workforce
of the future

Enroll your leadership cohort in Designing GenAI Use-Case Portfolios & Business Cases.
Custom cohorts available for enterprise teams.