Skip to content


November 18, 2008


ROA = Resource oriented architecture

1. Resource
2. URI :Address to a resource
3. Statelessness: Each request disconnected from others.happens in isolation (Critical !! )
4. Representation:  XML.Json , etc – One resource can have different representation
5. Custom? URI

Restlet framework:
1. Resource,
2. URI : From design point – Use only NOUNS,
3. Representation (XML)

Application -> Extend this to create mapping between URI and Resource CLASS.
Representation -> BaseRepresentation -> To return the data – use the subclass of this.
MediaType -> Set this by using Variant Class
Resource -> Subclass of this overrides the get put, post methods
Web.xml – Modify for – restlet servlet and adding context param of application class, (whose method createRoot is called)
Exception handling to be done by standard http error codes

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: