Assign a pool to a specific stateless bean in JBoss EAP 6.1
问题 I can see how one can control the size of the global pool for all the stateless session beans. However, I would like to be able to have a new pool that only applies to one type of stateless bean. This way, all my stateless beans but one would be pooled from the usual slsb-strict-max-pool , and one bean would have its own pool. Is it possible to do that in JBoss EAP 6.1? 回答1: Use @org.jboss.ejb3.annotation.Pool(value="myPoolName") annotation on the EJB referencing your custom pool as defined