Re: Evaluating Restlet

2008-04-01 Thread Jerome Louvel
Hi all, Tim Peierls wrote: I hate to sound like a broken record, but the Restlet Request and Response classes are not thread-safe, so Restlet cannot yet take *full* advantage of NIO to break out of the thread-per-request paradigm. (There is movement on this front, however, as Rob Heittman

Restlet 1.0.9 released

2008-04-01 Thread Jerome Louvel
Hi all, A new maintenance release of Restlet 1.0 is available. It mainly fixes a few bugs (Server.stop(), DomRepresentation, forms parsing) and updates Jetty to version 6.1.8. Thanks for the issue reports and contributions! Changes log: http://www.restlet.org/documentation/1.0/changes

RE: Restlet 1.1 M3 released

2008-04-01 Thread Jerome Louvel
Hi Stephan, Thanks for the note and all the hard work on JAX-RS extension! Here is the link for those interested in JAX-RS (JSR-311): http://wiki.restlet.org/docs_1.1/g1/13-restlet/28-restlet/57-restlet.html I wish we had such a documentation for all our extensions... If anyone is interested in

Re: Restlet 1.1 M3 released

2008-04-01 Thread Stephan Koops
Hi Jerome, FYI: I've updated the wiki JAX-RS page to download Restlet including the JAX-RS extension direct from www.restlet.org. best regards Stephan Jerome Louvel schrieb: Hi again! It's just over a month since 1.1 M2 and we have again made tremendous progress towards our final

Restlet 1.1 M3 released

2008-04-01 Thread Jerome Louvel
Hi again! It's just over a month since 1.1 M2 and we have again made tremendous progress towards our final release. Main changes: * Licensing scheme changed to CDDL 1.0 or LGPL 2.1 or LGPL 3.0 * New JAX-RS extension implementing the draft JSR-311 * New OAuth extension as a pluggable

Newbie question: Override Resource.post() or Resource.handlePost() ?

2008-04-01 Thread Ian Clarke
When creating a subclass of Resource, is it preferable to override post() or handlePost() (ditto for put/handlePut - etc)? What is the difference? (Note: I'm using restlet v 1.0.8) Thanks, Ian. -- Email: [EMAIL PROTECTED] Cell: +1 512 422 3588 Skype: sanity

Re: integrating restlet with the spring DispatcherServlet

2008-04-01 Thread Rhett Sutphin
Hi Michael, On Apr 1, 2008, at 10:50 AM, Michael Böckling wrote: I have trouble to figure out how to integrate it with the org.springframework.web.servlet.DispatcherServlet. I use that for some SOAP web services (using the xfire exporter), but now I want to attach a restlet using json. I was

integrating restlet with the spring DispatcherServlet

2008-04-01 Thread Michael Böckling
Hi! This is my first project where I use restlet. I have trouble to figure out how to integrate it with the org.springframework.web.servlet.DispatcherServlet. I use that for some SOAP web services (using the xfire exporter), but now I want to attach a restlet using json. I was not able to find

Re: integrating restlet with the spring DispatcherServlet

2008-04-01 Thread Michael Böckling
Thanks for your help! Looks like thats exactly what I needed! I still have an error that I can't solve, when I try to call the URL, it says: 01.04.2008 18:56:33 org.restlet.Filter doHandle WARNUNG: A filter was executed without a next Restlet attached to it. Can you see where the error is? My

Re: Newbie question: Override Resource.post() or Resource.handlePost() ?

2008-04-01 Thread Thierry Boileau
Hello Ian, we encourage you to use post(Representation), put(Representation), etc instead of handle* since these methods take care of some behaviours required from a technical of point of view (e.g. respect of some HTTP protocol rules) but not essential when coding a Resource. It helps you

Re: integrating restlet with the spring DispatcherServlet

2008-04-01 Thread Michael Böckling
Seems I solved it, I didn't expect that the web.xml url-pattern is not included in the url pattern that the router matches against. I have one last issue here: when I try to use the SpringBeanRouter (instead of the SpringRouter, which works), no URLs match. I checked and noticed that

bug in the spring SpringBeanRouter

2008-04-01 Thread Michael Böckling
After lots of debugging, it seems wildcards don't work in the SpringBeanRouter, since the * is improperly escaped. The SpringBeanRouter also does not work when placed in the [servlet-name]-servlet.xml, it must be placed in the main applicationContext.xml. Can you confirm this?

Need help building new authentication types

2008-04-01 Thread Barrie Selack
I am attempting to implement two authentications, one for a shared secret similar to Amazon S3, and one for public/private key. I'm looking for more direction in the relationships between the Guard, AuthenticationHelper and Resources. Where do these items go? I started with extending an

Re: bug in the spring SpringBeanRouter

2008-04-01 Thread Rhett Sutphin
On Apr 1, 2008, at 3:20 PM, Michael Böckling wrote: After lots of debugging, it seems wildcards don't work in the SpringBeanRouter, since the * is improperly escaped. I haven't tried using *. SpringBeanRouter is taking the bean name and passing it directly to attach. I'm not aware of