users@glassfish.java.net

Re: EJB Container Cache and Pool Settings

From: <glassfish_at_javadesktop.org>
Date: Wed, 02 Apr 2008 19:33:14 PST

It creates more beans. And one the requests are processed, 100 instances are returned to the pool, the other 50 are discarded. So the maximum is only a maximum of instance that can be pooled, not a maximum of instances that can be created or accessed at the same time.

If you want requests to be queued, you can use the ORB's thread pool. You can use it to limit the number of simultaneous requests (over IIOP) for your bean and so limit the number of bean instances that need to be created.

Regards,
Dies
[Message sent by forum member 'dkoper' (dkoper)]

http://forums.java.net/jive/thread.jspa?messageID=267454