4 Replies Latest reply on Sep 25, 2003 7:04 AM by danl_thompson

    MBean restrictions?


      Is an MBean in anyway restricted as EJBs are? Can an MBean a) have non-final static vbls? b) use synchronized blocks? c) use file access and java.io ? d) listen on sockets? e) start and wait on out-of-process threads for example runtime.exec()?

      If not, can can an EJB call a MBean that does any of these things on its behalf? Or would it be slight-of-hand, hiding the prohibitied behavior in what is effectively a helper class?