I have use Jboss for couple of months and just begin to use MBean. Here i have a few questions would like to seek opinions from you all.
Is it safe to develop a singleton MBean that is multithread capable? actually, i plan to develop a sequence number generator on MBean, this MBean is synchronize and make sure every client get a unique sequence number.
I would like to have java client as well as web application connect to this mbean. What is the appropriate way for respective client to communicate to the Mbean agent?
I understand there are different types of mbean, which is the most appropriate to use in this case?
Is it appropriate to have the following flow
Client --> Mbean --> SessionBean -->database
your opinion are very much appreciated.