Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Building Asynchronous RESTful Services With Jersey

via Pluralsight

Overview

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.

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.

Syllabus

  • GET-ing Started With Grizzly 23mins
  • Testing with JerseyTest 17mins
  • Dependency Injection and POST Support 18mins
  • Asynchronous RESTful Resources 18mins
  • Jackson for JSON and XML 51mins
  • Validation, Exceptions, and Conditional GET Support 25mins
  • Adding PATCH and If-Match Support 14mins
  • Filters in Jersey 22mins

Taught by

Paul O'Fallon

Reviews

4.5 rating at Pluralsight based on 107 ratings

Start your review of Building Asynchronous RESTful Services With Jersey

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.