On Mon, Oct 19, 2009 at 7:55 PM, Roberto Chinnici
<Roberto.Chinnici(a)sun.com> wrote:
>> JSR-330 doesn't treat anything as a bean, because it only
defines DI
>> annotations.
>> The platform spec (EE.5.19) says that "support for JSR-330 annotations
>> is conditional to their being used by a class which is part of a bean
>> deployment
>> archive". So there is a conflict.
Note that section 1.2.1 of the 299 spec says:
"In the Java EE 6 environment, all component classes supporting
injection, as defined by the Java EE 6 platform specification, may
inject beans via the dependency injection service."
Also see the section 5.6 preamble, which is even more explicit.
So, yes, there is a conflict. The EE spec mentions a limitation which
299 says explicitly does not exist :-)
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org