Re: Lifecycle options

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 10 Jul 2007 12:28:08 +0200

Dhanji R. Prasanna wrote:
> Considering all this, I strongly think we should be wary of reinventing
> the proverbial wheel and try to make this a user-managed idiom--where a
> user can choose to rely on spring etc. Or register a "scoping" factory
> of their own that simply provides an instance from their own strategy.
> We can provide canned cases for request and singleton scoping factories.

What do you mean by 'canned cases'?

Surely we have to specify some scoping rules for portable deployment?
And since a developer will write a POJO for a particular scope
presumably the scope and the POJO go together?

> I'll post some more thoughts on my 3rd party containers thread if that
> helps.

Yes, examples will help, especially how you see POJOs working with other
frameworks like Spring.


| ? + ? = To question
    Paul Sandoz