I am working on weblogic 12.1.3 and ejb 3.1. I have stateless session beans and message driven beans.
There initial bean pool size is declared in weblogic-ejb-jar.xml as
<ejb-name>CalculatorSession</ejb-name>
<stateless-session-descriptor>
<pool>
<initial-beans-in-free-pool>20</initial-beans-in-free-pool>
</pool>
</stateless-session-descriptor>
<enable-call-by-reference>true</enable-call-by-reference>
I dont want to have them in xml. Instead trying to configure them in StatelessSessionBean Java classes using Annotations. What Annotations are used to substitute beans pool size and call by reference tags ? Please let me know.