Please go through the JBoss EJB3 documentation at http://labs.jboss.com/jbossejb3/docs/reference/build/reference/en/html/
The documentation has a specific chapter on Pooling http://labs.jboss.com/jbossejb3/docs/reference/build/reference/en/html/session-bean-config.html#d0e26
Thanks for your reply.
Sorry to bother you by posting same issue at multiple places.
I have already gone through this link twice, but my problem still remains same.
The configuration specified on the link describes how to set the maxsize of instance pool and timeout time. But my question is:
My problem is to configure the Stateless Session bean Instance Pool on JBoss start up. We need a pool of instance pool (â€œxâ€� number of stateless session bean) On the startup of the server the instance pool of session bean does not have any instance of bean. The instances are instantiated only when request is made i.e. lazy loading.
Please do let me know how I can configure the same.
On the startup of the server the instance pool of session bean does not have any instance of bean.
So what you are looking for is the minSize of the pool, which as far as i know, is not available. Why do you want the pool to contain an instance when the server has started? Maybe someone can point you to an alternate approach if you let us know what you are trying to do.