Re: spring and restlet

2007-03-27 Thread Jim Alateras
Jerome, I did use the latest source. It turns out that problem was not a restlet problem but a one related to deploying to application on tomcat... thxs for your help. cheers Jerome Louvel wrote: Hi Jim, I have just tested your code and it worked for me. Did you get the latest current.zip

RE: spring and restlet

2007-03-27 Thread Jerome Louvel
Hi Jim, I have just tested your code and it worked for me. Did you get the latest current.zip? I have updated it after my initial reply to you to fix a couple of issues. In any case, I have attached my test files. Best regards, Jerome > -Message d'origine- > De : Jim Alateras [mailto

Re: spring and restlet

2007-03-27 Thread Jim Alateras
Jerome, I have the integration with spring working through the extension of FrameworkServlet but I am having some issues with the Router. I am trying to attach resources to the Router as follows // create the converter this.converter = new ServletConverter(getServletC

Restlet benchmark

2007-03-27 Thread Thierry Boileau
Hi all, We are pleased to announce that a new section "Benchmark" has been added in chapter "Documentation". At this time, it presents a few tests made with Apache Bench, but it will be completed in the future with other tests made with other benchmark products. Here is the URL => http://

RE: New FAQ on Spring integration

2007-03-27 Thread Jerome Louvel
FYI, I've added a comment to the related Spring RFE: http://opensource.atlassian.com/projects/spring/browse/SWS-82#action_22907 > -Message d'origine- > De : Jerome Louvel > Envoyé : mardi 27 mars 2007 12:33 > À : Restlet discuss > Objet : New FAQ on Spring integration > > > Hi all, >

RE: Resources and Representation

2007-03-27 Thread Jerome Louvel
Hi Jim, I recommend having a closer look at this part of the tutorial: http://www.restlet.org/documentation/1.0/tutorial#part12 It explains the usage of the Resource.getVariants() method to register Representations with Resources. The content negotiation is automatically handled by the framework

New FAQ on Spring integration

2007-03-27 Thread Jerome Louvel
Hi all, Following my recent reply to Jim Alateras, I have documented the integration of Spring and Restlet: http://www.restlet.org/documentation/1.0/faq#23 Note that the ServletConverter class is only available in the SVN trunk or in the latest snapshot: http://www.restlet.org/downloads/1.0/curr

Re: spring and restlet

2007-03-27 Thread Jim Alateras
Jerome, Thxs for the zip. After further consideration I am looking at extended Spring's FrameworkServlet class using the example below. cheers Jerome Louvel wrote: Hi Jim, As the integration mode 3) has been requested several times already, I have just added a new ServletConverter class to

Resources and Representation

2007-03-27 Thread Jim Alateras
Hi, I have some questions on the relationship between Resources and Representations. 1. Is there a mechanism to register Representations for a Resource 2. Is there a mechanism where a Representation is resolved for a specific Resource, given a mediaType or do we need to code for this in the

Another RESTful Java project: Restfulbeans

2007-03-27 Thread Lars Heuer
Hi all, Today, this project was announced at Freshmeat https://restfulbeans.dev.java.net/ Freshmeat description: RestfulBeans is a high level API for sharing objects between a server and a Java-based client. The underlying protocol is designed to expose the data consumed by a rich client