[jboss-dev-forums] [Design of EJB 3.0] - Re: Annotation to metadata issues

wolfc do-not-reply at jboss.com
Mon Dec 3 04:31:48 EST 2007


The logic can't be in metadata, because it's also valid to create an injection target on UserTransaction in xml only. Or we must specify this as a post-condition of metadata.

I also don't like it in ReferenceMetaDataResolverDeployer, because then it won't be reusable for EJB Standalone.

For now I would say a post-condition on metadata that these simple resource injections must have the correct mapped name.
Note that in the end the EJB container will still optimize an injection. So the code in ResourceHandler must stay.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109737#4109737

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109737



More information about the jboss-dev-forums mailing list