Hello limss, so, you are aware the world of resources and domain objects are not the same. Good point. Just a few words on how to design your REST interface. You must define the resource you want to expose, give them name (URIs), define the methods (let's say HTTP methods : GET, PUT, DELETE, POST) you want to apply on them, the kind of representations you want to exchange with them. Having said that, what do you mean by "User are allowed to add on any new ObjectA3" ? Which resource is called? Is there a "container" resource?
Best regards, Thierry Boileau > Currently I have a few objects (ObjectA1, ObjectA2) that are inherit from > parent class ObjectA. User are allowed to add on any new ObjectA3 as long as > they are inherited from ObjectA. > > May I know what would be the best way to define the URL pattern as well as > Resource so that when new Objects added in, I do not need to add in the new > binding to the Router ? > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1233165

