Building Asynchronous RESTful Services With Jersey

In this course, we explore writing asynchronous services, as well as many other features found in Jersey. We also cover dependency injection, exception mapping, filters, Grizzly, Jackson, JerseyTest, and more.
Course info
Rating
(100)
Level
Advanced
Updated
Jun 13, 2014
Duration
3h 11m
Table of contents
GET-ing Started With Grizzly
Testing with JerseyTest
Dependency Injection and POST Support
Asynchronous RESTful Resources
Jackson for JSON and XML
Validation, Exceptions, and Conditional GET Support
Adding PATCH and If-Match Support
Filters in Jersey
Description
Course info
Rating
(100)
Level
Advanced
Updated
Jun 13, 2014
Duration
3h 11m
Description

At the start of the course we establish a basic "Books" API -- an API that we continually improve and build upon throughout the course. We begin by deploying to Grizzly, and then implement a series of tests with JerseyTest. These tests are also continually expanded throughout the course. We explore Jersey's built-in dependency injection, and improve our API to take advantage of Jersey's async support. We switch from the built-in MOXy library in favor of Jackson to render our highly-tailored JSON and XML, and build a custom MessageBodyWriter along the way. We explore mapping exceptions to responses, and supporting conditional GET requests. We implement our own PATCH verb, and along with it, support for conditional updates as well. Finally we explore Jersey's support for filters and implement our own custom filter.

About the author
About the author

An Enterprise Architect by day and an open-source contributor by night, Paul has more than 19 years in the Information Technology industry spanning academic, start-up and enterprise environments.

More from the author
Node.js: The Big Picture
Beginner
55m
Jun 3, 2019
Cassandra for Developers
Intermediate
3h 28m
Aug 12, 2015