JBoss Community

Re: SLSB pool size is always one in jboss 6.0 CR1 using ejb 3.1

created by aravind kopparthi in EJB3 - View the full discussion

thanks for the direction, i have read the above link. can i use StrictMaxPool instead of MaxSize in ejb-interseptor-aop.xml like below? to achieve multiple SLSB instances when a Single Threaded (Singleton) EJB invokes calls in to process long running tasks ?

 

 

<annotation expr="class(*) AND !class(@org.jboss.ejb3.annotation.Pool)">
         @org.jboss.ejb3.annotation.Pool (value="ThreadlocalPool", StrictMaxPool=30, timeout=10000)
      </annotation>

Reply to this message by going to Community

Start a new discussion in EJB3 at Community