Re: Restlet 2.0 M3 released

2009-06-03 Thread Tal Liron
To add to this -- It seems that something changed with how negotiated mode is handled. It's breaking not just Directory, but also some of my other ServerResources. With my resources, I found that setNegotiated(false) fixed the problem, so I'm guessing that the bug introduced is somewhere

Instantiating a class for Resource

2009-06-03 Thread Dan Drillich
Good Day, We have a RelatedTopicsResource class which extends Resource. Currently in its post method it instantiates a class called TopicsEduction. Is there a way to instantiate this TopicsEduction class only once so it would be available to all post requests? Should we make the TopicsEduction

Re: restlet server NoSuchMethodError

2009-06-03 Thread Stephan Koops
Hi Matt, looks like that the JARs are from different Restlet versions. best regards Stephan -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2359005

Re: Instantiating a class for Resource

2009-06-03 Thread Thierry Boileau
Hello Dan, yes you can make it a static object. Just make sure you correctly handle concurrency. For more details about this crucial topic, you can have a look at this book Java concurrency in practice (Addison Wesley) You should also be aware that every new request is handled by a new

GAE+oAuth

2009-06-03 Thread Ivan Vovnenko
Hi is there any documentation and/or examples showing how to use Restlet+oAuth deployed to Google App Engine? Thanks. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2359076

Re: Instantiating a class for Resource

2009-06-03 Thread Dan Drillich
Thank you Thierry. -- View this message in context: http://n2.nabble.com/Instantiating-a-class-for-Resource-tp3014863p3018117.html Sent from the Restlet Discuss mailing list archive at Nabble.com. --

Re: Dependency injection in Restlet 2.0 with Guice

2009-06-03 Thread Tim Peierls
On Sun, May 31, 2009 at 12:17 PM, Jerome Louvel jerome.lou...@noelios.comwrote: So, I’ve just granted you SVN commit rights. I suggest that we first create a module “org.restlet.ext.guice” in the incubator part of SVN, see details here: I created some basic files and directories by copying