[jboss-user] [EJB3] - Is concurrent code in JMX services allowed?
Bastian Helfert
do-not-reply at jboss.com
Thu Sep 1 08:05:46 EDT 2011
Bastian Helfert [http://community.jboss.org/people/bhelfert] created the discussion
"Is concurrent code in JMX services allowed?"
To view the discussion, visit: http://community.jboss.org/message/624253#624253
--------------------------------------------------------------
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?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/624253#624253]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110901/968b3d89/attachment.html
More information about the jboss-user
mailing list