'JMX for EJBs' implementation
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anita_Bishnoi
Posted On:   Sunday, December 22, 2002 10:05 PM

How to implement JMX for managing EJBs.Will there be an MBean for a pool of EJBs or for each instance of an EJB?

Re: 'JMX for EJBs' implementation

Posted By:   Lasse_Koskela  
Posted On:   Monday, December 23, 2002 12:30 AM

In principle you can register an EJB implementation class instance to the MBeanServer as well as any other object by doing the following:

- Have your EJB implementation class implement the MBean interface of choice

- Have your ejbCreate() method register the EJB implementation to the MBeanServer

- Have your ejbRemove() method unregister the EJB implementation to the MBeanServer
About | Sitemap | Contact