Re: per-request life cycle <was> Re: Precondition support

From: Dhanji R. Prasanna <>
Date: Mon, 16 Apr 2007 19:09:34 +1000

On 4/16/07, Paul Sandoz <> wrote:
> Dhanji R. Prasanna wrote:
> > Are those the only 2 scopes we're talking about then? Request and
> singleton?
> >
> Session scope is another possibility. That may be somewhat controversial
> to some :-)

I'll throw my hat in the ring and say there should be no session scope. =)
What about no-scope? Is that a possibility?

I am a big vague on this whole idea actually. I dont see the necessity for
anything but a request scope (i.e. for the "Context" objects and
Singletons can be managed or shared by the application logic (I might want
to use spring or guice there for instance). What is the pressing need to
implement a micro-DI engine (with severe limitations) when there are so many
of them available (and jsr-291 around the corner)?