[jboss-dev-forums] [Design of POJO Server] - Re: Generalizing dependency injection
adrian@jboss.org
do-not-reply at jboss.com
Thu Mar 13 13:21:28 EDT 2008
"wolfc" wrote : "adrian at 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#4136410
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136410
More information about the jboss-dev-forums
mailing list