Re: Resources and Representations

2007-09-05 Thread Rob Heittman
On #1, I don't know much about Atom but if it's an XML type feed, I'd extend XmlRepresentation, SaxRepresentation, or DomRepresentation, or at the very least OutputRepresentation (which the API recommends as a good starting point for user defined Representations). On #2, the incoming

Re: Resources and Representations

2007-09-05 Thread Thierry Boileau
Hi, On #1 : I share Rob's point of view. on #2 : when using an HTTP server extension such as Jetty, Simple or AsynchWeb, all call classes derive from the com.noelios.restlet.http.HttpServerCall which converts the request entity into an InputRepresentation (have a look the method

Re: Resources and Representations

2006-08-10 Thread Piyush Purang
Perhaps a WIKI on restlet.org with a general/open examples section would be great so that examples could be uploaded and discussions can be had on the uploaded examples.. I would then upload my solution to configuring components using an XML file (JAXB and handler classes). Chris could upload

Re: Resources and Representations

2006-08-09 Thread Chris Winters
Jerome Louvel wrote: ... Agreed, the tutorial needs to be refocused. I'm considering writing a separate tutorial that will focus only on Restlet Applications, Resources and Representations, going through a more real life example. If Chris Winters wants to contribute his BookStore application to

RE: Resources and Representations

2006-08-08 Thread Jerome Louvel
Hi Piyush, I find that the Resource and its representations is a central part of the dissertation but the tutorial somehow doesn't bring that to the fore. Would you agree on that? I do :-) and there is a plan to fill this hole: http://restlet.tigris.org/issues/show_bug.cgi?id=118 The