This content has been marked as final.
Show 3 replies
-
1. Re: cache/pool configuration for ejb2 entity beans
stighenriksen Mar 8, 2012 3:35 AM (in response to lkral)Hi Lars, did you get any further with this? I have the exact same problem, haven't been able to figure out anything so far.
-
2. Re: cache/pool configuration for ejb2 entity beans
jaikiran Mar 8, 2012 3:45 AM (in response to stighenriksen)See the jboss-ejb3.xml example here https://community.jboss.org/message/639714#639714. It's available in 7.1.0.Final.
-
3. Re: cache/pool configuration for ejb2 entity beans
stighenriksen Mar 8, 2012 4:24 AM (in response to jaikiran)Thanks Jaikiran, that solves the instance pooling! The thing is though that I cannot find out how to refer or setup a instance cache. Looking at jboss-as-ejb3_1_2.xsd I can see that it's possible to refer to a cache for stateful beans (stateful-beanType), but for entity beans I only see how to set up instance pooling. Would be grateful for any further insights into how entity caching is supposed to be set up for EJB 2.x beans in 7.1.