[cdi-dev] How to process the scope in JEE7
struberg at yahoo.de
Wed May 16 05:44:09 EDT 2012
What Spring does is to FREELY INTERPRET the jsr-330 @Scope annotation. This is just not portable at all, thus it's not worth it!
What is a scope annotation good for if there are no rules and ways to implement a context for it? Exactly, it's exactly worth NOTHING!
----- Original Message -----
> From: Hantsy Bai <hantsy at gmail.com>
> To: Mark Struberg <struberg at yahoo.de>
> Cc: "cdi-dev at lists.jboss.org" <cdi-dev at lists.jboss.org>
> Sent: Wednesday, May 16, 2012 8:04 AM
> Subject: Re: [cdi-dev] How to process the scope in JEE7
> Spring provide a resolver to bridge JSR 330 Scope to Spring scope.
> Is there some solution like this in CDI spec? As a developer, I dislike
> so much duplication and incompatibility in the future JEE 7...I have
> got pain when use JSF2 and CDI in JEE6/Seam3.
> I hope there are some solutions to unite them in CDI, deprecate JSR330
> scope and bridge it to CDI for compatibility.
> On 5/15/2012 17:49, Mark Struberg wrote:
>> My personal view/prediction:
>> * JSR-330 is fine as is. A few things like @Singleton and @Scope are
> completely useless though because they are completely underspecified. Other
> parts are really fine and we will continue to use it.
>> * all the EE @ManagedBean and state management should imo get deprecated in
> EE7. This stuff is a.) technically broken and b.) not the right place. Imo it
> was purely the result of political games...
>> ----- Original Message -----
>>> From: Hantsy Bai<hantsy at gmail.com>
>>> To: cdi-dev at lists.jboss.org
>>> Sent: Tuesday, May 15, 2012 7:56 AM
>>> Subject: [cdi-dev] How to process the scope in JEE7
>>> CDI introduced NormalScope to create custom scope, I noticed there is
>>> another similar one in the JSR330, @Scope(and @Singleton) annotation,
>>> and there is also another "State management" standalone spec
> in JEE7.
>>> Is there some cooperation with them in JEE7? and what is the successor
>>> of JSR 330 in JEE7?
>>> cdi-dev mailing list
>>> cdi-dev at lists.jboss.org
More information about the cdi-dev