Restful Objects 1.0 Users Guide

RESTful Web Services for Naked Objects 4.0.x

Dan Haywood

0.1

Permission is granted to make and distribute verbatim copies of this manual provided that the copyright notice and this permission notice are preserved on all copies.


Table of Contents

Preface
1. Introduction
1.1. Introducing REST
1.2. Introducing Restful Objects
1.3. Limitations of REST
2. Using Restful Objects in Prototypes
2.1. Parent Module
2.2. CommandLine Module
2.3. Launch Configuration
2.4. Testing the Viewer
3. Resources
3.1. HomePageResource
3.2. Services Resource
3.3. Object Resource
3.3.1. Objects
3.3.2. Properties
3.3.3. Collections
3.3.4. Actions
3.4. Metamodel (specs) Resource
3.4.1. All Classes
3.4.2. Class (NakedObjectSpecification)
3.4.3. Class Members (NakedObjectMember)
3.4.4. Facets
3.5. Security (user) Resource
4. Writing Client-side Applications
4.1. AbstractRestfulClient
4.2. RestEasy's Client-side Framework
5. Deploying Restful Objects Webapps
5.1. Update POM Dependencies
5.2. web.xml
5.2.1. DTD and Display Name
5.2.2. Context Parameters
5.2.3. Filters and Filter Mappings
5.2.4. Listeners
5.2.5. Servlets and Servlet Mappings
5.3. Testing
5.3.1. Using NakedObjectsWebServer
5.3.2. Using Maven Jetty plugin
5.3.3. Deploy to an External Servlet Container
5.4. Authentication

List of Tables

1.1. Verbs by Resources