1. Concurrency / pooling with EJB coderanch.com |
2. EJB pooling vs servlet pooling coderanch.comHi. 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 ... |
3. Caching EJB3 remote references prevents pooling or not? coderanch.com |
4. Pooling in java or EJB ? coderanch.comHi 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, ... |