[jboss-cvs] JBossAS SVN: r76340 - in projects/docs/enterprise/4.3/Cache/Cache_Tutorial: bn-IN and 19 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jul 28 23:31:03 EDT 2008


Author: xhuang at jboss.com
Date: 2008-07-28 23:31:03 -0400 (Mon, 28 Jul 2008)
New Revision: 76340

Removed:
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/as-IN/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/as-IN/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/bn-IN/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/bn-IN/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/de-DE/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/de-DE/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/es-ES/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/es-ES/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/fr-FR/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/fr-FR/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/gu-IN/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/gu-IN/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/hi-IN/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/hi-IN/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/it-IT/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/it-IT/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/kn-IN/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/kn-IN/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ko-KR/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ko-KR/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ml-IN/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ml-IN/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/mr-IN/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/mr-IN/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/or-IN/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/or-IN/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pa-IN/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pa-IN/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ru-RU/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ru-RU/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/si-LK/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/si-LK/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ta-IN/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ta-IN/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/te-IN/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/te-IN/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Tutorial.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-TW/Colophon.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-TW/Tutorial.po
Modified:
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Book_Info.po
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Cache_Tutorial.po
Log:
update

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/as-IN/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/as-IN/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/as-IN/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/as-IN/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/as-IN/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/as-IN/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/bn-IN/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/bn-IN/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/bn-IN/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/bn-IN/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/bn-IN/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/bn-IN/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/de-DE/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/de-DE/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/de-DE/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9(title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10(title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12(honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12(firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13(surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14(shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14(jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14(orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14(orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16(title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17(firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18(surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19(contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0(None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/de-DE/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/de-DE/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/de-DE/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/es-ES/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/es-ES/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/es-ES/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,70 +0,0 @@
-# translation of Colophon.po to
-msgid ""
-msgstr ""
-"Project-Id-Version: Colophon\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2008-07-24 15:17+1000\n"
-"Last-Translator: Angela Garcia\n"
-"Language-Team:  <en at li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.11.4\n"
-
-#: Colophon.xml:9(title)
-msgid "Bibliography"
-msgstr "Bibliografia"
-
-#: Colophon.xml:10(title)
-msgid "Authors"
-msgstr "Autores"
-
-#: Colophon.xml:12(honorific)
-msgid "Mr"
-msgstr "Sr."
-
-#: Colophon.xml:12(firstname)
-msgid "Norman"
-msgstr "Norman"
-
-#: Colophon.xml:13(surname)
-msgid "Walsh"
-msgstr "Walsh"
-
-#: Colophon.xml:14(shortaffil)
-msgid "ATI"
-msgstr "ATI"
-
-#: Colophon.xml:14(jobtitle)
-msgid "Senior Application Analyst"
-msgstr "Alto analista de aplicaciones "
-
-#: Colophon.xml:14(orgname)
-msgid "ArborText, Inc."
-msgstr "ArborText, Inc."
-
-#: Colophon.xml:14(orgdiv)
-msgid "Application Developement"
-msgstr "Desarrollo de aplicaciones "
-
-#: Colophon.xml:16(title)
-msgid "Translator"
-msgstr "Traductor"
-
-#: Colophon.xml:17(firstname)
-msgid "John"
-msgstr "John"
-
-#: Colophon.xml:18(surname)
-msgid "Doe"
-msgstr "Doe"
-
-#: Colophon.xml:19(contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr "Revisión exaustiva y borradores de las secciones 1.3, 1.4, y 1.5"
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0(None)
-msgid "translator-credits"
-msgstr "agarcia at redhat.com"
-

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/es-ES/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/es-ES/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/es-ES/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,1202 +0,0 @@
-# translation of Tutorial.po to
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: Tutorial\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2008-07-24 15:12+1000\n"
-"Last-Translator: Angela Garcia\n"
-"Language-Team:  <en at li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.11.4\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr "Tutorial de JBossCache"
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr "Introducción"
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr "Creación y modificación de caché"
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr "Duplicación"
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr "<para>PojoCache</para>"
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr "Transacción"
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr "Configuración"
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid "For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr "<title>PojoCache</title>"
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr "Ejejmplos de CacheLoader"
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr "Local cache con CacheLoader"
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid "Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid "[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr "[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""
-

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/fr-FR/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/fr-FR/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/fr-FR/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9(title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10(title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12(honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12(firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13(surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14(shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14(jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14(orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14(orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16(title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17(firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18(surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19(contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0(None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/fr-FR/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/fr-FR/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/fr-FR/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/gu-IN/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/gu-IN/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/gu-IN/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/gu-IN/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/gu-IN/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/gu-IN/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/hi-IN/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/hi-IN/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/hi-IN/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/hi-IN/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/hi-IN/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/hi-IN/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/it-IT/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/it-IT/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/it-IT/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/it-IT/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/it-IT/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/it-IT/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/kn-IN/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/kn-IN/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/kn-IN/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/kn-IN/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/kn-IN/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/kn-IN/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ko-KR/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ko-KR/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ko-KR/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ko-KR/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ko-KR/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ko-KR/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ml-IN/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ml-IN/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ml-IN/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ml-IN/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ml-IN/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ml-IN/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/mr-IN/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/mr-IN/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/mr-IN/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/mr-IN/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/mr-IN/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/mr-IN/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/or-IN/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/or-IN/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/or-IN/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/or-IN/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/or-IN/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/or-IN/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pa-IN/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pa-IN/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pa-IN/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pa-IN/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pa-IN/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pa-IN/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9(title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10(title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12(honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12(firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13(surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14(shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14(jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14(orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14(orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16(title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17(firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18(surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19(contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0(None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ru-RU/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ru-RU/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ru-RU/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ru-RU/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ru-RU/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ru-RU/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/si-LK/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/si-LK/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/si-LK/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/si-LK/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/si-LK/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/si-LK/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ta-IN/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ta-IN/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ta-IN/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ta-IN/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ta-IN/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ta-IN/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/te-IN/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/te-IN/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/te-IN/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/te-IN/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/te-IN/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/te-IN/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Modified: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Book_Info.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Book_Info.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Book_Info.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,38 +1,42 @@
+# translation of Book_Info.po to
 # Language zh-CN translations for Cache_Tutorial package.
+#
 # Automatically generated, 2008.
-#
+# Xi HUANG <xhuang at redhat.com>, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: Cache_Tutorial 4.3\n"
+"Project-Id-Version: Book_Info\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2008-07-24 03:55+0000\n"
-"PO-Revision-Date: 2008-07-24 03:55+0000\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-07-24 14:48+1000\n"
+"Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
+"Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: Book_Info.xml:10
 #, no-c-format
 msgid "JBoss Cache"
-msgstr ""
+msgstr "JBoss Cache"
 
 #. Tag: subtitle
 #: Book_Info.xml:11
 #, no-c-format
 msgid "TreeCache and PojoCache Tutorial"
-msgstr ""
+msgstr "TreeCache 和 PojoCache 教程"
 
 #. Tag: para
 #: Book_Info.xml:15
 #, no-c-format
 msgid "This book is a TreeCache and JBossCache Tutorial."
-msgstr ""
+msgstr "本书是关于 TreeCache 和 PojoCache 的教程。"
 
 #. Tag: holder
 #: Book_Info.xml:36
 #, no-c-format
 msgid "&HOLDER;"
-msgstr ""
+msgstr "&HOLDER;"
+

Modified: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Cache_Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Cache_Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Cache_Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,29 +1,32 @@
+# translation of Cache_Tutorial.po to
 # Language zh-CN translations for Cache_Tutorial package.
+#
 # Automatically generated, 2008.
-#
+# Xi HUANG <xhuang at redhat.com>, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: Cache_Tutorial 4.3\n"
+"Project-Id-Version: Cache_Tutorial\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2008-07-24 03:55+0000\n"
-"PO-Revision-Date: 2008-07-24 03:55+0000\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-07-24 16:14+1000\n"
+"Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
+"Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: Cache_Tutorial.xml:10
 #, no-c-format
 msgid "JBossCache Tutorial"
-msgstr ""
+msgstr "JBossCache 教程"
 
 #. Tag: title
 #: Cache_Tutorial.xml:13
 #, no-c-format
 msgid "Introduction"
-msgstr ""
+msgstr "简介"
 
 #. Tag: para
 #: Cache_Tutorial.xml:14
@@ -38,42 +41,46 @@
 "ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
 "html\">PojoCache</ulink>."
 msgstr ""
+"JBossCache 是一种在内存里复制(同步或异步)、基于事务的细颗粒度的缓存软件。它由两个子系统组成:TreeCache (plaing cache) 和 PojoCache (object-oriented POJO cache)。在本教程里,我们将演示这两种缓存的功能。关于使用的细节以及 API,请参考 <ulink url="
+"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
+"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
+"html\">PojoCache</ulink> 里的用户手册。"
 
 #. Tag: title
 #: Cache_Tutorial.xml:18
 #, no-c-format
 msgid "Scope"
-msgstr ""
+msgstr "范围"
 
 #. Tag: para
 #: Cache_Tutorial.xml:21
 #, no-c-format
 msgid "Cache creation and modification"
-msgstr ""
+msgstr "缓存的创建和修改"
 
 #. Tag: para
 #: Cache_Tutorial.xml:26
 #, no-c-format
 msgid "Replication"
-msgstr ""
+msgstr "复制"
 
 #. Tag: para
 #: Cache_Tutorial.xml:31
 #, no-c-format
 msgid "<para>PojoCache</para>"
-msgstr ""
+msgstr "<para>PojoCache</para>"
 
 #. Tag: para
 #: Cache_Tutorial.xml:36
 #, no-c-format
 msgid "Transaction"
-msgstr ""
+msgstr "事务"
 
 #. Tag: title
 #: Cache_Tutorial.xml:45
 #, no-c-format
 msgid "Configuration"
-msgstr ""
+msgstr "配置"
 
 #. Tag: para
 #: Cache_Tutorial.xml:46
@@ -83,6 +90,8 @@
 "jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
 "and you will get a root directory (jboss-cache in our example)."
 msgstr ""
+"首先请从 <ulink url=\"http://labs."
+"jboss.org/portal/jbosscache/download/index.html\">here</ulink> 下载独立的 TreeCache 代码。解压后你将得到一个根目录(这个例子是 jboss-cache)。"
 
 #. Tag: para
 #: Cache_Tutorial.xml:49
@@ -90,7 +99,7 @@
 msgid ""
 "The configuration files are located under the etc directory. You can modify "
 "the behavior of TreeCache through editing the various configuration files."
-msgstr ""
+msgstr "配置文件位于 ect 目录下。你可以通过编辑不同的配置文件来指定 TreeCache 的行为。"
 
 #. Tag: para
 #: Cache_Tutorial.xml:54
@@ -100,6 +109,8 @@
 "or change log file directory (default is <literal>/tmp/jbosscache.log</"
 "literal>)."
 msgstr ""
+"<literal>log4j.xml</literal>:日志输出。你可以设定日志级别或修改日志文件存放的目录(缺省为 <literal>/tmp/jbosscache.log</"
+"literal>)。"
 
 #. Tag: para
 #: Cache_Tutorial.xml:59
@@ -116,6 +127,9 @@
 "ulink>, a lightweight Java compatible scripting language) script to "
 "configure the cache."
 msgstr ""
+"<literal>replSync-service.xml</literal>:TreeCache 配置文件(其文件名不固定,你可以在 <literal>PropertyConfigurator</literal> 里指定)。这个文件里的设置用于复制、同步和事务性缓存。缺省的 DummyTransactionManager 以事务隔离级别 REPEATABLE_READ 使用。关于配置参数的细节,请参考 <ulink url=\"http://www."
+"jboss.org/products/jbosscache/docs\">Treecache</ulink>。请注意,这个文件用 BSH(<ulink url=\"http://www.beanshell.org/\">BeanShell</"
+"ulink>,它是一个轻量级的兼容 Java 的脚本语言)脚本来配置缓存。"
 
 #. Tag: para
 #: Cache_Tutorial.xml:64
@@ -127,12 +141,14 @@
 "jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
 "when the process is started."
 msgstr ""
+"<literal>jboss-aop.xml</literal>:示例 POJO 类 Person 和 Address 的 AOP 切入点和 advice 定义。关于如何对自己的类使用 AOP,请参考 <ulink url=\"http://www."
+"jboss.org/products/jbosscache/docs\">PojoCache</ulink>。进程启动时将读入这个文件。"
 
 #. Tag: title
 #: Cache_Tutorial.xml:71
 #, no-c-format
 msgid "Script"
-msgstr ""
+msgstr "脚本"
 
 #. Tag: para
 #: Cache_Tutorial.xml:72
@@ -140,7 +156,7 @@
 msgid ""
 "The script files that are needed (located under install directory) in this "
 "tutorial are:"
-msgstr ""
+msgstr "本教程所需的脚本文件是(位于 install 目录下):"
 
 #. Tag: para
 #: Cache_Tutorial.xml:77
@@ -151,7 +167,7 @@
 "<literal>sh build.sh</literal> for help. Note from now on, we will only "
 "refer to the Unix version with the understanding that there is a "
 "corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
+msgstr "<literal>build.sh</literal>(或用于 DOS/Windows 的 <literal>build.bat</literal>):用于 Ant 的简单构建脚本。用户可以简单地输入 <literal>sh build.sh</literal> 里获取帮助。从现在开始,虽然我们将只引用基于类 Unix 系统的版本,但请注意也有相应的 DOS 版本存在。后面的 runDemoShell 也是这样。"
 
 #. Tag: para
 #: Cache_Tutorial.xml:82
@@ -160,7 +176,7 @@
 "<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
 "BeanShell. This is used to operate the replicated cache through interactive "
 "command line."
-msgstr ""
+msgstr "<literal>runDemoShell.sh</literal>:使用 BeanShell 的简单脚本。我们通过交互式的命令行来操作复制缓存。"
 
 #. Tag: para
 #: Cache_Tutorial.xml:87
@@ -168,7 +184,7 @@
 msgid ""
 "<literal>plain.bsh</literal>. Java code that instantiate and configure the "
 "cache. It also creates an example cache entry."
-msgstr ""
+msgstr "<literal>plain.bsh</literal>:初始化和配置缓存的 Java 代码。它也创建示例 cache entry。"
 
 #. Tag: para
 #: Cache_Tutorial.xml:92
@@ -178,6 +194,8 @@
 "aop cache. In addition, it also sets up the example POJO (plaing old Java "
 "object) classes (e.g., Person and Address)."
 msgstr ""
+"<literal>aop.bsh</literal>:初始化和配置 AOP 缓存的 Java 代码。此外,它也设立作为示例的 POJO(plaing old Java "
+"object)类(如 Person 和 Address)。"
 
 #. Tag: para
 #: Cache_Tutorial.xml:97
@@ -185,13 +203,13 @@
 msgid ""
 "<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
 "instantiates a transaction context."
-msgstr ""
+msgstr "<literal>aopWithTx.bsh</literal>:和 aop.bsh 相同,但它也初始化事务上下文。"
 
 #. Tag: title
 #: Cache_Tutorial.xml:104
 #, no-c-format
 msgid "Example POJO"
-msgstr ""
+msgstr "POJO 示例"
 
 #. Tag: para
 #: Cache_Tutorial.xml:105
@@ -204,6 +222,10 @@
 "</literal> , etc. We will demonstrate that once you put the POJO instance in "
 "the cache, plain get/set POJO methods will be intercepted by the cache."
 msgstr ""
+"用于 PojoCache 演示例程的 POJO 类是:<literal>Person</"
+"literal> 和 <literal>Address</literal>。它们位于 <literal>tests/org/jboss/cache/aop</literal> 目录下。<literal>Person</"
+"literal> 具有 <literal>String age、Address addr、List languages "
+"</literal> 等属性。我们将演示一旦你把 POJO 实例放入缓存,普通的 get/set POJO 方法将被缓存拦截。"
 
 #. Tag: para
 #: Cache_Tutorial.xml:108
@@ -212,6 +234,8 @@
 "Here is the snippet of the class definition for <literal>Person</literal> "
 "and <literal>Address</literal> ."
 msgstr ""
+"这里是 <literal>Person</literal> "
+"和 <literal>Address</literal> 类定义的片段。"
 
 #. Tag: programlisting
 #: Cache_Tutorial.xml:111
@@ -230,6 +254,18 @@
 "         ...\n"
 "         }"
 msgstr ""
+"public class Person {\n"
+"         String name=null;\n"
+"         int age=0;\n"
+"         Map hobbies=null;\n"
+"         Address address=null;\n"
+"         Set skills;\n"
+"         List languages;\n"
+"\n"
+"         public String getName() { return name; }\n"
+"         public void setName(String name) { this.name=name; }\n"
+"         ...\n"
+"         }"
 
 #. Tag: programlisting
 #: Cache_Tutorial.xml:112
@@ -245,12 +281,21 @@
 "         ...\n"
 "         }"
 msgstr ""
+"public class Address {\n"
+"         String street=null;\n"
+"         String city=null;\n"
+"         int zip=0;\n"
+"\n"
+"         public String getStreet() { return street; }\n"
+"         public void setStreet(String street) { this.street=street; }\n"
+"         ...\n"
+"         }"
 
 #. Tag: title
 #: Cache_Tutorial.xml:115
 #, no-c-format
 msgid "Demo"
-msgstr ""
+msgstr "演示程序"
 
 #. Tag: para
 #: Cache_Tutorial.xml:116
@@ -263,14 +308,13 @@
 "scripts under jboss-cache installation directory after you unzip the release "
 "package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
 "note that:"
-msgstr ""
+msgstr "要运行这个演示程序,你至少需要两个窗口:一个用来跟踪缓存内容(以及非 AOP 操作)、另外一个用于对缓存的直接操作。当然,你也要打开至少一个 GUI 窗口来查看运行时缓存复制到多个成员的情况。在解压发行包(jboss-cache-dist.zip)后,你也需要运行 jboss-cache 安装目录下的脚本。由于 GUI 的限制,请注意:"
 
 #. Tag: para
 #: Cache_Tutorial.xml:121
 #, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
+msgid "For each demo example, it&#39;d be best if you re-start the whole setup."
+msgstr "对于每个演示程序,最好重新进行整个设置过程。"
 
 #. Tag: para
 #: Cache_Tutorial.xml:126
@@ -281,6 +325,8 @@
 "literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
 "modify the cache content on the BSH window."
 msgstr ""
+"你可以在 GUI 窗口上修改缓存内容,它将显示在 BSH 缓存窗口上(例如通过 <literal>cache.printDetails()</"
+"literal>),但这不适应于 PojoCache 演示程序。也就是说,你只能在 BSH 窗口上修改缓存内容。"
 
 #. Tag: para
 #: Cache_Tutorial.xml:131
@@ -609,8 +655,7 @@
 #. Tag: para
 #: Cache_Tutorial.xml:204
 #, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
+msgid "Next, create an instance of Person, and set its address and other fields:"
 msgstr ""
 
 #. Tag: programlisting
@@ -954,8 +999,7 @@
 #. Tag: programlisting
 #: Cache_Tutorial.xml:276
 #, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
+msgid "[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
 msgstr ""
 
 #. Tag: para
@@ -969,3 +1013,4 @@
 "have problem with this, please consult the <ulink url=\"http://www.jgroups."
 "org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
 msgstr ""
+

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9(title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10(title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12(honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12(firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13(surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14(shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14(jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14(orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14(orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16(title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17(firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18(surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19(contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0(None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-CN/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-TW/Colophon.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-TW/Colophon.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-TW/Colophon.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,67 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-04-17 00:26-0500\n"
-"PO-Revision-Date: 2007-04-17 00:26-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: Colophon.xml:9 (title)
-msgid "Bibliography"
-msgstr ""
-
-#: Colophon.xml:10 (title)
-msgid "Authors"
-msgstr ""
-
-#: Colophon.xml:12 (honorific)
-msgid "Mr"
-msgstr ""
-
-#: Colophon.xml:12 (firstname)
-msgid "Norman"
-msgstr ""
-
-#: Colophon.xml:13 (surname)
-msgid "Walsh"
-msgstr ""
-
-#: Colophon.xml:14 (shortaffil)
-msgid "ATI"
-msgstr ""
-
-#: Colophon.xml:14 (jobtitle)
-msgid "Senior Application Analyst"
-msgstr ""
-
-#: Colophon.xml:14 (orgname)
-msgid "ArborText, Inc."
-msgstr ""
-
-#: Colophon.xml:14 (orgdiv)
-msgid "Application Developement"
-msgstr ""
-
-#: Colophon.xml:16 (title)
-msgid "Translator"
-msgstr ""
-
-#: Colophon.xml:17 (firstname)
-msgid "John"
-msgstr ""
-
-#: Colophon.xml:18 (surname)
-msgid "Doe"
-msgstr ""
-
-#: Colophon.xml:19 (contrib)
-msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
-
-#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
-#: Colophon.xml:0 (None)
-msgid "translator-credits"
-msgstr ""

Deleted: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-TW/Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-TW/Tutorial.po	2008-07-29 02:48:55 UTC (rev 76339)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/zh-TW/Tutorial.po	2008-07-29 03:31:03 UTC (rev 76340)
@@ -1,971 +0,0 @@
-# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
-# Automatically generated, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: JBEAP 420\n"
-"POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Tag: title
-#: Tutorial.xml:10
-#, no-c-format
-msgid "JBossCache Tutorial"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:13
-#, no-c-format
-msgid "Introduction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:14
-#, no-c-format
-msgid ""
-"JBossCache is an in-memory replicated (synchronous or asynchronous), "
-"transactional, and fine-grained cache. It consists of two subsystems: "
-"TreeCache (plaing cache) and PojoCache (object-oriented POJO cache). In this "
-"tutorial, we will demonstrate the usage of both cache features. For details "
-"of the usage and APIs, please refer to the user manuals for <ulink url="
-"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
-"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
-"html\">PojoCache</ulink>."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:18
-#, no-c-format
-msgid "Scope"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:21
-#, no-c-format
-msgid "Cache creation and modification"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:26
-#, no-c-format
-msgid "Replication"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:31
-#, no-c-format
-msgid "<para>PojoCache</para>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:36
-#, no-c-format
-msgid "Transaction"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:45
-#, no-c-format
-msgid "Configuration"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:46
-#, no-c-format
-msgid ""
-"First download the standalone TreeCache code from <ulink url=\"http://labs."
-"jboss.org/portal/jbosscache/download/index.html\">here</ulink>. Unzip it, "
-"and you will get a root directory (jboss-cache in our example)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:49
-#, no-c-format
-msgid ""
-"The configuration files are located under the etc directory. You can modify "
-"the behavior of TreeCache through editing the various configuration files."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:54
-#, no-c-format
-msgid ""
-"<literal>log4j.xml</literal>. Logging output. You can turn on logging level "
-"or change log file directory (default is <literal>/tmp/jbosscache.log</"
-"literal>)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:59
-#, no-c-format
-msgid ""
-"<literal>replSync-service.xml</literal>. Tree cache configuration file (file "
-"name is not fixed. You specify the file to be read in "
-"<literal>PropertyConfigurator</literal>). The settings are for a replicated, "
-"synchronous, and transactional cache. The default DummyTransactionManager is "
-"used with a transaction isolation level of REPEATABLE_READ. For details of "
-"the configuration parameters, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">Treecache</ulink>. Note that this file "
-"is used in the BSH ( <ulink url=\"http://www.beanshell.org/\">BeanShell</"
-"ulink>, a lightweight Java compatible scripting language) script to "
-"configure the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:64
-#, no-c-format
-msgid ""
-"<literal>jboss-aop.xml</literal>. AOP pointcut and advice definition for the "
-"example POJO classes, Person and Address, respectively. For details of how "
-"to put your own class under AOP, please refer to the <ulink url=\"http://www."
-"jboss.org/products/jbosscache/docs\">PojoCache</ulink>. This file is read in "
-"when the process is started."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:71
-#, no-c-format
-msgid "Script"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:72
-#, no-c-format
-msgid ""
-"The script files that are needed (located under install directory) in this "
-"tutorial are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:77
-#, no-c-format
-msgid ""
-"<literal>build.sh</literal> (or <literal>build.bat</literal> for DOS/"
-"Windows). Simple build script that wraps around ant. Users can simply type "
-"<literal>sh build.sh</literal> for help. Note from now on, we will only "
-"refer to the Unix version with the understanding that there is a "
-"corresponding DOS counterpart. The same goes for runDemoShell explained next."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:82
-#, no-c-format
-msgid ""
-"<literal>runDemoShell.sh</literal>. Simple run script that wraps around "
-"BeanShell. This is used to operate the replicated cache through interactive "
-"command line."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:87
-#, no-c-format
-msgid ""
-"<literal>plain.bsh</literal>. Java code that instantiate and configure the "
-"cache. It also creates an example cache entry."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:92
-#, no-c-format
-msgid ""
-"<literal>aop.bsh</literal>. Java codes that instantiate and configure the "
-"aop cache. In addition, it also sets up the example POJO (plaing old Java "
-"object) classes (e.g., Person and Address)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:97
-#, no-c-format
-msgid ""
-"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
-"instantiates a transaction context."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:104
-#, no-c-format
-msgid "Example POJO"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:105
-#, no-c-format
-msgid ""
-"The example POJO classes used for PojoCache demo are: <literal>Person</"
-"literal> and <literal>Address</literal>. They are located under "
-"<literal>tests/org/jboss/cache/aop</literal> directory. <literal>Person</"
-"literal> has attributes of <literal>String age, Address addr, List languages "
-"</literal> , etc. We will demonstrate that once you put the POJO instance in "
-"the cache, plain get/set POJO methods will be intercepted by the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:108
-#, no-c-format
-msgid ""
-"Here is the snippet of the class definition for <literal>Person</literal> "
-"and <literal>Address</literal> ."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:111
-#, no-c-format
-msgid ""
-"public class Person {\n"
-"         String name=null;\n"
-"         int age=0;\n"
-"         Map hobbies=null;\n"
-"         Address address=null;\n"
-"         Set skills;\n"
-"         List languages;\n"
-"\n"
-"         public String getName() { return name; }\n"
-"         public void setName(String name) { this.name=name; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:112
-#, no-c-format
-msgid ""
-"public class Address {\n"
-"         String street=null;\n"
-"         String city=null;\n"
-"         int zip=0;\n"
-"\n"
-"         public String getStreet() { return street; }\n"
-"         public void setStreet(String street) { this.street=street; }\n"
-"         ...\n"
-"         }"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:115
-#, no-c-format
-msgid "Demo"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:116
-#, no-c-format
-msgid ""
-"To run the demo, you will need at least two windows: one to peruse the cache "
-"contents (plus non-aop operations) and the other to operate the cache "
-"directly. Of course, you can also open more than one GUI window to see the "
-"cache replication at work to multiple members. You will also need to run the "
-"scripts under jboss-cache installation directory after you unzip the release "
-"package (jboss-cache-dist.zip). Due to the limitation of the GUI, please "
-"note that:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:121
-#, no-c-format
-msgid ""
-"For each demo example, it&#39;d be best if you re-start the whole setup."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:126
-#, no-c-format
-msgid ""
-"While you can modify the cache content on the GUI window and it will show up "
-"on the BSH cache content (e.g., through <literal>cache.printDetails()</"
-"literal> ), this won&#39;t work on PojoCache demo. That is, you can only "
-"modify the cache content on the BSH window."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:131
-#, no-c-format
-msgid "The two demo programs to run are:"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:136
-#, no-c-format
-msgid ""
-"On the first window for the GUI, type <literal>sh build.sh </literal> to see "
-"the available commands. To run the GUI, type <literal>sh build.sh run.demo</"
-"literal> . It will startup a PojoCache GUI. Later on, you can click on a "
-"node to view the the contents. Note that you can also add/modify the node "
-"contents for non-AOP cache entries. Since the GUI entry only accepts String "
-"for now, operation on aop cache from the GUI will not always work (unless it "
-"is a String type)."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:141
-#, no-c-format
-msgid ""
-"On the second window for the interactive Java commands, type sh runShellDemo."
-"sh to fire off the BeanShell interactive command shell (you can use either "
-"^D or ^Z in Windows and Unix to exit afterward). You can then read in the "
-"Java code scripts to showcase the cache capabilities (e.g., plain.bsh, aop."
-"bsh, and aopWithTx.bsh). See the following for details."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:148
-#, no-c-format
-msgid "Plain cache"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:149
-#, no-c-format
-msgid ""
-"Once you are in the shell, you can either execute the script to populate the "
-"cache, or type it in manually by command line. To run the script, type "
-"<literal>sourceRelative(\"plain.bsh\");</literal> under the interactive BSH "
-"shell. For this to work, you&#39;ll need to have your working directory set "
-"to the directory in which plain.bsh resides (otherwise give the full "
-"pathname of plain.bsh). Basically, the script will create cache entries that "
-"will be replicated onto the GUI. (You may have to type show() into the "
-"resulting beanshell window yourself) Here are the snippets for the script:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:152
-#, no-c-format
-msgid ""
-"import org.jboss.cache.*;\n"
-"         show(); // verbose mode for bean shell\n"
-"         TreeCache tree = new TreeCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache. Needs to be in the classpath\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         tree.startService(); \n"
-"         // kick start tree cache\n"
-"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
-"         // create a cache entry.\n"
-"         // Node \"/a/b/c\" will be created if it does not yet exist."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:153
-#, no-c-format
-msgid ""
-"You should see in the GUI that a new entry of <literal>/a/b/c</literal> has "
-"been created. Click on the node c to see the content. You can modify the "
-"contents from the GUI as well. To create another node, for example, you can "
-"type in the shell:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:156
-#, no-c-format
-msgid ""
-"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
-"         tree.get(\"/a/b/c/d\", \"JBoss\");"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:159
-#, no-c-format
-msgid "<title>PojoCache</title>"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:160
-#, no-c-format
-msgid ""
-"Once you are in the shell, type <literal>sourceRelative(\"aop.bsh\");</"
-"literal> to execute the shell script. Basically, aop.bsh illustrates the "
-"steps to instantiate a cache, configure it, and then create entries under "
-"it. Here are the snippets:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:163
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;\n"
-"         show(); // verbose mode for bean shell\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); // "
-"configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         Person joe = new Person(); // instantiate a Person object named "
-"joe\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"         Address addr = new Address(); // instantiate a Address object named "
-"addr\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086); joe.setAddress(addr); // set the address "
-"reference\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); \n"
-"         // add aop sanctioned object (and sub-objects) into cache.\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         // of cache contents automatically.\n"
-"         joe.setAge(41);"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:164
-#, no-c-format
-msgid ""
-"Note the API needed to put the object (and its dependent ones) into cache is "
-"putObject. Once the second window finishes execution, you should see the "
-"first GUI window has been populated with entries of /aop/joe/address. Click "
-"on each tree node will display different values associated with that node."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:167
-#, no-c-format
-msgid ""
-"Next step to see AOP in action, you can do plain get/set methods without "
-"ever worrying about put it in the cache. For example, you can do in the "
-"shell window joe.setAge(20); and see that GUI gets updated with the age "
-"field automatically (if not, click away and back will refresh the GUI "
-"content). Also to demonstrate the object graph replication, you can modify "
-"Joe&#39;s address and see the cache will update it automatically. For "
-"example, type addr.setCity(\"San Jose\"); in the interactive shell, you "
-"should see in the GUI that the address got modified."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:170
-#, no-c-format
-msgid ""
-"Finally, PojoCache also supports get/set with parameter type of Collection "
-"classes (i.e., List, Map, and Set). For example, type the following in the "
-"shell command line:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:173
-#, no-c-format
-msgid ""
-"ArrayList lang = new ArrayList();\n"
-"         lang.add(\"Ensligh\");\n"
-"         lang.add(\"Mandarin\");\n"
-"         joe.setLanguages(lang);"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:176
-#, no-c-format
-msgid "PojoCache with Transaction"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:177
-#, no-c-format
-msgid ""
-"To see TreeCache transaction at work, you start with the same setup with "
-"last section except you load the bsh of aopWithTx.bsh instead of aop.bsh. "
-"The additional snippets are:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:180
-#, no-c-format
-msgid ""
-"import org.jboss.cache.PropertyConfigurator;\n"
-"         import org.jboss.cache.aop.PojoCache;\n"
-"         import org.jboss.cache.aop.test.Person;\n"
-"         import org.jboss.cache.aop.test.Address;// Tx imports\n"
-"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
-"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
-"         show(); // verbose mode for bean shell\n"
-"         // Set up transaction manager\n"
-"         DummyTransactionManager.getInstance();\n"
-"         Properties prop = new Properties();\n"
-"         prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
-"             \"org.jboss.cache.transaction.DummyContextFactory\");\n"
-"         UserTransaction tx = (UserTransaction)new\n"
-"             InitialContext(prop).lookup(\"UserTransaction\");\n"
-"         PojoCache tree = new PojoCache();\n"
-"         PropertyConfigurator config = new PropertyConfigurator(); \n"
-"         // configure tree cache.\n"
-"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
-"         joe = new Person();\n"
-"         joe.setName(\"Joe Black\");\n"
-"         joe.setAge(31);\n"
-"\n"
-"         Address addr = new Address();\n"
-"         addr.setCity(\"Sunnyvale\");\n"
-"         addr.setStreet(\"123 Albert Ave\");\n"
-"         addr.setZip(94086);\n"
-"         joe.setAddress(addr);\n"
-"\n"
-"         tree.startService(); // kick start tree cache\n"
-"         tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
-"         // since it is aop-sanctioned, use of plain get/set methods will "
-"take care\n"
-"         of cache contents automatically.\n"
-"         // Also it is transacted\n"
-"         tx.begin();\n"
-"         joe.setAge(41);\n"
-"         joe.getAddress().setZip(95124);\n"
-"         tx.commit();"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:181
-#, no-c-format
-msgid "In this example, a default dummy transaction manager is used."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:184
-#, no-c-format
-msgid ""
-"tx.begin();\n"
-"         addr.setZip(95131);\n"
-"         tx.rollback();"
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:187
-#, no-c-format
-msgid "CacheLoader examples"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:188
-#, no-c-format
-msgid ""
-"All the examples below are based on the JBossCache standalone distribution. "
-"We assume the ZIP file has been unzipped into a directory <literal>jboss-"
-"cache</literal> ."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:192
-#, no-c-format
-msgid "Local cache with CacheLoader"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:193
-#, no-c-format
-msgid ""
-"This demo shows a local PojoCache with a CacheLoader. We will insert a POJO "
-"into the cache, and see that the POJO is transparently saved using the "
-"CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:196
-#, no-c-format
-msgid ""
-"To run this, you have to modify <literal>jboss-cache/output/etc/META-INF/"
-"oodb-service.xml</literal> : change <literal>CacheLoaderConfig</literal> to "
-"point to a valid directory (create it if it doesn&#39;t yet exist):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:199
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\oodb\n"
-"            &lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:200
-#, no-c-format
-msgid ""
-"Then start the beanshell and source <literal>oodb.bsh</literal> into it. "
-"Note that <literal>oodb.bsh</literal> already contains code to create and "
-"retrieve POJO from the cache. So remember to comment them out if you decide "
-"to create the Person instance yourself."
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:203
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:204
-#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:207
-#, no-c-format
-msgid ""
-"bsh % p=new Person();\n"
-"            &lt;name=null, age=0, hobbies=, address=null, skills=null, "
-"languages=null&gt;\n"
-"            bsh % p.age=3;\n"
-"            &lt;3&gt;\n"
-"            bsh % p.name=\"Michelle\";\n"
-"            &lt;Michelle&gt;\n"
-"            bsh % addr=new Address();\n"
-"            &lt;street=null, city=null, zip=0&gt;\n"
-"            bsh % addr.city=\"San Jose\";\n"
-"            &lt;San Jose&gt;\n"
-"            bsh % addr.zip=95124;\n"
-"            &lt;95124&gt;\n"
-"            bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
-"            &lt;1704 Almond Blossom Lane&gt;\n"
-"            bsh % p.setAddress(addr);\n"
-"            bsh % tree.putObject(\"/person/me\", p);\n"
-"            bsh % p;\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:208
-#, no-c-format
-msgid ""
-"The <literal>Person</literal> object with all of its fields and subobjects "
-"is now saved. Let&#39;s kill beanshell and restart it. At this point, "
-"because the instance of <literal>Person</literal> we created was given the "
-"name \"p\", we can retrieve it again:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:211
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./runShellDemo.sh\n"
-"            BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
-"            bsh % sourceRelative(\"oodb.bsh\");\n"
-"            interceptor chain is:\n"
-"            class org.jboss.cache.interceptors.CallInterceptor\n"
-"            class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
-"            class org.jboss.cache.interceptors.TransactionInterceptor\n"
-"            &lt;null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/&gt;\n"
-"            bsh % p=tree.getObject(\"/person/me\");\n"
-"            &lt;name=Michelle, age=3, hobbies=, address=street=1704 Almond "
-"Blossom Lane, \n"
-"                city=San Jose, zip=95124, skills=null, languages=null&gt;\n"
-"            bsh % tree;\n"
-"            &lt;/p\n"
-"            /address\n"
-"            &gt;\n"
-"            bsh %"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:212
-#, no-c-format
-msgid ""
-"The interesting thing here is that the cache was initially empty (\"/\"). "
-"Only when we loaded \"p\", did it get populated (lazy loading). You can see "
-"that the values of \"p\" are loaded from the datastore where they were "
-"previously saved."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:221
-#, no-c-format
-msgid "Replicated cache with shared datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:222
-#, no-c-format
-msgid ""
-"The scenario that we&#39;ll run in this example is described in the "
-"documentation for JBossCache. It consists of 2 separate nodes that replicate "
-"their contents between each other. In addition, they both point to the "
-"<emphasis>same</emphasis> datastore. The configuration is in file "
-"<literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service."
-"xml</literal> :"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:225
-#, no-c-format
-msgid ""
-"&lt;!-- Whether or not to fetch state on joining a cluster --&gt;\n"
-"            &lt;attribute name=\"FetchStateOnStartup\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache."
-"loader.FileCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:226
-#, no-c-format
-msgid ""
-"The <literal>FetchStateOnStartup</literal> attribute set to <literal>false</"
-"literal> means that a newly started cache will <emphasis>not</emphasis> "
-"attempt to fetch the state (neither transient nor persistent). Therefore, "
-"attributes <literal>CacheLoaderFetchTransientState</literal> and "
-"<literal>CacheLoaderFetchPersistentState</literal> will be ignored. "
-"<literal>CacheLoaderShared</literal> set to <literal>true</literal> means "
-"that both nodes will share the same datastore, which resides in <literal>c:"
-"\\tmp</literal> in the example (this assumes that both nodes have access to "
-"the same file system). Please make sure that <literal>c:\\tmp</literal> "
-"exists, or point the config string to a different existing directory."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:229
-#, no-c-format
-msgid ""
-"This configuration would essentially provide for two <literal>cold</literal> "
-"nodes, in the sense that all contents of a new cache is in the datastore, "
-"and is lazy-loaded via the CacheLoader when accessed. However, this is not "
-"true, as <literal>CacheLoaderPreload</literal> points to \"/\", which is the "
-"root of the entire tree. Therefore, all of the contents of the cache are "
-"recursively pre-loaded. This is probably a bad configuration when you have a "
-"lot of data in the cache, because <emphasis>all</emphasis> of your data will "
-"be loaded into the cache."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:232
-#, no-c-format
-msgid ""
-"Note that with a shared datastore, the node that makes a modification is the "
-"one who writes it to the store using the CacheLoader. This prevents both "
-"nodes from writing the same data twice."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:235
-#, no-c-format
-msgid ""
-"We can now start 2 instances by opening two shells and executing the "
-"following ANT target:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:238
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.async.shared.cacheloader\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.async.shared.cacheloader:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/b\n"
-"            [java] ** node loaded: /a/b/c\n"
-"            [java] ** node loaded: /uno\n"
-"            [java] ** node loaded: /uno/due\n"
-"\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] GMS: address is 192.168.1.184:1357\n"
-"            [java] -------------------------------------------------------\n"
-"            [java] interceptor chain is:\n"
-"            [java] class org.jboss.cache.interceptors.CallInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"ReplicationInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"CacheLoaderInterceptor\n"
-"            [java] class org.jboss.cache.interceptors."
-"TransactionInterceptor\n"
-"            [java] ** view change: [192.168.1.184:1355|1] "
-"[192.168.1.184:1355,\n"
-"            192.168.1.184:1357]\n"
-"            [java] ** node modified: /"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:239
-#, no-c-format
-msgid ""
-"2 GUI instances will appear, showing the tree structure of the cache "
-"graphically. Nodes can be added, modified or removed by right-clicking or "
-"using the menu. Any modification is replicated between the two nodes. If "
-"both nodes are killed, and subsequently one or both nodes are restarted, the "
-"state is the same as before shutdown as it was persisted to the shared store "
-"via the CacheLoader."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:242
-#, no-c-format
-msgid ""
-"Note that the example above shows the 2 nodes running on the same machine "
-"(192.168.1.184) on ports 1355 and 1357."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:247
-#, no-c-format
-msgid "Replicated cache with unshared (local) datastore"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:248
-#, no-c-format
-msgid ""
-"In this example, we&#39;ll run 2 nodes again, but this time, instead of "
-"sharing the same datastore, each node has its own datastore. The "
-"configuration is in file <literal>jboss-cache/output/etc/META-INF/node{1,2}."
-"xml</literal> . We&#39;ll look at node1.xml:"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:251
-#, no-c-format
-msgid ""
-"&lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader.bdbje."
-"BdbjeCacheLoader&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderConfig\"&gt;\n"
-"            location=c:\\\\tmp\\\\node1\n"
-"            &lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderShared\"&gt;false&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/"
-"attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;"
-"false&lt;/attribute&gt;\n"
-"            &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;"
-"true&lt;/attribute&gt;"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:252
-#, no-c-format
-msgid ""
-"Again, we use the Sleepycat CacheLoader implementation in "
-"<literal>CacheLoaderClass</literal> . The <literal>CacheLoaderConfig</"
-"literal> points to <literal>c:\\tmp\\node1</literal> . This is the directory "
-"in which the Sleepycat DB for node1 will reside. File node2.xml has a "
-"configuration that points to <literal>c:\\tmp\\node2</literal> , so we have "
-"2 different unshared datastores. Note that, of course, we still have the "
-"same filesystem in our case, because we run the 2 nodes on the same machine. "
-"In practice those two directories would reside on two different machines, "
-"and each machine would run one JBossCache process. Note that the 2 "
-"directories have to exis"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:255
-#, no-c-format
-msgid ""
-"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
-"literal> attribute to <literal>false</literal> ."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:258
-#, no-c-format
-msgid ""
-"The example can be run by again opening 2 shells, and running 2 ANT targets "
-"(here we show the target for node1):"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:261
-#, no-c-format
-msgid ""
-"bela at laptop /cygdrive/c/jboss-cache\n"
-"            $ ./build.sh run.demo.unshared.node2\n"
-"            Buildfile: build.xml\n"
-"\n"
-"            init:\n"
-"\n"
-"            compile:\n"
-"\n"
-"            run.demo.unshared.node2:\n"
-"            [java] ** node loaded: /a\n"
-"            [java] ** node loaded: /a/a2\n"
-"            ..."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:262
-#, no-c-format
-msgid ""
-"The <literal>run.demo.unshared.node2</literal> target runs node2, which will "
-"have its own store located at <literal>c:\\tmp\\node2</literal> (shown "
-"above). Whenever a change is made on either of the 2 nodes, it is replicated "
-"to the other node, and persisted in both local datastores. You can kill and "
-"restart a node, or even both nodes, and the data will still be available due "
-"to the persistent backend store(s)."
-msgstr ""
-
-#. Tag: title
-#: Tutorial.xml:267
-#, no-c-format
-msgid "Troubleshooting"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:268
-#, no-c-format
-msgid ""
-"Here are some tips for troubleshooting, if you encounter problems during "
-"this demo."
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:273
-#, no-c-format
-msgid ""
-"Most of the time, the problem will come from cache replication layer, i.e., "
-"JGroups package. On the output window, you can see the JGroups membership "
-"view. See if it is updated when you run the BSH commands. It should show a "
-"view with at least two members. For example, on my window, I see"
-msgstr ""
-
-#. Tag: programlisting
-#: Tutorial.xml:276
-#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
-
-#. Tag: para
-#: Tutorial.xml:277
-#, no-c-format
-msgid ""
-"with 2 members: 4381 and 4383. On the other hand, if you don&#39;t close the "
-"previous running cache instance, the membership view will also include the "
-"previous existing ones. This can corrupt the states. So you will have to "
-"make sure there is no running TreeCache processes before each demo. If you "
-"have problem with this, please consult the <ulink url=\"http://www.jgroups."
-"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
-msgstr ""




More information about the jboss-cvs-commits mailing list