Building Asynchronous RESTful Services With Jersey
![Pluralsight](https://static.mytechlogy.com/cache/198e0a947da0127606f2749b57b54665_w30_h30_cp_sc.png)
Pluralsight
Course Summary
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 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.
-
+
Course Syllabus
GET-ing Started With Grizzly- 23m 53s
—Introducing Grizzly 4m 6s
—HTTP vs. Servlet Containers 2m 54s
—Archetypes & ResourceConfig 3m 51s
—Demo: Creating Our Starter Application 6m 6s
—Our Books API 1m 24s
—Demo: Adding a Books Resource 5m 30sTesting with JerseyTest- 17m 24s
—Configuring the Client and Container 3m 34s
—Invoking an Endpoint and Evaluating the Results 2m 57s
—Demo: Migrating to JerseyTest 2m 36s
—Demo: Adding Tests for Our Books API 2m 45s
—Enabling Features with Test Properties (with Demo) 2m 40s
—A Failing Test of Our Resource 2m 51sDependency Injection and POST Support- 18m 11sAsynchronous RESTful Resources- 18m 12sJackson for JSON and XML- 51m 15sValidation, Exceptions, and Conditional GET Support- 25m 30sAdding PATCH and If-Match Support- 14m 59sFilters in Jersey- 22m 1s