Consulting Training Blog Careers About Us Contact Us

Complete Java RESTful Services Training

Course ID: INT-2239
Duration: 2 Days

Upcoming Classes

Sorry, nothing scheduled right now. Click the Get Notified button below to be alerted when a class is scheduled.

Get Notified

On Site/Private

Can't find a class that fits right for you? Contact us to inquire about scheduling your own private class

Contact Us

Description

In Complete Java RESTful Services, students not only learn the concepts and design principles associated with Representational State Transfer (REST), they also take a deep dive into JAX-RS – Java’s standard API for REST development.  This is an intense hands-on course for Java programmers intent on learning how to design and build RESTful services and clients that exchange information in plain text, XML, JSON and other formats.  Students spend almost 50% of their time in labs building JAX-RS services and REST clients. 

Bring This Course To You

For groups of 5 or more, let Intertech bring this course to your location. Customized versions tailored towards your objectives are also available.

Learn More

Learning Objectives

  • Understand the concepts of REST.
  • Explore the conventions and design principals associated with REST services.
  • Learn the JAX-RS API for building services from annotated plain old Java objects (POJOs).
  • See how to produce and consume multiple data formats to include XML and JSON.
  • Examine how to secure Java REST services.
  • See how to build Java REST client applications.
     

Audience

This course is designed for Java programmers who have interest in learning how to build or maintain Java RESTful Web services using JAX-RS. 

Prerequisites

A solid understanding of Java is required.  An understanding of HTTP is also expected.  An understanding of XML is helpful.

Course Outline

Introducing REST

  • Representational State Transfer (REST)
  • Resource Identifiers 1-5
  • REST Operations 1-7
  • Representational State Formats 1-9
  • Status Codes and Error Handling
  • REST versus SOAP
  • REST in the Real World
  • RESTful Services and Java

JAX-RS Introduction

  • JAX-RS
  • Jersey Setup
  • JAX-RS Services
  • @Produces
  • @Consumes

Advanced JAX-RS Features

  • Path Parameters
  • Query Parameters
  • Cookie and Header Parameters
  • Form and Matrix Parameters
  • JAX-RS @Context
  • Exception Handling
  • Resource Lifecycle
  • JAX-RS Resource Deployment Options

XML and JAX-RS

  • JAXB
  • Producing XML with JAXB Annotations
  • Consuming XML with JAXB Annotations
  • JAXB Alternatives

JSON and JAX-RS

  • What is JSON?
  • JSON Syntax
  • Producing and Consuming JSON with JAX-RS

Securing Services

  • Securing RESTful Services
  • SSL/TLS
  • SSL/TLS Benefits and Issues
  • Java EE Security
  • Security Constraints
  • Defining Security Roles
  • Realms and Identity Storage
  • Authentication Types
  • Programmatic Security

Java REST Clients

  • REST Client Options
  • java.net Clients
  • Apache HttpComponents
  • Jersey REST Clients

Appendix A - XML Syntax

  • An XML History
  • HTML
  • XML vs. HTML
  • XML Syntax
  • Elements
  • Attributes
  • Attribute vs. Element
  • XML Miscellaneous
  • Well-Formed

Appendix B - XML Namespaces

  • XML Name Conflicts
  • Namespaces
  • The Namespace Identifier
  • Qualified and Unqualified Names
  • Global and Local Scope

Appendix C - XML Schema

  • XML Schema
  • XML Schema Specifications
     

Free Resources from Intertech

Complete Guide to Becoming a Full Stack Developer

Free Book Chapter: Spring Web

Free Whitepaper: Java SOAP With Attachments API & Cool XML Tools

X