Hello everyone,

I'm currently working on my first restlet application and have one big
question. Typically when I want to persist some data I will not know certain
information about it (i.e. the ID of the data). Instead of creating the
object and searching for it I usually design my DAO to return the same
object with the missing information filled in once it's been submitted to
the persistence layer.

I have noticed in building my restlet app that the storeRepresentation
method does not return any type of data, only a status. Some of the clients
that will be using the service would greatly benefit from the DAO style of
data creation. So, how can I mimick this behavior in restlet so that a
successful PUT returns the data back to the client as representation?

Thanks for your time,

Jean-Philippe

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1027657

Reply via email to