"wolfc" wrote : "adrian(a)jboss.org" wrote : What you are describing is
called "flow control". You can do it outside an EJB
| | with an aspect, e.g. a semaphore controlling access to a singleton.
| |
| | If the semaphore/pool uses priority queuing the admin request
| | can "jump the queue" based on a higher privilege.
| A pool beats a semaphored singleton anytime.
Obviously wrong. ;-)
It makes no difference whether the semaphore is on the pool or the object,
and the rest of the code is the same.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136410#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...