On Thu, 5 Sep 2002, Herve Tchepannou wrote: > Seems to be a propriatary approach... > I don't want my EJB to contains proprietary core, which will make them > non portable. > Is there any standard way to access JMX from EJB?
Yes, retrieve the MBeanServer ref through MBeanServerFactory.findMBeanServer() and invoke your MBean through the MBeanServer interface returned from that call. Notice this only works if your MBean is within the same VM with your EJB. For a distributed system you need to wait til JMX 1.2 comes out. -- Juha ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
