This content has been marked as final.
Show 2 replies
-
1. Re: Component annotation
gonorrhea May 30, 2009 4:42 PM (in response to gonorrhea)the equivalent slide in PMuir's presentation here: http://wikis.sun.com/display/TheAquarium/JCDI+-+JSR299
is slide 19 and the code is identical except it's missing the @Component.
So does that mean by default, every POJO or EJB is a Web Bean and that's why that annotation has been removed from 299?
-
2. Re: Component annotation
graben May 30, 2009 5:34 PM (in response to gonorrhea)Almost every bean that is detected by the jcdi bootstrap is declared a injectable component. That's why @Component is no longer needed and has been removed month ago. See chapter 3.1 following in the latest spec of jsr299.