Chapter 1. Introducing the Restlet Framework


This chapter covers
  • Writing your first Restlet client and server programs
  • Restlet’s features and benefits
  • Overview of the Restlet Framework, an open source REST framework for Java


Let’s say you headed a team that built a new kind of email service. It was a web application written in Java that made heavy use of servlets, and although initially it worked fine, it didn’t scale well to larger loads when launched in the cloud. Your team had trouble responding to requests to expose the service to clients other than a browser using a SOAP-based web services stack. As a result, your service lost ground to more scalable and interoperable systems; your team was disbanded; and you were let go.

You’re ...

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.