Re: Servlet injection before init() in Guice 2 prerelease snapshot 20090205

2009-03-07 Thread Tim Peierls
On Mar 5, 8:14 pm, Dhanji R. Prasanna dha...@gmail.com wrote: - It makes it difficult for me to get the Injector for use by Tim Peierls' Restlet integration Hmm, I'll ask Tim if I can update his restlet thing for GS2. He will be loads happier to use ctor injection I am sure! (Tim are

Re: Servlet injection before init() in Guice 2 prerelease snapshot 20090205

2009-03-05 Thread Leigh Klotz
, Leigh Klotz leigh.kl...@gmail.com wrote: I've been using an earlier snapshot and am upgrading to Guice 2 prerelease snapshot 20090205. I've been relying on injection into servlets happening in the init (ServletConfig) method once super.init(servletConfig) has been called.  I did

Re: Servlet injection before init() in Guice 2 prerelease snapshot 20090205

2009-03-05 Thread Dhanji R. Prasanna
On Fri, Mar 6, 2009 at 5:39 AM, Leigh Klotz leigh.kl...@gmail.com wrote: OK, maybe I'm being dense and it will all flash for me in a minute, but it seems like this new feature, while better for an all-Guice, all- servlet system does not satisfy the same use cases as before. It absolutely

Re: Servlet injection before init() in Guice 2 prerelease snapshot 20090205

2009-03-05 Thread Dhanji R. Prasanna
On Fri, Mar 6, 2009 at 10:40 AM, Leigh Klotz leigh.kl...@gmail.com wrote: I've gone back to using a copy of InjectedHttpServlet from the previous snapshot, and am whole again with onyl a small amount of code. I think the new servlet stuff is cool for people who are using servlets as a

Servlet injection during init() in Guice 2 prerelease snapshot 20090205

2009-03-04 Thread Leigh Klotz
I've been using an earlier snapshot and am upgrading to Guice 2 prerelease snapshot 20090205. I've been relying on injection into servlets happening in the init (ServletConfig) method once super.init(servletConfig) has been called. I did not previously use the GuiceFilter in web.xml, as I did

Re: Servlet injection during init() in Guice 2 prerelease snapshot 20090205

2009-03-04 Thread je...@swank.ca
With the new servlet API you can inject your servlets directly via their constructors (or methods or fields). Inject everything you need there, then use it as needed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Servlet injection before init() in Guice 2 prerelease snapshot 20090205

2009-03-04 Thread Dhanji R. Prasanna
for the code snippet for GuiceFilter (from the wiki tute you linked to). Dhanji. On Thu, Mar 5, 2009 at 9:41 AM, Leigh Klotz leigh.kl...@gmail.com wrote: I've been using an earlier snapshot and am upgrading to Guice 2 prerelease snapshot 20090205. I've been relying on injection

Re: Guice 2 prerelease snapshot 20090205

2009-02-09 Thread alexander.gruenew...@googlemail.com
It's great to see progress. It would be also nice to see documentation of the new features in Guice's user guide. Are there any plans for this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups google-guice group. To

Re: Guice 2 prerelease snapshot 20090205

2009-02-09 Thread Stuart McCulloch
2009/2/9 alexander.gruenew...@googlemail.com alexander.gruenew...@googlemail.com It's great to see progress. It would be also nice to see documentation of the new features in Guice's user guide. Are there any plans for this? FYI, there is a wiki entry that describes the new features:

Re: Guice 2 prerelease snapshot 20090205

2009-02-09 Thread jordi
there's a lot more documentation on google code site: http://code.google.com/p/google-guice/wiki/Changes20 btw, thanks jesse and all of you bringing in all this new documentation! On Mon, Feb 9, 2009 at 11:32 AM, alexander.gruenew...@googlemail.com alexander.gruenew...@googlemail.com wrote:

Re: Guice 2 prerelease snapshot 20090205

2009-02-09 Thread Dhanji R. Prasanna
Actually DocReader will probably be our preferred way going forward: http://code.google.com/docreader/#p=google-guice The information here is well structured and easy to browse compared with the user's guide. Dhanji. On Mon, Feb 9, 2009 at 9:40 PM, jordi jo...@donky.org wrote: there's a lot

Re: Guice 2 prerelease snapshot 20090205

2009-02-09 Thread Johannes Schneider
I have downloaded the file. Thanks for your work. Just one question: What about an extra jar for the annotations? http://code.google.com/p/google-guice/issues/detail?id=106 Thanks, Johannes On Sun, 2009-02-08 at 12:37 -0800, je...@swank.ca wrote: I've tagged a new snapshot and uploaded new

Re: Guice 2 prerelease snapshot 20090205

2009-02-08 Thread Dhanji R. Prasanna
congratulations jesse and thanks for all your hard work. =) On Mon, Feb 9, 2009 at 7:37 AM, je...@swank.ca limpbiz...@gmail.com wrote: I've tagged a new snapshot and uploaded new binaries for a new prerelease. This is a preview of Guice 2. Since the previous 20081123 snapshot, we've improved

Re: Guice 2 prerelease snapshot 20090205

2009-02-08 Thread Stuart McCulloch
2009/2/9 je...@swank.ca limpbiz...@gmail.com I've tagged a new snapshot and uploaded new binaries for a new prerelease. This is a preview of Guice 2. Since the previous 20081123 snapshot, we've improved servlets, private modules, assisted inject and performance. This .zip includes the guice