[jboss-user] [JNDI and Naming] New message: "Re: Enumerating deployed EJB's/MBeans"
Peter Johnson
do-not-reply at jboss.com
Tue Mar 2 11:45:54 EST 2010
User development,
A new message was posted in the thread "Enumerating deployed EJB's/MBeans":
http://community.jboss.org/message/529421#529421
Author : Peter Johnson
Profile : http://community.jboss.org/people/peterj
Message:
--------------------------------------------------------------
Enumerate the MBeans is easy - grab the MBeanServerConnection and use its API. This wiki entry should help get you started:
http://community.jboss.org/wiki/HowDoIGetRemoteAccessToMyMBean
http://community.jboss.org/thread/52375#168437
While you have the MBeans, the EJBs should be easy because each EJB has its own MBean with this naming pattern. Here is the pattern for EJB3 (the pattern is slightly different for EJB2.x)
jboss.deployment:http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.deployment%3Aid%3D%22jboss.j2ee%3Ajar%3Dsalestax.jar%2Cname%3DSalesTax%2Cservice%3DEJB3%22%2Ctype%3DComponent
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529421#529421
More information about the jboss-user
mailing list