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/j...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076348#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...