One way to configure the EJB 3 pool/cache by now is with @Pool and @CacheConfig annotations.
Did some experiments today and worked pretty well.........
ex.
@Stateless
@Pool(maxSize=25,timeout=10000)

@Stateful
@CacheConfig(maxSize=1000, idleTimeoutSeconds=300, removalTimeoutSeconds=0)

regards,
Francesco

2011/6/1 Heiko Braun <hbraun@redhat.com>


this is the actual EJB container issue:
https://issues.jboss.org/browse/AS7-913

Ike

On May 31, 2011, at 11:57 AM, paulwerder@fastmail.co.uk wrote:

> Hi all JBoss devs,
> about ejb3 and ee subsystems, does anyone know when it will be available
> in standalone.xml/domain.xml the parameters
> for managing EJB pool/cache statistics ?
>
> At the moment I've found this JIRA
> https://issues.jboss.org/browse/AS7-753
> which is however related to the admin console management.
>
> Thanks a lot
> Paul
>
>
> --
>
>  paulwerder@fastmail.co.uk
>
> --
> http://www.fastmail.fm - Faster than the air-speed velocity of an
>                          unladen european swallow
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev

_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev