Hi Folks,
   Just a quick question about pooling in relation to stateless EJBS. Im having 
problem finding out where to it goes. Ive seen a snippet of xml that goes into 
standardjboss.xml and looks like this below but i dont think it is what i am 
looking for. All i want to do is create a pool of 50 beans at startup for a 
particular bean type!! Also tried looking at the xdoclet tags tp see where the 
property is for this and can not find it, can you configure this using 
xdoclet?? if so, how??

Appreciate any help!!

LL


  | <container-configuration>
  |     <container-name>Standard CMP 2.x EntityBean</container-name>
  |     <call-logging>false</call-logging>
  |     
<invoker-proxy-binding-name>entity-rmi-invoker</invoker-proxy-binding-name>
  |     <sync-on-commit-only>false</sync-on-commit-only>
  |     <insert-after-ejb-post-create>false</insert-after-ejb-post-create>
  |     <call-ejb-store-on-clean>true</call-ejb-store-on-clean>
  |     <container-interceptors>
  |         
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
  |         <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
  |         <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
  |         <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
  |         
<interceptor>org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
  |         <interceptor 
metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor<
  | /interceptor>
  |         
<interceptor>org.jboss.ejb.plugins.EntityCreationInterceptor</interceptor>
  |         
<interceptor>org.jboss.ejb.plugins.EntityLockInterceptor</interceptor>
  |         
<interceptor>org.jboss.ejb.plugins.EntityInstanceInterceptor</interceptor>
  |         
<interceptor>org.jboss.ejb.plugins.EntityReentranceInterceptor</interceptor>
  |         
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor<
  | /interceptor>
  |         
<interceptor>org.jboss.ejb.plugins.EntitySynchronizationInterceptor</interceptor>
  |         
<interceptor>org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor</interceptor>
  |     </container-interceptors>
  |     <instance-pool>org.jboss.ejb.plugins.EntityInstancePool</instance-pool>
  |     
<instance-cache>org.jboss.ejb.plugins.InvalidableEntityInstanceCache</instance-cache>
  |     
<persistence-manager>org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager</persistence-manager>
  |     
<locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
  |     <container-cache-conf>
  |         
<cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
  |         <cache-policy-conf>
  |             <min-capacity>50</min-capacity>
  |             <max-capacity>1000000</max-capacity>
  |             <overager-period>300</overager-period>
  |             <max-bean-age>600</max-bean-age>
  |             <resizer-period>400</resizer-period>
  |             <max-cache-miss-period>60</max-cache-miss-period>
  |             <min-cache-miss-period>1</min-cache-miss-period>
  |             <cache-load-factor>0.75</cache-load-factor>
  |         </cache-policy-conf>
  |     </container-cache-conf>
  |     <container-pool-conf>
  |         <MaximumSize>100</MaximumSize>
  |     </container-pool-conf>
  |     <commit-option>B</commit-option>
  | </container-configuration>
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011290#4011290

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011290
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to