[cdi-dev] @PostConstruct and @Inject methods in superclasses

Pete Muir pmuir at redhat.com
Sun Oct 2 11:03:39 EDT 2011


On 1 Oct 2011, at 20:44, Stuart Douglas wrote:
>> 
>>> - @Resource @Psersitence* @EJB etc annotation of CDI managed beans do not create JNDI bindings like they are supposed to according to the EE platform spec.
>> 
>> This is partly a Weld bug, partly a Java EE integration issue, which never got resolved properly. The CDI spec doesn't define this, where is it in Java EE? If it's there, then it's an impl bug, not a spec clarification I think.
>> 
> 
> This is partly defined by the 'Common Annotations for the Java Platform' spec, and by chapter 5 in the EE platform spec (the section on resources naming and injection).

All, recommendations for how to best resolve this?

I assume that we should create JNDI bindings for this? EE/JNDI experts?


More information about the cdi-dev mailing list