[jboss-user] [Management, JMX/JBoss] - Re: Using EJB injection in JMX / MBean

salewski do-not-reply at jboss.com
Tue Aug 21 11:03:12 EDT 2007


The @EJB annotations are part of the EJB 3.0 spec, which is separate from the JMX spec. The @EJB annotation is for use by EJBs, the resource being injected by the EJB container. MBeans have to look up resources in JNDI "manually".

However, if you're not allergic to vendor extensions, you may be interested in the JBoss @Service EJB extension:

    http://docs.jboss.com/ejb3/app-server/reference/build/reference/en/html/jboss_extensions.html


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

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



More information about the jboss-user mailing list