to cache the stateless session bean

Discussions

EJB design: to cache the stateless session bean

  1. Hi all,
             How to cache a stateless session bean?
    Do we need to edit the property file for weblogic server for that?

    Threaded Messages (3)

  2. According to the EJB spec all stateless sessions are automatically cached.

    Dave Wolf
    Internet Applications Division
    Sybase
  3. to cache the stateless session bean[ Go to top ]

    Would you please explain more about the caching issue?
  4. to cache the stateless session bean[ Go to top ]

    In Weblogic you could control the maximum beans cached by the DD. Sample from weblogic pages:

    <weblogic-enterprise-bean>
      <ejb-name>AccountBean</ejb-name>
      <entity-descriptor>
        <entity-cache>
          <max-beans-in-cache>200</max-beans-in-cache>
        </entity-cache>
      </entity-descriptor>
    </weblogic-enterprise-bean>


    Regards
    Ajeet Koru