RESTful Services, Part 2 of 5: Injection and Sub Resources

with John Kidd

Just like any modern framework running on a Java application server, JAX-RS defines a lifecycle for the resources that you create. In this course, you will learn about the JAX-RS lifecycles of Instance per request, as well as how singletons behave. Along with those topics we will also explore all of the elements that can be injected into a service to provide access to all the different parts of the HTTP request and response. Lastly, we will look at the power of sub resources.

Course Outline