Re: Restlet and DAO

2010-04-28 Thread Nico Van Cleemput
Hi Jerome Thanks for breaking it down in babysteps for me. ;-) Cheers, Nico -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/Restlet-and-DAO-tp4962381p4973512.html Sent from the Restlet Discuss mailing list archive at Nabble.com. ---

Re: Restlet and DAO

2010-04-27 Thread Nico Van Cleemput
Hi Jerome Thanks for your pointers. If it isn't obvious, I'm quite new to this framework (and actually I'm just an amateur who is also new to web applications ;-)). I also need to apologize, because after searching a bit more I noticed that there was already a similar question in this list about a

Re: Restlet and DAO

2010-04-26 Thread Nico Van Cleemput
Yes, I had thought about that, but a filter has a beforeHandle() and a afterHandle() method, so I can easily set up a transaction before the handling and easily perform a commit or a rollback in after the handling. If I would use a BaseResource I would need to add these calls for each extending cl

Restlet and DAO

2010-04-26 Thread Nico Van Cleemput
Hi I have a question about how to inject my DAO. I looked around a bit (probably not long enough), and my guess at this point would be that I implement a filter which places the DAO in the attributes of the Request object. Is this the correct modus operandi? What about security? I'm not very keen

Re: create inbound root override problem

2010-04-26 Thread Nico Van Cleemput
If your method name is indeed createInboudRoot(), then you only have made a small typo: there is a n missing in the word inbound. ;) -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/create-inbound-root-override-problem-tp4956547p4961436.html Sent from the Restlet Disc