Copyright
Brief Table of Contents
Table of Contents
Foreword
Preface
Acknowledgments
About this Book
About the Cover Illustration
1. Getting started
Chapter 1. Introducing the Restlet Framework
1.1. “Hello World” with Restlet
1.1.1. Coding a ServerResource subclass
1.1.2. Running the server
1.1.3. Using the ClientResource class
1.2. Overview of the Restlet Framework
1.2.1. Main benefits of the Restlet API
1.2.2. Overall design of the Restlet Framework
1.2.3. Available editions and deployment targets
1.3. Summary
Chapter 2. Beginning a Restlet application
2.1. The purpose of Restlet applications
2.2. The structure of Restlet applications
2.3. Setting up a Restlet application
2.3.1. Creating an Application subclass
2.3.2. Setting application properties
2.3.3. Exploring the application context
2.3.4. Configuring common services
2.4. The Restlet routing system
2.4.1. Preprocessing and postprocessing calls with a Filter
2.4.2. Using a router to dispatch calls based on URIs
2.5. Using Restlet resources in an application
2.5.1. Resource, the base of all resources
2.5.2. Using ServerResource as target of calls
2.5.3. Using ClientResource as source of calls
2.5.4. Higher-level resources with Java annotations
2.5.5. Updating the example mail application
2.6. Summary
Chapter 3. Deploying a Restlet application
3.1. The purpose of Restlet components
3.2. The structure of Restlet components
3.3. Standalone deployment with Java SE
3.3.1. Creating a Component subclass
3.3.2. Adding server and client connectors