0 Replies Latest reply on Sep 1, 2011 8:05 AM by bhelfert

    Is concurrent code in JMX services allowed?

    bhelfert

      The EJB 3.1 Spec. states:

      The enterprise bean must not attempt to manage threads.

      The JBoss EJB 3 Extensions Reference states:

      [JMX services] are singleton beans...

      So I reason:

      1. Using a multithreaded 3rd-party lib in a JMX Service is not conform to the Spec.
      2. A JMX service is a wrapper for a EJB 3.1 Singleton Bean with additional management capabilities provided through the JMX console.

       

      Am I right?