3 Replies Latest reply on Aug 8, 2012 12:45 AM by ion_mayank

    Caching of EJB 2 entity beans not supported?

    svejk.rpl

      Hi,

      I am trying to migrate EJB 2 entity beans from AS 4/5 to AS 7. My client's beans are using cache configuration through

      the proprietary descriptor, jboss.xml, e.g:

       

      <?xml version="1.0"?>

      <jboss>

          ...

          <container-configurations>

            <container-configuration>

             ...

             <container-cache-conf>

               <cache-policy-conf>

                 <max-capacity>3000</max-capacity>

                  <max-bean-age>600</max-bean-age>

                  ...

                </cache-policy-conf>

             </container-cache-conf>

       

            </container-configuration>

          </container-configurations>

         ...

      </jboss>

       

      However, looking at the new proprietary descriptor and standalone.xml's schemas, it appears that none of this is present.

      The cache configuration that exists, seem to deal with SFSBs exclusively.

       

      Am I missing something here, or is caching of EJB 2 entites not supported?

      If not, are there any plans to implement it?

       

       

      Sven-Jørgen