[jboss-user] [EJB3] - Re: EJB3 Session Bean Pool
Robert Geisler
do-not-reply at jboss.com
Thu Sep 15 03:19:00 EDT 2011
Robert Geisler [http://community.jboss.org/people/robert.geisler] created the discussion
"Re: EJB3 Session Bean Pool"
To view the discussion, visit: http://community.jboss.org/message/626608#626608
--------------------------------------------------------------
hello romeo,
i modified deploy\ejb3-interceptors-aop.xml . search for the PoolClass annotation, maxSize is the value to limit amount of instances:
<aop>
...
<*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)
</annotation>
</domain>
...
</aop>
greets
robert
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/626608#626608]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110915/86977383/attachment.html
More information about the jboss-user
mailing list