pool « EJB « JSP-Servlet Q&A





1. Concurrency / pooling with EJB    coderanch.com

2. EJB pooling vs servlet pooling    coderanch.com

Hi. When I was reading about the servlet technology, it said that SingleThreadModel is wrong, because it either serializes the threads / client, or creates a servlet pool. And this is deprecated, wrong. One of the point in Head First Servlets & JSP was that you can keep instance variables in a servlet to count incoming requsts, and when the clients ...

4. Pooling in java or EJB ?    coderanch.com

Hi scott, Except for saving the time in object creation that you have already mentioned, I do not think there is any other reason for the pooling of stateless beans maintained by the container. And there definitely would be lot of performance difference between creating a new SLSB every time and getting one from the pool. For a plain java object, ...