Handling PUT, POST and DELETE

2006-10-04 Thread Kyrre Kristiansen
Hello. I've been trying to make a small test application using restlets. First of all I'd like to say good work on bringing a framework for developing REST applications to Java, that was sorely needed! Anyway. I've looked at the sample code, and there the domain classes are subclasses of Resource

RE: Handling PUT, POST and DELETE

2006-10-04 Thread Jerome Louvel
Hi Kyrre, > I've been trying to make a small test application > using restlets. First of all I'd like to say good work > on bringing a framework for developing REST > applications to Java, that was sorely needed! Thank you! There is still much to do so I'm happy to hear your support. > Anyw

RE: Handling PUT, POST and DELETE

2006-10-04 Thread Kyrre Kristiansen
Hi again, Jerome. Thanks for your prompt reply. Fist of all, I'm very unsure of the correctness of my suggestions, I'm in a very early stage of looking at this framework. My implementation is basically a reimplementation of the Sample application, with all objects stored in-memory and lost upon

Re: Handling PUT, POST and DELETE

2006-10-04 Thread Sean Landis
I appreciate the fact that Resources can delete themselves and that makes sense when a resource isn't a participant in a containment hierarchy. Likewise, support for containment of resources is important because many resources are modeled that way. Locking into one or the other is too limiting. Mak