-
1. Re: How to configure pool size for individual Stateless beans?
jaikiran Apr 22, 2015 6:08 AM (in response to adasko)You will have to configure a pool in the EJB3 subsystem and then refer to that pool from either the jboss-ejb3.xml deployment descriptor or via @Pool annotation on the bean. Here's an example of the jboss-ejb3.xml which configures the beans to use the pool (names) configured at the subsystem level https://github.com/wildfly/wildfly/blob/master/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/pool/override/jboss-ejb3.xml
-
2. Re: How to configure pool size for individual Stateless beans?
adasko Apr 22, 2015 7:27 AM (in response to jaikiran)Thank you for the quick answer.
The annotation org.jboss.ejb3.annotation.Pool does not exist in the source for EAP 6.3 and I can't find it in the WildFly repository. Is it located elsewhere or have I misunderstood?
-
3. Re: How to configure pool size for individual Stateless beans?
jaikiran Apr 22, 2015 7:56 AM (in response to adasko)Adam Skoglund wrote:
Thank you for the quick answer.
The annotation org.jboss.ejb3.annotation.Pool does not exist in the source for EAP 6.3 and I can't find it in the WildFly repository. Is it located elsewhere or have I misunderstood?
It should be available at the following Maven co-ordinates:
<groupId>org.jboss.ejb3</groupId>
<artifactId>jboss-ejb3-ext-api</artifactId>
<version>2.1.0</version>