Chapter 2. Beginning a Restlet application


This chapter covers
  • Setting up a Restlet application
  • Filtering and dispatching calls with Restlet’s routing system
  • Using client-side and server-side Restlet resources
  • Method-overriding and annotation-based resource implementation


In chapter 1 we introduced the Restlet Framework with a basic demonstration of a single resource implementation. In this chapter you’ll see the first structuring features of the framework with Restlet applications.

After learning the purpose of Restlet applications, you’ll see how to set them up, how to filter and dispatch calls with the Restlet routing system, and how to use Restlet resources as targets or sources of calls. We also show how to implement resources ...

Get Restlet in Action: Developing RESTful web APIs in Java now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.