[seam-commits] Seam SVN: r12662 - branches/enterprise/JBPAPP_5_0/doc/Seam_Reference_Guide/en-US.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Apr 28 09:20:53 EDT 2010


Author: manaRH
Date: 2010-04-28 09:20:52 -0400 (Wed, 28 Apr 2010)
New Revision: 12662

Modified:
   branches/enterprise/JBPAPP_5_0/doc/Seam_Reference_Guide/en-US/Cache.xml
Log:
JBPAPP-4111 documentation changes

Modified: branches/enterprise/JBPAPP_5_0/doc/Seam_Reference_Guide/en-US/Cache.xml
===================================================================
--- branches/enterprise/JBPAPP_5_0/doc/Seam_Reference_Guide/en-US/Cache.xml	2010-04-28 13:07:24 UTC (rev 12661)
+++ branches/enterprise/JBPAPP_5_0/doc/Seam_Reference_Guide/en-US/Cache.xml	2010-04-28 13:20:52 UTC (rev 12662)
@@ -84,7 +84,7 @@
          <para>
             The application can cache transactional state using the Seam
             <literal>cacheProvider</literal> component, which integrates 
-            JBossCache, JBoss POJO Cache or EHCache into the Seam environment. 
+            JBossCache or EHCache into the Seam environment. 
             This state will be visible to other nodes if your cache supports
             running in a clustered mode.
          </para>
@@ -119,43 +119,20 @@
       <variablelist>
          <varlistentry>
             <term>
-               JBoss Cache 1.x (suitable for use in JBoss 4.2.x or later and other
-               containers)
+               JBoss Cache 3.2.x
             </term>
             <listitem>
                <para>
-                  <literal>org.jboss.cache.TreeCache</literal>
-               </para>
-            </listitem>
-         </varlistentry>
-         <varlistentry>
-            <term>
-               JBoss Cache 2.x (suitable for use in JBoss 5.x and other
-               containers)
-            </term>
-            <listitem>
-               <para>
                   <literal>org.jboss.cache.Cache</literal>
                </para>
             </listitem>
-         </varlistentry>
+         </varlistentry>         
          <varlistentry>
             <term>
-               JBoss POJO Cache 1.x (suitable for use in JBoss 4.2.x or later and other
-               containers)
+               EHCache
             </term>
             <listitem>
                <para>
-                  <literal>org.jboss.cache.aop.PojoCache</literal>
-               </para>
-            </listitem>
-         </varlistentry>
-         <varlistentry>
-            <term>
-               EHCache (suitable for use in any container)
-            </term>
-            <listitem>
-               <para>
                   <literal>net.sf.ehcache.CacheManager</literal>
                </para>
             </listitem>
@@ -179,68 +156,25 @@
       <variablelist>
          <varlistentry>
             <term>
-               JBoss Cache 1.x
+               JBoss Cache 3.2.x
             </term>
             <listitem>
                <itemizedlist>
                   <listitem>
                      <para>
-                        <literal>jboss-cache.jar</literal> - JBoss Cache 1.4.1
+                        <literal>jbosscache-core.jar</literal> - JBoss Cache 3.2.x
                      </para>
                   </listitem>
                   <listitem>
                      <para>
-                        <literal>jgroups.jar</literal> - JGroups 2.4.1
+                        <literal>jgroups.jar</literal> - JGroups 2.6.x
                      </para>
                   </listitem>
                </itemizedlist>
             </listitem>
-         </varlistentry>
+         </varlistentry>         
          <varlistentry>
             <term>
-               JBoss Cache 2.x
-            </term>
-            <listitem>
-               <itemizedlist>
-                  <listitem>
-                     <para>
-                        <literal>jboss-cache.jar</literal> - JBoss Cache 2.2.0
-                     </para>
-                  </listitem>
-                  <listitem>
-                     <para>
-                        <literal>jgroups.jar</literal> - JGroups 2.6.2
-                     </para>
-                  </listitem>
-               </itemizedlist>
-            </listitem>
-         </varlistentry>
-         <varlistentry>
-            <term>
-               JBoss POJO Cache 1.x
-            </term>
-            <listitem>
-               <itemizedlist>
-                  <listitem>
-                     <para>
-                        <literal>jboss-cache.jar</literal> - JBoss Cache 1.4.1
-                     </para>
-                  </listitem>
-                  <listitem>
-                     <para>
-                        <literal>jgroups.jar</literal> - JGroups 2.4.1
-                     </para>
-                  </listitem>
-                  <listitem>
-                     <para>
-                        <literal>jboss-aop.jar</literal> - JBoss AOP 1.5.0
-                     </para>
-                  </listitem>
-               </itemizedlist>
-            </listitem>
-         </varlistentry>
-         <varlistentry>
-            <term>
                EHCache
             </term>
             <listitem>
@@ -254,16 +188,7 @@
             </listitem>
          </varlistentry>
       </variablelist>
-      
-      <tip>
-         <para>
-            If you are using JBoss Cache in containers other than JBoss
-            Application Server, look at the JBoss Cache
-            <ulink url="http://wiki.jboss.org/wiki/JBossCache">wiki</ulink> page
-            for more dependencies.
-         </para>
-      </tip>
-      
+            
       <para>
          For an EAR depoyment of Seam, we recommend that the cache jars and
          configuration go directly into the EAR.
@@ -271,7 +196,7 @@
       
       <para>
          You'll also need to provide a configuration file for JBossCache. Place
-         <literal>treecache.xml</literal> with an appropriate cache 
+         <literal>cache-configuration.xml</literal> with an appropriate cache 
          configuration into the classpath (e.g. the ejb jar or
          <literal>WEB-INF/classes</literal>). JBossCache has many scary and 
          confusing configuration settings, so we won't discuss them here. Please
@@ -279,8 +204,8 @@
       </para>
 
       <para>
-         You can find a sample <literal>treecache.xml</literal> in
-         <literal>examples/blog/resources/treecache.xml</literal>.
+         You can find a sample <literal>cache-configuration.xml</literal> in
+         <literal>examples/blog/resources/META-INF/cache-configuration.xml</literal>.
       </para>
       
       <para>
@@ -295,7 +220,7 @@
       
       <programlisting role="XML"><![CDATA[<components xmlns="http://jboss.com/products/seam/components"
             xmlns:cache="http://jboss.com/products/seam/cache">
-   <cache:jboss-cache-provider configuration="META-INF/cache/treecache.xml" />
+   <cache:jboss-cache3-provider configuration="META-INF/cache/cache-configuration.xml" />
 </components>]]></programlisting>
 
       <para>Now you can inject the cache into any Seam component:</para>
@@ -325,8 +250,8 @@
 
       <programlisting role="XML"><![CDATA[<components xmlns="http://jboss.com/products/seam/components"
             xmlns:cache="http://jboss.com/products/seam/cache">
-   <cache:jboss-cache-provider name="myCache" configuration="myown/cache.xml"/>
-   <cache:jboss-cache-provider name="myOtherCache" configuration="myother/cache.xml"/>
+   <cache:jboss-cache3-provider name="myCache" configuration="myown/cache.xml"/>
+   <cache:jboss-cache3-provider name="myOtherCache" configuration="myother/cache.xml"/>
 </components>]]></programlisting>
 
    </section>



More information about the seam-commits mailing list