Carlo de Wolf [
http://community.jboss.org/people/wolfc] created the discussion
"Re: EJB3 Session Bean Pool"
To view the discussion, visit:
http://community.jboss.org/message/597769#597769
--------------------------------------------------------------
For the benefit of other people new to this thread, you can only use ThreadlocalPool if
the threads are backed by a pool. Spawning new / infinite threads will lead to new /
infinite instances. (
http://community.jboss.org/message/589434#589434
http://community.jboss.org/message/589434#589434)
The StrictMaxPool is designed to hold a maximum amount of instances. It does not care
about concurrency or retention.
I think it should be possible to extend StrictMaxPool and set the strictMaxSize semaphore
higher than the maxSize. e.g. strictMaxSize = 200, maxSize = 50. That should allow for 200
concurrent requests, while the pool will size down to 50 during low load.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/597769#597769]
Start a new discussion in EJB3 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]