-
User guide
- Part 1 - Introduction
- Part 2 - Core Restlet
- Part 3 - Restlet Editions
- Part 4 - Restlet Extensions
- Appendices
- Tutorials
- Javadocs
- Change Log
Presentation layer
When compared to the Servlet API, the Restlet API doesn’t have a sister API like Java Server Pages (JSP). Instead we made the design choice to be equally open to all presentation technologies. This openess is materialized in the Representation class which is used for response entities.
More concretely, we provide integrations with three popular template technologies : XSLT, FreeMarker and Apache Velocity. In addition, integration with Facelets has been achieved by a third party and it should be very easy to support any other reusable template technology.
The design idea of those extensions is to use a TemplateRepresentation that combines at generation time a data model with a template document.