[jboss-user] [EJB 3.0] - Re: Sizing a Stateless Session Bean Pool Size

bill.burke@jboss.com do-not-reply at jboss.com
Thu Nov 30 16:41:08 EST 2006


This person is incorrect...

By default, SLSBs use a ThreadLocal pool.  So, one instance is created per thread.  TheadLocal pools allow you to avoid synchronization.

So basically, you have, by default as many SLSB instances as your greatest volume of concurrent requests.

Download RC9 release and read the documentation on how to change things.  For instance, there is a StrictPool setting that will set a max and block requests if that max is met.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990273#3990273

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990273



More information about the jboss-user mailing list