RE: Re: Dependency injection in Restlet 2.0 with Guice

2010-12-29 Thread Tim Peierls
I've revised the RestletGuice incubator sources to deal with the change of return type of Finder.getTargetClass from Class? to Class? extends ServerResource. I've also reverted to the older name scheme. The main interface is called FinderFactory, and its methods are named finder, rather than

RE: Re: Dependency injection in Restlet 2.0 with Guice

2009-12-04 Thread Tim Peierls
With the invaluable help of Bruno Harbulot (and Thierry and Jerome!), I checked in a preliminary version of org.restlet.ext.guice to the incubator sources. I confirmed that it works for one somewhat artificial example (see org.restlet.ext.guice.example), but it needs more eyes on it, it needs

Re: Re: Dependency injection in Restlet 2.0 with Guice

2009-12-04 Thread Tim Peierls
On Fri, Dec 4, 2009 at 3:34 PM, Tim Peierls t...@peierls.net wrote: There should be no barriers to using RestletGuice.Module in conjunction with other frameworks, including guice-servlet. All you need to do is ensure that your resource bindings are made in Modules passed to the constructor of

RE: Dependency injection in Restlet 2.0 with Guice

2009-11-23 Thread Jerome Louvel
://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com/ http://www.noelios.com De : tpeie...@gmail.com [mailto:tpeie...@gmail.com] De la part de Tim Peierls Envoyé : dimanche 22 novembre 2009 22:36 À : discuss@restlet.tigris.org Objet : Re: Dependency injection in Restlet

Re: Dependency injection in Restlet 2.0 with Guice

2009-11-23 Thread Tim Peierls
Technologies ~ Co-founder ~ http://www.noelios.com *De :* tpeie...@gmail.com [mailto:tpeie...@gmail.com] *De la part de* Tim Peierls *Envoyé :* dimanche 22 novembre 2009 22:36 *À :* discuss@restlet.tigris.org *Objet :* Re: Dependency injection in Restlet 2.0 with Guice I thought

RE: Dependency injection in Restlet 2.0 with Guice

2009-11-23 Thread Leigh L. Klotz, Jr.
not asking that question. Leigh. From: tpeie...@gmail.com [mailto:tpeie...@gmail.com] On Behalf Of Tim Peierls Sent: Monday, November 23, 2009 2:35 PM To: discuss@restlet.tigris.org Subject: Re: Dependency injection in Restlet 2.0 with Guice snip Another

Re: Dependency injection in Restlet 2.0 with Guice

2009-11-23 Thread Tim Peierls
: Dependency injection in Restlet 2.0 with Guice snip Another topic: What about scopes? Servlets need scopes like request, session, conversation, etc. Only the first of those makes any sense in Restlet, but I'm having trouble imagining a strong need for it in practice, given that Resources

Re: Dependency injection in Restlet 2.0 with Guice

2009-11-22 Thread Tim Peierls
I thought that the GAE Edition of Restlet hid the servlet-ness and made it possible to write standalone Restlet components that run in GAE. Is that not the case? --tim On Sun, Nov 22, 2009 at 4:09 PM, webp...@tigris.org wrote: Hi there, I was looking for dependency injection with guice, as I

RE: Dependency injection in Restlet 2.0 with Guice

2009-11-22 Thread webpost
Hi there, I was looking for dependency injection with guice, as I found the post from Tim. The approach described there, seems to best for a standalone setup. As I'm currently developing an application using the Google AppEngine, I was looking for an integration with a servlet based setup. I

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

RE: Dependency injection in Restlet 2.0 with Guice

2009-05-17 Thread Jerome Louvel
Peierls Envoyé : jeudi 14 mai 2009 21:53 À : discuss@restlet.tigris.org Objet : Re: Dependency injection in Restlet 2.0 with Guice On Thu, May 14, 2009 at 3:10 PM, Jerome Louvel jerome.lou...@noelios.com wrote: By the way, do you think it would be technically possible to develop a similar

Re: Dependency injection in Restlet 2.0 with Guice

2009-05-17 Thread Tim Peierls
injection in Restlet 2.0 with Guice On Thu, May 14, 2009 at 3:10 PM, Jerome Louvel jerome.lou...@noelios.com wrote: By the way, do you think it would be technically possible to develop a similar integration that would leverage the recently announced javax.inject? http://crazybob.org/2009/05

RE: Dependency injection in Restlet 2.0 with Guice

2009-05-14 Thread Jerome Louvel
Hi Tim, Thanks for updating your integration. I’ve added an entry in the Community Wiki: “Third-party integrations” http://wiki.restlet.org/community/123-restlet.html By the way, do you think it would be technically possible to develop a similar integration that would leverage the

Re: Dependency injection in Restlet 2.0 with Guice

2009-05-14 Thread Tim Peierls
On Thu, May 14, 2009 at 3:10 PM, Jerome Louvel jerome.lou...@noelios.comwrote: By the way, do you think it would be technically possible to develop a similar integration that would leverage the recently announced “javax.inject”? http://crazybob.org/2009/05/announcing-javaxinjectinject.html