JBoss Community

Re: EJB3 Session Bean Pool

created by Robert Geisler in EJB3 - View the full discussion

hello romeo,


i modified deploy\ejb3-interceptors-aop.xml . search for the PoolClass annotation, maxSize is the value to limit amount of instances:




   <domain name="Stateless Bean">


      <annotation expr="!class(@org.jboss.annotation.ejb.PoolClass)">

         @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=15, timeout=10000)








Reply to this message by going to Community

Start a new discussion in EJB3 at Community