[jboss-cvs] JBossAS SVN: r78606 - projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ja-JP.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Sep 16 22:07:41 EDT 2008


Author: mospina
Date: 2008-09-16 22:07:41 -0400 (Tue, 16 Sep 2008)
New Revision: 78606

Added:
   projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ja-JP/JBoss_Cache_Tutorial.po
Log:
Updating cache tutorial PO files for Japanese

Added: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ja-JP/JBoss_Cache_Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ja-JP/JBoss_Cache_Tutorial.po	                        (rev 0)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/ja-JP/JBoss_Cache_Tutorial.po	2008-09-17 02:07:41 UTC (rev 78606)
@@ -0,0 +1,1313 @@
+# translation of Cache_Tutorial.po to Japanese
+# Language ja-JP translations for PACKAGE package.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
+# Automatically generated, 2007.
+# Noriko Mizumoto <noriko at redhat.com>, 2008.
+msgid ""
+msgstr ""
+"Project-Id-Version: Cache_Tutorial\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2008-09-01 05:57+0000\n"
+"PO-Revision-Date: 2008-09-03 15:36+1000\n"
+"Last-Translator: Noriko Mizumoto <noriko at redhat.com>\n"
+"Language-Team: Japanese <fedora-trans-ja at redhat.com>\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 "JBossCache チュートリアル"
+
+#. Tag: title
+#: Cache_Tutorial.xml:13
+#, no-c-format
+msgid "Introduction"
+msgstr "はじめに"
+
+#. Tag: para
+#: Cache_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 (plain 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 ""
+"JBossCache はメモリーベースでレプリケーションが行われる (同期、非同期)、トランザク"
+"ション的で微調整が可能なキャッシュです。 TreeCache (普通のキャッシュ) と PojoCache (オブジェクト指向 POJOキャッシュ) の 2 つのサブシスから構成されます。 このチュートリアルでは、 両方のキャッシュの機能に関する使用用途をデモを実行しながら見ていきます。 使用用途の詳細や API については次のユーザマニュアルを参照してください、 <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index.html"
+"\">TreeCache</ulink> と <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 "スコープ"
+
+#. Tag: para
+#: Cache_Tutorial.xml:21
+#, no-c-format
+msgid "Cache creation and modification"
+msgstr "キャッシュの作成と変更"
+
+#. Tag: para
+#: Cache_Tutorial.xml:26
+#, no-c-format
+msgid "Replication"
+msgstr "レプリケーション"
+
+#. Tag: para
+#: Cache_Tutorial.xml:31
+#, no-c-format
+msgid "<para>PojoCache</para>"
+msgstr "<para>PojoCache</para>"
+
+#. Tag: para
+#: Cache_Tutorial.xml:36
+#, no-c-format
+msgid "Transaction"
+msgstr "トランザクション"
+
+#. Tag: title
+#: Cache_Tutorial.xml:45
+#, no-c-format
+msgid "Configuration"
+msgstr "設定"
+
+#. Tag: para
+#: Cache_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 ""
+"まず最初に、 スタンドアローン TreeCache コードを <ulink url=\"http://labs.jboss."
+"org/portal/jbosscache/download/index.html\">ここ</ulink> からダウンロードして"
+"ください。 解凍すると、 ルートディレクトリがあります (本ガイド内のサンプルでは jboss-cache)。"
+
+#. Tag: para
+#: Cache_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 ""
+"設定ファイルは etc ディレクトリ配下にあります。 各種設定ファイルを編集することで "
+"TreeCache の動作を変更することが可能です。"
+
+#. Tag: para
+#: Cache_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 ""
+"<literal>log4j.xml</literal> はログの出力です。 ログレベルの切り替えやログファイルの"
+"ディレクトリ変更 (デフォルトは <literal>/tmp/jbosscache.log</literal>) が可能です。"
+
+#. Tag: para
+#: Cache_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 ""
+"<literal>replSync-service.xml</literal> は Tree キャッシュ設定ファイル (ファイル"
+"名は固定ではありません。 <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
+#, 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 ""
+"<literal>jboss-aop.xml</literal> はサンプル POJO クラス Person と Address それぞれの"
+"AOP ポイントカットとアドバイス定義になります。 AOP へのクラス配置の方法の詳細は、 <ulink "
+"url=\"http://www.jboss.org/products/jbosscache/docs\">PojoCache</ulink> を参照"
+"してください。 このファイルはプロセスが開始されるときに読み込まれます。"
+
+#. Tag: title
+#: Cache_Tutorial.xml:71
+#, no-c-format
+msgid "Script"
+msgstr "スクリプト"
+
+#. Tag: para
+#: Cache_Tutorial.xml:72
+#, no-c-format
+msgid ""
+"The script files that are needed (located under install directory) in this "
+"tutorial are:"
+msgstr ""
+"本チュートリアルに必要となるスクリプトファイル (インストールディレクトリに配置) "
+"は以下の通りです。"
+
+#. Tag: para
+#: Cache_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 ""
+"<literal>build.sh</literal> (DOS/Windows の場合は <literal>build.bat</"
+"literal>) は ant をラッピングする簡単なビルドスクリプトです。 "
+"ヘルプが必要な場合は <literal>sh build.sh</literal> とタイプするだけです。 これ以降は、 DOS版に対応するものがあることを理解しているものとして、 Unix 版についてのみ説明していきます。 次に説明する runDemoShell も同様となります。"
+
+#. Tag: para
+#: Cache_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 ""
+"<literal>runDemoShell.sh</literal> は BeanShell をラッピングした簡単な起動スクリ"
+"プトです。 対話的にコマンドラインを使ってレプリケーションキャッシュを操作"
+"するために使用されます。"
+
+#. Tag: para
+#: Cache_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 "<literal>plain.bsh</literal> はキャッシュをインスタンス化して設定する Java コードです。 サンプルのキャッシュエントリも作成します。"
+
+#. Tag: para
+#: Cache_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 (plain 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
+#, no-c-format
+msgid ""
+"<literal>aopWithTx.bsh</literal>. Same with aop.bsh except it also "
+"instantiates a transaction context."
+msgstr ""
+"<literal>aopWithTx.bsh</literal> はトランザクションコンテキストもインスタンス"
+"化する以外は aop.bsh と同様です。"
+
+#. Tag: title
+#: Cache_Tutorial.xml:104
+#, no-c-format
+msgid "Example POJO"
+msgstr "サンプル POJO"
+
+#. Tag: para
+#: Cache_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 ""
+"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 インスタンスをキャッシュに置いた後、 単なる POJO の get/set メソッドがキャッシュによってインターセプトされるデモを実行してみます。"
+
+#. Tag: para
+#: Cache_Tutorial.xml:108
+#, no-c-format
+msgid ""
+"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
+#, 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
+#: Cache_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
+#: Cache_Tutorial.xml:115
+#, no-c-format
+msgid "Demo"
+msgstr "デモ"
+
+#. Tag: para
+#: Cache_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 ""
+"デモを実行するには、 最低 2 つのウィンドウが必要です。 1 つはキャッシュの内容"
+"をパースするために (加えて、AOP ではない操作)、 もう 1 つはキャッシュを直接操作す"
+"るためです。 当然、 複数のメンバーに対してキャッシュのレプリケーションが動作しているところを表示するために 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 "それぞれのデモでは、 設定全体を再起動するのが最適です。"
+
+#. Tag: para
+#: Cache_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 "GUI ウィンドウでキャッシュの内容を変更することができるため、 BSH キャッシュの内容でそれが表示されますが (例、 <literal>cache.printDetails()</literal>を使用)、 PojoCache のデモではこのようには動作しません。 つまり、 BSH ウィンドウでのみキャッシュの内容が変更できるということです。"
+
+#. Tag: para
+#: Cache_Tutorial.xml:131
+#, no-c-format
+msgid "The two demo programs to run are:"
+msgstr "実行する 2 つのデモプログラムは以下です。"
+
+#. Tag: para
+#: Cache_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 "1 番目の GUI ウィンドウで、 <literal>sh build.sh </literal> と入力して使用可能なコマンドを表示させます。 GUI を実行するには、 <literal>sh build.sh run.demo</literal> と入力します。 PojoCache の GUI が起動します。 後で内容を確認するためにノードをクリックすることができます。 非 AOP キャッシュのエントリのノード内容を追加、 変更することも可能です。 現在、 GUI エントリは String しか受け取らないため、 GUI からの AOP キャッシュの操作は String 型でない限り動作しません。"
+
+#. Tag: para
+#: Cache_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 ""
+"対話式 Java コマンド用の 2 番目のウィンドウで、 BeanShell 対話コマンドシェルを起動する"
+"ために runShellDemo.sh と入力します (Windows や Unix いずれでも ^D または ^Z を使用するとその後に終了します)。 これでキャッシュの各種機能のデモを実行する Java コードのスクリプト (plain.bsh、aop.bsh、aopWithTx.bsh) を読み込むことができます。 詳細を以下に記します。"
+
+#. Tag: title
+#: Cache_Tutorial.xml:148
+#, no-c-format
+msgid "Plain cache"
+msgstr "普通のキャッシュ"
+
+#. Tag: para
+#: Cache_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 ""
+"シェルが起動したら、 キャッシュを移植するスクリプトを実行するか、 コマンドラ"
+"インから手作業でそれを入力することができます。 スクリプトを実行するには、 BSH の"
+"対話シェル上で <literal>sourceRelative(\"plain.bsh\");</literal> と入力します。 正常に動作するには、 カレントディレクトリが plain.bsh があるディレクトリに設定されている必要があります (あるいは plain.bsh の完全パス名を指定する)。 基本的には、 このスクリプトは GUI 上にレプリケーションされるキャッシュエントリを生成します。 (スクリプト実行後に beanshell ウィンドウで show() と手作業で入力する必要があるかもしれません。) 以下にスクリプトの抜粋を示します。"
+
+#. Tag: programlisting
+#: Cache_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(); // bean shell の verbose モードl\n"
+"         TreeCache tree = new TreeCache();\n"
+"         PropertyConfigurator config = new PropertyConfigurator(); \n"
+"         // tree cache の設定、クラスパスに入っている必要があります。\n"
+"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
+"         tree.startService(); \n"
+"         // tree cahce の起動\n"
+"         tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
+"         // キャッシュエントリ生成\n"
+"         // ノード \"/a/b/c\" は存在しなければ生成されます。"
+
+#. Tag: para
+#: Cache_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 ""
+"<literal>/a/b/c</literal> という新しいエントリが作られたことを GUI で確認して"
+"ください。 ノード c をクリックするとその内容が見られます。 GUI からその内容を変更するこ"
+"とも可能です。 別のノードを生成するには、 シェル上でたとえば以下のように入力することができます。"
+
+#. Tag: programlisting
+#: Cache_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
+#: Cache_Tutorial.xml:159
+#, no-c-format
+msgid "<title>PojoCache</title>"
+msgstr "<title>PojoCache</title>"
+
+#. Tag: para
+#: Cache_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 ""
+"シェルが起動したら、 シェルスクリプトを実行するために <literal>sourceRelative"
+"(\"aop.bsh\");</literal> と入力します。 基本的には、 aop.bsh はキャッシュのインスタンス"
+"化、 設定、 各エントリの生成のステップを説明しています。 以下はコードの一部です。"
+
+#. Tag: programlisting
+#: Cache_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(); // bean shellをverbose モードでmode for bean shell\n"
+"         PojoCache tree = new PojoCache();\n"
+"         PropertyConfigurator config = new PropertyConfigurator(); // tree "
+"cacheの設定.\n"
+"         config.configure(tree, \"META-INF/replSync-service.xml\");\n"
+"         Person joe = new Person(); // joeという名のPersonオブジェクトをイン"
+"スタンス化\n"
+"         joe.setName(\"Joe Black\");\n"
+"         joe.setAge(31);\n"
+"         Address addr = new Address(); // addという名のAddressオブジェクトを"
+"インスタンス化\n"
+"         addr.setCity(\"Sunnyvale\");\n"
+"         addr.setStreet(\"123 Albert Ave\");\n"
+"         addr.setZip(94086); joe.setAddress(addr); // address参照をセット\n"
+"         tree.startService(); // tree cacheを起動\n"
+"         tree.putObject(\"/aop/joe\", joe); \n"
+"         // aop 適用オブジェクト(とそのサブオブジェクト)をキャッシュに追加し"
+"ます。\n"
+"         // aop 適用されたので、get/set メソッドの呼び出しは自動的"
+"に         // キャッシュの内容に反映されます。\n"
+"         joe.setAge(41);"
+
+#. Tag: para
+#: Cache_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 ""
+"オブジェクト (および、 その依存オブジェクト) をキャッシュに入れるために必要な API "
+"は putObject であることに留意ください。 2 番目のウィンドウの実行が終了し"
+"たら、 1 番目の GUI ウィンドウに /aop/joe/address というエントリが移植されたのが見えるはずです。 ツリーのノードをクリックすると、 そのノードに関連付けられた値が表示されます。"
+
+#. Tag: para
+#: Cache_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 ""
+"AOP の動作を見るための次のステップとして、 キャッシュに入れたかどうかを気にすることなくプレーンの get/set メソッドを実行することができます。 例えば、 シェル上で joe.setAge"
+"(20); とすることが可能で、 GUI 上の age フィールドの表示が自動的に更新されること"
+"が確認できます。 更新されない場合は、 1 度クリックしてから戻ると、 GUI の内容がリフレッシュされます。 また、 オブジェクトグラフのレプリケーションのデモを実行するには、 Joe の address を変更してキャッシュが自動的にその内容を変更することを確認します。 例えば、 addr.setCity(\"San Jose\"); と対話シェル上で入力すると、 GUI上で address が変更されたことを確認できるはずです。"
+
+#. Tag: para
+#: Cache_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 "最後に、 PojoCache もコレクションクラスのパラメータタイプで get/set に対応しています (List、 Map、 Setなど)。 例えば、 シェルコマンドライン上で以下を入力します。"
+
+#. Tag: programlisting
+#: Cache_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
+#: Cache_Tutorial.xml:176
+#, no-c-format
+msgid "PojoCache with Transaction"
+msgstr "トランザクションを持つ PojoCache"
+
+#. Tag: para
+#: Cache_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 ""
+"TreeCache のトランザクションの働きを見てみましょう。 セットアップの手順は先ほ"
+"どのセクションとほぼ同じです。 違いは、 aop.bsh ではなく aopWithTx.bsh の bsh を読み込みむことだけです。 以下はそのスクリプトの抜粋です。"
+
+#. Tag: programlisting
+#: Cache_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 ""
+"mport 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インポート\n"
+"         import javax.transaction.UserTransaction; import javax.naming.*;\n"
+"         import org.jboss.cache.transaction.DummyTransactionManager;\n"
+"         show(); // bean shellをverboseモードにします。l\n"
+"         // トランザクションマネージャをセットアップします\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(); // tree cacheの起動\n"
+"         tree.putObject(\"/aop/joe\", joe); // aop 適用オブジェクト追加\n"
+"         // aop適用されたので、get/set メソッドの呼び出しが自動的にキャッシュ"
+"の内容に反映されます。\n"
+"         // トランザクションにも対応しています。\n"
+"         tx.begin();\n"
+"         joe.setAge(41);\n"
+"         joe.getAddress().setZip(95124);\n"
+"         tx.commit();"
+
+#. Tag: para
+#: Cache_Tutorial.xml:181
+#, no-c-format
+msgid "In this example, a default dummy transaction manager is used."
+msgstr "この例では、 デフォルトの dummy transaction manager が使用されています。"
+
+#. Tag: programlisting
+#: Cache_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
+#: Cache_Tutorial.xml:187
+#, no-c-format
+msgid "CacheLoader examples"
+msgstr "CacheLoader のサンプル"
+
+#. Tag: para
+#: Cache_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 ""
+"以降すべてのサンプルは単体で配布されている JBossCahce に基づいています。 ZIP "
+"ファイルは <literal>jboss-cache</literal> ディレクトリに展開されていることを前"
+"提としています。"
+
+#. Tag: title
+#: Cache_Tutorial.xml:192
+#, no-c-format
+msgid "Local cache with CacheLoader"
+msgstr "CacheLoader を使用したローカルキャッシュ"
+
+#. Tag: para
+#: Cache_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 ""
+"このデモでは CacheLoader を使用したローカルな PojoCache を見ることができます。 POJO "
+"をキャッシュに挿入して、 その POJO が透過的に CacheLoader によって保存されることを確認してください。"
+
+#. Tag: para
+#: Cache_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 ""
+"これを実行するには、 <literal>jboss-cache/output/etc/META-INF/oodb-service."
+"xml</literal> を変更する必要があります。 <literal>CacheLoaderConfig</literal> "
+"を変更して有効なディレクトリを指定してください (有効なディレクトリがない場合は作成します)。"
+
+#. Tag: programlisting
+#: Cache_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
+#: Cache_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 ""
+"次に、 beanshell を起動して <literal>oodb.bsh</literal> を読み込みます。 キャッ"
+"シュから POJO を生成して取得するために、 既に <literal>oodb.bsh</literal> は"
+"コード含んでいることに留意してください。 独自に Person インスタンスを生成する方を選択した場合は、 これらのコメントアウトを行うのを忘れないようにしてください。"
+
+#. Tag: programlisting
+#: Cache_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
+#: Cache_Tutorial.xml:204
+#, no-c-format
+msgid "Next, create an instance of Person, and set its address and other fields:"
+msgstr "次に、 Person インスタンスを生成し、 その address や他のフィールドをセットします。"
+
+#. Tag: programlisting
+#: Cache_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
+#: Cache_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 ""
+"これでそのフィールドおよびサブオブジェクトのすべてを持つ <literal>Person</literal> オブ"
+"ジェクトが保存されました。 beanshell を終了してから再起動します。 この時点で、 "
+"生成した <literal>Person</literal> インスタンスは「p」と名付けられたので、 再びこれを検索することができます。"
+
+#. Tag: programlisting
+#: Cache_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
+#: Cache_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 ""
+"ここで興味深い点は、 キャッシュは最初の時点では空 (\"/\") であったということで"
+"す。 「p」をロードして初めて、 それが移植されました(遅延ロード)。 以前保存した"
+"データストアから「p」の値が読み込まれたことを確認できます。"
+
+#. Tag: title
+#: Cache_Tutorial.xml:221
+#, no-c-format
+msgid "Replicated cache with shared datastore"
+msgstr "共有データストアを使用したレプリケーションキャッシュ"
+
+#. Tag: para
+#: Cache_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 ""
+"このサンプルで実行するシナリオは JBossCache のドキュメントに記述されたものと同"
+"じです。 互いに内容をレプリケーションしあう 2 つの個別のノードから構成されます。 また、 どちらも <emphasis>同じ</emphasis> データストアを指しています。 設定は <literal>jboss-cache/output/etc/META-INF/replAsyncSharedCacheLoader-service.xml</literal> ファイル内にあります。"
+
+#. Tag: programlisting
+#: Cache_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;!-- クラスタに参加する場合に状態を取得するか否かにかかわらず --&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
+#: Cache_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 ""
+"<literal>FetchStateOnStartup</literal> 属性を <literal>false</literal> にセット"
+"すると、 新たに起動されたキャッシュは状態の取得を<emphasis>試行しなくなります</"
+"emphasis> (一時的にも永続的にも)。 従って、 <literal>CacheLoaderFetchTransientState</literal> 属性と "
+"<literal>CacheLoaderFetchPersistentState</literal> 属性は無視されます。 "
+"<literal>CacheLoaderShared</literal> を <literal>true</literal> にセットすると、 両方のノードが同じデータソースを共有することになります。 このサンプルでは <literal>c:\\tmp</literal> に存在します (両方のノードが同じファイルシステムへのアクセス権を持っていると前提)。 <literal>c:\\tmp</literal> が存在することを確認するか、 設定文字列を別に存在するディレクトリに指定してください。"
+
+#. Tag: para
+#: Cache_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 ""
+"新しいキャッシュの内容はすべてデータソースに存在し、 アクセスされたときに "
+"CacheLoader を通じて遅延ロードされるという意味では、 この設定は本質的に 2 つの "
+"<literal>cold</literal> ノードを提供することになりますが、 これは正しくありません。 "
+"<literal>CacheLoaderPreload</literal> はツリー全体のルートである \"/\" を指"
+"しているため、 キャッシュの全内容が再帰的にプリロードされるためです。 データは <emphasis>すべて</emphasis> キャッシュにロードされるため、 大量のデータをキャッシュに保持する場合これは恐らくあまりよくない設定になるでしょう。"
+
+#. Tag: para
+#: Cache_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 ""
+"共有データストアを使用している場合、 変更を加えるノードは CacheLoader を使用してその"
+"データストアに変更を書き出すことに留意してください。これにより両方のノードが 2 回同"
+"じデータを書き込むことを防止しています。"
+
+#. Tag: para
+#: Cache_Tutorial.xml:235
+#, no-c-format
+msgid ""
+"We can now start 2 instances by opening two shells and executing the "
+"following ANT target:"
+msgstr "2 つのシェルを開いて以下の ant ターゲットを実行すると 2 つのインスタンスを起動することができます。"
+
+#. Tag: programlisting
+#: Cache_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
+#: Cache_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 ""
+"2 つの GUI インスタンスが現れ、 キャッシュのツリー構造をグラフィカルに表示します。 "
+"右クリックあるいはメニューを使ってノードの追加、 変更、 削除を行えます。 す"
+"べての変更は 2 つのノード間でレプリケーションされます。 2 つのノードが両方共に終了され、 その後、 一方または両方のノードが再起動されると、 CacheLoader を通じて共有ストアに永続化されためシャットダウン前と同じ状態になります。"
+
+#. Tag: para
+#: Cache_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 "上記のサンプルでは、 2 つのノードが同じマシン (192.168.1.184) のポート番号 1355 と 1357 で稼動していることを示していることに留意してください。"
+
+#. Tag: title
+#: Cache_Tutorial.xml:247
+#, no-c-format
+msgid "Replicated cache with unshared (local) datastore"
+msgstr "共有されないデータストア (ローカル) を使用したレプリケーションキャッシュ"
+
+#. Tag: para
+#: Cache_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 ""
+"このサンプルでは、 2 つのノードを再び稼動させます。 しかし、 今回は同じデータストア"
+"は共有せず、 各ノードにそれぞれ個別のデータストアを持たせます。 設定は <literal>jboss-cache/output/etc/META-INF/node{1,2}.xml</literal> ファイルにあります。 "
+"node1.xml を見てみます。"
+
+#. Tag: programlisting
+#: Cache_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
+#: Cache_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 ""
+"再度、 <literal>CacheLoaderClass</literal> で Sleepycat CacheLoader の実装を使"
+"用します。 <literal>CacheLoaderConfig</literal> は <literal>c:\\tmp\\node1</"
+"literal> を指定します。 これは node1 用の Sleepycat DB が存在するディレクトリにあるディレクトリです。 node2.xml ファイルには <literal>c:\\tmp\\node2</literal> を指定する設定があるため、 2 つの異なる共有されないデータストアがあることになります。 当然、 同じマシンで 2 つのノードを稼動させるため、 この場合も同じファイルシステムを持つことに留意してください。 現実的には、 これらの 2 つのディレクトは 2 つの異なるマシンに置かれ、 各マシンは 1 つの JBossCache プロセスを稼動することになるでしょう。 ディレクトリが 2 つ存在しなければならないことに留意してください。"
+
+#. Tag: para
+#: Cache_Tutorial.xml:255
+#, no-c-format
+msgid ""
+"To create an unshared datastore, we set the <literal>CacheLoaderShared</"
+"literal> attribute to <literal>false</literal> ."
+msgstr "共有されないデータストアを生成するには、 <literal>CacheLoaderShared</literal> 属性を <literal>false</literal> に設定します。"
+
+#. Tag: para
+#: Cache_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 "再び 2 つのシェルを開き 2 つの ant ターゲットを実行するとサンプルを実行させることができます。 (以下は node1 用のターゲット)"
+
+#. Tag: programlisting
+#: Cache_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
+#: Cache_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 "<literal>run.demo.unshared.node2</literal> ターゲットは node2 を実行します。 <literal>c:\\tmp\\node2</literal> の場所に独自のデータストアを置きます (上記)。 2 つのノードのどちらかで変更が起きると必ず他方のノードにレプリケーションされ、 両方のローカルデータストアで永続化されます。 1 ノードあるいは両方のノードさえも終了させることが可能であり、 再起動すれば永続的バックエンドデータストアによってそのデータは再び利用可能となります。"
+
+#. Tag: title
+#: Cache_Tutorial.xml:267
+#, no-c-format
+msgid "Troubleshooting"
+msgstr "トラブルシューティング"
+
+#. Tag: para
+#: Cache_Tutorial.xml:268
+#, no-c-format
+msgid ""
+"Here are some tips for troubleshooting, if you encounter problems during "
+"this demo."
+msgstr "本デモの実行中、 問題に遭遇した場合それを解決するのに役立つヒントをいくつかあげておきます。"
+
+#. Tag: para
+#: Cache_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 ""
+"ほとんどの場合、 問題はキャッシュレプリケーションのレイヤ、 すなわち JGroups パッ"
+"ケージが原因となります。 出力ウィンドウ上で JGroups メンバーシップビューを確認でき"
+"ます。 BSH コマンドを実行するとビューが更新されるか確認してください。 ビュー"
+"には少なくとも 2 つのメンバーが表示されているはずです。 例えば、 私のウィンドウで"
+"は以下のようになっています。"
+
+#. Tag: programlisting
+#: Cache_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
+#: Cache_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 ""
+"4381 と 4383 の 2 つのメンバーがあるとします。 一方で、 以前より実行しているキャッシュインスタンスを閉じていないと、 メンバーシップビューにも以前よりあったものが含まれることになります。 こ"
+"れが状態を壊している可能性があります。 このため、 それぞれのデモを行う前に実行している TreeCache がないことを確認する必要があります。 これに関して問題がある場合は、 <ulink url="
+"\"http://www.jgroups.org/javagroupsnew/docs/index.html\">JGroups ウェブサイト</"
+"ulink> に問い合わせてください。"
+




More information about the jboss-cvs-commits mailing list