[jboss-cvs] JBossCache/docs/tutorial-pojo/en ...

Ben Wang bwang at jboss.com
Tue Nov 21 08:57:42 EST 2006


  User: bwang   
  Date: 06/11/21 08:57:42

  Modified:    docs/tutorial-pojo/en  master.xml
  Log:
  Doc update
  
  Revision  Changes    Path
  1.4       +12 -6     JBossCache/docs/tutorial-pojo/en/master.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: master.xml
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/docs/tutorial-pojo/en/master.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- master.xml	21 Nov 2006 06:07:55 -0000	1.3
  +++ master.xml	21 Nov 2006 13:57:42 -0000	1.4
  @@ -56,7 +56,7 @@
       example).</para>
   
       <para>The configuration files are located under the etc directory. You can
  -    modify the behavior of the underyling Cache through editing the various configuration
  +    modify the behavior of the underlying Cache through editing the various configuration
       files.</para>
   
       <itemizedlist>
  @@ -113,7 +113,7 @@
   
         <listitem>
           <para><literal>pojocache.bsh</literal>. Java codes that instantiate and configure the aop
  -        cache. In addition, it also sets up the example POJO (plaing old Java
  +        cache. In addition, it also sets up the example POJO (plain old Java
           object) classes (e.g., Person and Address).</para>
         </listitem>
   
  @@ -154,8 +154,8 @@
   }</programlisting>
   
       <programlisting>
  -       @org.jboss.cache.pojo.annotation.Replicable
  -       public class Address {
  + at org.jboss.cache.pojo.annotation.Replicable
  +public class Address {
      String street=null;
      String city=null;
      int zip=0;
  @@ -177,6 +177,7 @@
       unzip the release package (jboss-cache-pojo-dist.zip). Due to the limitation of the
        GUI, please note that:</para>
       <itemizedlist>
  +       <listitem>Do <literal>build.bat compile</literal> command if have not done so yet.</listitem>
          <listitem>For each
       demo example, it'd be best if you re-start the whole setup.</listitem>
          <listitem>While you can modify the cache content on the GUI window and it will show up on the BSH cache
  @@ -226,7 +227,7 @@
   
   String configFile = "META-INF/replSync-service.xml";
   boolean toStart = false;
  -cache = PojoCacheFactory.createInstance(configFile, toStart);
  +cache = PojoCacheFactory.createCache(configFile, toStart);
   
   joe = new Person();
   joe.setName("Joe Black");
  @@ -330,7 +331,7 @@
   
   String configFile = "META-INF/replSync-service.xml";
   boolean toStart = false;
  -cache = PojoCacheFactory.createInstance(configFile, toStart);
  +cache = PojoCacheFactory.createCache(configFile, toStart);
   
   joe = new Person();
   joe.setName("Joe Black");
  @@ -360,4 +361,9 @@
   addr.setZip(95131);
   tx.rollback();</programlisting>
     </section>
  +   <section>
  +     <title>Conclusion</title>
  +      <para>In this tutorial, we have demonstrated how to run PojoCache fine-grained replication
  +      example with and without transaction.</para>
  +   </section>
   </article>
  
  
  



More information about the jboss-cvs-commits mailing list