# translation of Tools.po to Japanese
# Noriko Mizumoto <noriko@redhat.com>, 2007.
msgid ""
msgstr ""
"Project-Id-Version: Tools\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-11-06 06:41+0000\n"
"PO-Revision-Date: 2008-12-14 05:14+0900\n"
"Last-Translator: Shinobu NOGAMI <s-nogami@sourceforge.jp>\n"
"Language-Team: Japanese <fedora-trans-ja@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
#: Oc4j.xml:2
#, no-c-format
msgid "Seam on OC4J"
msgstr "OC4J 上の Seam"

#. Tag: para
#: Oc4j.xml:4
#, no-c-format
msgid "OC4J (Oracle Containers for Java) 11g (currently a \"Technology Preview\" release) is Oracle's JEE5 application server. Seam application can be deployed to OC4J, but require some additional configuration changes, and dependencies. This chapter will show you exactly what must be done. We will start by looking at the building and deploying the JEE5 Hotel Booking example application which comes with Seam. Then we will deploy a project generated by <literal>seam-gen</literal> . First a basic <literal>seam-gen</literal> application with RichFaces ajax components, and facelets. Then expand that application to include Seam security with Drools, JPA provided with hibernate, and automatic CRUD reverse engineering of a MySQL database."
msgstr "OC4J (Oracle Containers for Java) 11g (現時点では \"Technology Preview\" リ"
       "リース) は、Oracle の JEE5 アプリケーションサーバーです。Seam アプリケーションは、OC4J にデプロイすることが可能です"
       "が、構成の変更と依存関係の追加が必要になります。この章では、まさに何が必要であるかを説明します。Seam に同梱されてい"
       "る JEE5 ホテル予約サンプルアプリケーションのビルドとデプロイを説明するところから始めます。それから、<literal>"
       "seam-gen</literal> によって生成されるプロジェクトをデプロイします。 まず最初に、RichFaces の "
       "ajax コンポーネントと facelets を使用した基本的な <literal>seam-gen<"
       "/literal> アプリケーションを動作させます。次にこのアプリケーションを、Drools を使用した Seam セキュリティ、"
       "Hibernate により提供されるJPA、MySQL データベースからのリバースエンジニアリングを使用した CRUD 自動アプリケーショ"
       "ンへと拡張してゆきます。"

#. Tag: title
#: Oc4j.xml:17
#, no-c-format
msgid "Installation and operation of OC4J"
msgstr "OC4J のインストールと操作"

#. Tag: para
#: Oc4j.xml:18
#, no-c-format
msgid "First we need to install the target container - OC4j. This chapter requires you to use OC4J 11g Technology Preview (not OC4J 10g). You can download OC4J 11g from <ulink url=\"http://www.oracle.com/technology/tech/java/oc4j/11/\"> http://www.oracle.com/technology/tech/java/oc4j/11/ </ulink> Below are instructions to install. launch, access, and shutdown the 11g release. For further information on installing OC4J, consult the <literal>readme.txt</literal> distributed with OC4J, or the OC4J installation guide and release notes."
msgstr "最初にターゲットコンテナ - OC4J のインストールが必要です。 この章では、OC4J 11g Technology Preview "
       "(OC4J 10g ではありません) の使用が必要です。OC4J 11g は <ulink url=\"http://www."
       "oracle.com/technology/tech/java/oc4j/11/\"> http://www.oracle."
       "com/technology/tech/java/oc4j/11/ </ulink> からダウンロードできます。以下は、"
       "OC4J 11g のインストール、起動、アクセス、終了の手順です。OC4J のインストールについてのさらなる情報については、OC4J と一"
       "緒に配布されている <literal>readme.txt</literal> や、OC4J インストールガイド "
       "(installation guide) 、リリースノート (release notes)を参照してください。"

#. Tag: para
#: Oc4j.xml:29
#, no-c-format
msgid "Download and unzip OC4J"
msgstr "OC4J をダウンロードして解凍してください。"

#. Tag: para
#: Oc4j.xml:32
#, no-c-format
msgid "Make sure you have <literal>$JAVA_HOME</literal> and <literal>$ORACLE_HOME</literal> set as environment variables ( <literal>$ORACLE_HOME</literal> is the directory to which you unzip OC4J). For further information on installing OC4J, consult the <literal>readme.txt</literal> distributed with OC4J"
msgstr "環境変数として <literal>$JAVA_HOME</literal> と <"
       "literal>$ORACLE_HOME</literal> が設定されていることを確認してください (<"
       "literal>$ORACLE_HOME</literal> は OC4J を解凍したディレクトリです)。 OC4J の"
       "インストールの詳細については、OC4J と一緒に配布された <literal>readme.txt<"
       "/literal> を参考にしてください"

#. Tag: para
#: Oc4j.xml:41
#, no-c-format
msgid "Applications (ear/war) are deployed to the <literal>$ORACLE_HOME/j2ee/home/applications</literal> directory."
msgstr "<literal>$ORACLE_HOME/j2ee/home/applications</literal> ディ"
       "レクトリにアプリケーション (ear/war) をデプロイしてください。"

#. Tag: para
#: Oc4j.xml:44
#, no-c-format
msgid "Note that OC4J does not support hot deployment by default. This means every time you deploy the application you must restart the server."
msgstr "OC4J は、デフォルトではホットデプロイをサポートしていないことに注意してください。 これは、アプリケーションをデプロイするたびにサーバ"
       "を再起動しなければならないことを意味します。"

#. Tag: para
#: Oc4j.xml:49
#, no-c-format
msgid "Start OC4J: <literal> $ORACLE_HOME/j2ee/home/java -jar -XX:MaxPermSize=256M oc4j.jar </literal>"
msgstr "OC4J を起動してください。 <literal> $ORACLE_HOME/j2ee/home/java -jar -XX:"
       "MaxPermSize=256M oc4j.jar </literal>"

#. Tag: para
#: Oc4j.xml:51
#, no-c-format
msgid "You must override the default PermGen memory settings using above command. See <ulink url=\"http://www.oracle.com/technology/tech/java/oc4j/11/oc4j-relnotes.html\"> OC4J release notes </ulink> for details."
msgstr "上記のコマンドを使用して、デフォルトの PermGen メモリ設定を上書きしなければなりません。詳細は、<ulink url=\""
       "http://www.oracle.com/technology/tech/java/oc4j/11/oc4j-relnotes."
       "html\"> OC4J リリースノート </ulink> を参照してください。"

#. Tag: para
#: Oc4j.xml:55
#, no-c-format
msgid "You will be asked to set the admin password if this is the first time you have started OC4J"
msgstr "OC4J の初回起動時には、管理パスワードを設定するように求められます。"

#. Tag: para
#: Oc4j.xml:59
#, no-c-format
msgid "Once deployed you can check out your applications at <literal>http://localhost:8888/&lt;your-app-path&gt;</literal>"
msgstr "デプロイできればすぐに、<literal>http://localhost:8888/&lt;your-app-"
       "path&gt;</literal> にアクセスしてアプリケーションを確認できます。"

#. Tag: para
#: Oc4j.xml:64
#, no-c-format
msgid "You can stop the server by pressing <literal>CTRL-C</literal> in the console on which the server is running."
msgstr "サーバを停止するには、サーバを実行させているコンソールで <literal>CTRL-C</literal> を押"
       "します。"

#. Tag: title
#: Oc4j.xml:72
#, no-c-format
msgid "The <literal>jee5/booking</literal> example"
msgstr "<literal>jee5/booking</literal> サンプル"

#. Tag: para
#: Oc4j.xml:74
#, no-c-format
msgid "The <literal>jee5/booking</literal> example is based on the Hotel Booking example (which runs on JBoss AS). Out of the box it is designed to run on Glassfish, but it's easy to build it for OC4J. It is located in the <literal>$SEAM_DIST/examples/jee5/booking</literal> directory."
msgstr "<literal>jee5/booking</literal> サンプルは、(JBoss AS 上で動作する) ホ"
       "テル予約サンプルに基づいています。そのままで GlassFish 上で動作するように設計されていますが、OC4J 上でも簡単に動作させるこ"
       "とができます。このサンプルは <literal>$SEAM_DIST/examples/jee5/booking<"
       "/literal> にあります。"

#. Tag: title
#: Oc4j.xml:81
#, no-c-format
msgid "Booking Example Dependencies"
msgstr "ホテル予約サンプルの依存関係"

#. Tag: para
#: Oc4j.xml:83
#, no-c-format
msgid "First, lets look at the basic dependencies of the booking example. Armed with this knowledge we can look at the extra dependencies requirements that OC4J adds."
msgstr "まずホテル予約サンプルの基本的な依存関係を調べます。この知識をもとに OC4J に必要となる追加の依存関係を調べます。"

#. Tag: para
#: Oc4j.xml:87
#, no-c-format
msgid "We will show you how to get these dependencies into the application in <xref linkend=\"oc4j-build-jee5\"/> below."
msgstr "アプリケーションに依存関係を含める方法は、後の <xref linkend=\"oc4j-build-jee5\"/> で説明"
       "します。"

#. Tag: title
#: Oc4j.xml:90
#, no-c-format
msgid "Core Seam dependencies"
msgstr "Seam コアの依存関係"

#. Tag: simpara
#: Oc4j.xml:93
#, no-c-format
msgid "<literal>jboss-seam.jar</literal> &#8212; We declare this as an EJB3 module (why? well Seam needs to be able to interact with container managed transactions; this is implemented as an EJB3 Stateful Session Bean)"
msgstr "<literal>jboss-seam.jar</literal> &#8212; EJB3 モジュールと"
       "して宣言します (Seam はコンテナ管理のトランザクションと連携する必要があるからです。そのため EJB3 ステートフルセッション  "
       "Bean として実装されています)"

#. Tag: literal
#: Oc4j.xml:100
#, no-c-format
msgid "jboss-el.jar"
msgstr "jboss-el.jar"

#. Tag: simpara
#: Oc4j.xml:103
#, no-c-format
msgid "<literal>jboss-seam-ui.jar</literal> &#8212; Seam's JSF controls depend on Apache's commons-beanutils"
msgstr "<literal>jboss-seam-ui.jar</literal> &#8212; Seam の "
       "JSF コントロールは  Apache の commons-beanutils に依存しています"

#. Tag: literal
#: Oc4j.xml:108
#, no-c-format
msgid "jboss-seam-debug.jar"
msgstr "jboss-seam-debug.jar"

#. Tag: literal
#: Oc4j.xml:112
#, no-c-format
msgid "jsf-facelets.jar"
msgstr "jsf-facelets.jar"

#. Tag: simpara
#: Oc4j.xml:116
#, no-c-format
msgid "<literal>richfaces-api.jar</literal> , <literal>richfaces-impl.jar</literal> and <literal>richfaces-ui.jar</literal> &#8212; which requires Apache commons-digester and commons-beanutils"
msgstr "<literal>richfaces-api.jar</literal> と <literal>"
       "richfaces-impl.jar</literal> と <literal>richfaces-ui."
       "jar</literal> &#8212; これらは Apache commons-digester と "
       "commons-beanutils を必要とします"

#. Tag: title
#: Oc4j.xml:126
#, no-c-format
msgid "Extra dependencies"
msgstr "追加の依存関係"

#. Tag: para
#: Oc4j.xml:129
#, no-c-format
msgid "Hibernate &#8212; of course, we decided to use Hibernate as the JPA provider (rather than TopLink Essentials which ships with OC4J)."
msgstr "Hibernate &#8212; もちろん JPA プロバイダとして (OC4J に同梱されて出荷される TopLink "
       "Essentials ではなく) Hibernate を使用します。"

#. Tag: para
#: Oc4j.xml:132
#, no-c-format
msgid "To use Hibernate as your JPA provider you need the following jars:"
msgstr "Hibernate を JPA プロバイダとして使用するためには、以下の jar が必要です。"

#. Tag: literal
#: Oc4j.xml:136
#, no-c-format
msgid "hibernate.jar"
msgstr "hibernate.jar"

#. Tag: literal
#: Oc4j.xml:141
#, no-c-format
msgid "hibernate-annotations.jar"
msgstr "hibernate-annotations.jar"

#. Tag: literal
#: Oc4j.xml:146
#, no-c-format
msgid "hibernate-entitymanager.jar"
msgstr "hibernate-entitymanager.jar"

#. Tag: literal
#: Oc4j.xml:151
#, no-c-format
msgid "hibernate-validator.jar"
msgstr "hibernate-validator.jar"

#. Tag: literal
#: Oc4j.xml:156
#, no-c-format
msgid "jboss-common-core.jar"
msgstr "jboss-common-core.jar"

#. Tag: literal
#: Oc4j.xml:161
#, no-c-format
msgid "commons-logging.jar"
msgstr "commons-logging.jar"

#. Tag: literal
#: Oc4j.xml:166
#, no-c-format
msgid "commons-collections.jar"
msgstr "commons-collections.jar"

#. Tag: para
#: Oc4j.xml:172
#, no-c-format
msgid "Third party jars &#8212; various jars needed for seam and this example to run."
msgstr "サードパーティの jar &#8212; Seam とサンプルを実行させるには、さまざまな jar が必要になります。"

#. Tag: literal
#: Oc4j.xml:176
#, no-c-format
msgid "javaasist.jar"
msgstr "javaasist.jar"

#. Tag: literal
#: Oc4j.xml:180
#, no-c-format
msgid "dom4j.jar"
msgstr "dom4j.jar"

#. Tag: literal
#: Oc4j.xml:184
#, no-c-format
msgid "cglib.jar"
msgstr "cglib.jar"

#. Tag: literal
#: Oc4j.xml:188
#, no-c-format
msgid "asm.jar"
msgstr "asm.jar"

#. Tag: literal
#: Oc4j.xml:193
#, no-c-format
msgid "commons-beanutils.jar"
msgstr "commons-beanutils.jar"

#. Tag: literal
#: Oc4j.xml:198
#, no-c-format
msgid "commons-digester.jar"
msgstr "commons-digester.jar"

#. Tag: literal
#: Oc4j.xml:203
#, no-c-format
msgid "concurrent.jar"
msgstr "concurrent.jar"

#. Tag: simpara
#: Oc4j.xml:207
#, no-c-format
msgid "<literal>log4j.jar</literal> &#8212; This can be left out if you are not going to configure log4j. If it is packaged but not configured logging will be hidden in oc4j."
msgstr "<literal>log4j.jar</literal> &#8212; log4j を構成"
       "しないのであれば、これは省略できます。アーカイブに含めても構成しないのであれば、OC4J に隠蔽されてしまいます。"

#. Tag: para
#: Oc4j.xml:216
#, no-c-format
msgid "Extra OC4J jars &#8212; Running Seam on most application servers (such as JBoss AS or Glassfish) you only need to include the dependencies for those bits of Seam you actually use (e.g. if you use Seam Text you need to include ANTLR); but, on OC4J, due to its \"interesting\" classloading you must always include them:"
msgstr "追加の OC4J jar &#8212; 通常のアプリケーションサーバー (例えば JBoss AS や Glassfish) で "
       "Seam を実行するには、単に実際に使用する Seam 機能の依存関係のみを含めれば十分です (例えば Seam テキストを使用するために"
       "は ANTLR を含む必要があります)。しかし OC4J では、 \"面白い\" クラスローディング機能のために、以下のものを必ず含める必"
       "要があります。"

#. Tag: literal
#: Oc4j.xml:225
#, no-c-format
msgid "hibernate-search.jar"
msgstr "hibernate-search.jar"

#. Tag: simpara
#: Oc4j.xml:229
#, no-c-format
msgid "<literal>hibernate-common-annotations.jar</literal> &#8212; needed for hibernate search"
msgstr "<literal>hibernate-common-annotations.jar</literal> &"
       "#8212; Hibernate search に必要"

#. Tag: simpara
#: Oc4j.xml:235
#, no-c-format
msgid "<literal>lucene-core.jar</literal> &#8212; needed for hibernate search"
msgstr "<literal>lucene-core.jar</literal> &#8212; Hibernate "
       "search に必要"

#. Tag: simpara
#: Oc4j.xml:240
#, no-c-format
msgid "<literal>antlr.jar</literal> &#8212; needed for Seam Text"
msgstr "<literal>antlr.jar</literal> &#8212; Seam テキストに必要"

#. Tag: simpara
#: Oc4j.xml:244
#, no-c-format
msgid "<literal>jbpm-jpdl.jar</literal> &#8212; needed for Seam's JBPM"
msgstr "<literal>jbpm-jpdl.jar</literal> &#8212; Seam JBPM に必"
       "要"

#. Tag: literal
#: Oc4j.xml:248
#, no-c-format
msgid "quartz.jar"
msgstr "quartz.jar"

#. Tag: simpara
#: Oc4j.xml:252
#, no-c-format
msgid "<literal>dbunit.jar</literal> &#8212; needed for some testing classes"
msgstr "<literal>dbunit.jar</literal> &#8212; テスト用クラスに必要"

#. Tag: simpara
#: Oc4j.xml:257
#, no-c-format
msgid "<literal>jboss-embedded-api.jar</literal> &#8212; needed for some testing classes"
msgstr "<literal>jboss-embedded-api.jar</literal> &#8212; テスト"
       "用クラスに必要"

#. Tag: para
#: Oc4j.xml:263
#, no-c-format
msgid "Drools &#8212; needed for Seam Security. We aren't using Seam security with Drools, but have to include it. Drools consists of 6 jars: <itemizedlist> <listitem> <simpara> <literal>drools-core.jar</literal> </simpara> </listitem> <listitem> <simpara> <literal>drools-compiler.jar</literal> </simpara> </listitem> <listitem> <simpara> <literal>janino.jar</literal> </simpara> </listitem> <listitem> <simpara> <literal>mvel141.jar</literal> </simpara> </listitem> <listitem> <simpara> <literal>core.jar</literal> </simpara> </listitem> <listitem> <simpara> <literal>antlr-runtime.jar</literal> </simpara> </listitem> </itemizedlist> Drools integration is not used in the example."
msgstr "Drools &#8212; Seam セキュリティのために必要です。Drools による Seam セキュリティは使用しませんが"
       "含める必要があります。Drools は 6 つの  jar からなります。<itemizedlist> <"
       "listitem> <simpara> <literal>drools-core.jar<"
       "/literal> </simpara> </listitem> <listitem> <"
       "simpara> <literal>drools-compiler.jar</literal> <"
       "/simpara> </listitem> <listitem> <simpara> <"
       "literal>janino.jar</literal> </simpara> <"
       "/listitem> <listitem> <simpara> <literal>"
       "mvel141.jar</literal> </simpara> </listitem> <"
       "listitem> <simpara> <literal>core.jar</literal> "
       "</simpara> </listitem> <listitem> <simpara> "
       "<literal>antlr-runtime.jar</literal> </simpara> "
       "</listitem> </itemizedlist> Drools 連携はこのサンプルでは使用されません。"

#. Tag: title
#: Oc4j.xml:307
#: Oc4j.xml:505
#, no-c-format
msgid "Configuration file changes"
msgstr "構成ファイルの変更点"

#. Tag: para
#: Oc4j.xml:309
#, no-c-format
msgid "There are just a few changes to be made:"
msgstr "必要な変更点はほんのわずかです。"

#. Tag: literal
#: Oc4j.xml:312
#, no-c-format
msgid "web.xml"
msgstr "web.xml"

#. Tag: para
#: Oc4j.xml:315
#, no-c-format
msgid "You need to declare all your ejb's in the <literal>web.xml</literal> . This is a silly requirement of a number of JEE5 application servers - for example OC4J and Glassfish."
msgstr "<literal>web.xml</literal> にすべての EJB を宣言する必要があります。 これは多く"
       "の JEE5 アプリケーションサーバー - 例えば OC4J と GlassFish - で必要となる思慮のない要求です。"

#. Tag: para
#: Oc4j.xml:319
#, no-c-format
msgid "This is already done in the example's web.xml file, below is an example."
msgstr "以下の例は、すでに変更を完了したサンプルの web.xml ファイルです。"

#. Tag: programlisting
#: Oc4j.xml:323
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
"   <ejb-ref-name>\n"
"      jboss-seam-jee5/AuthenticatorAction/local\n"
"   </ejb-ref-name>\n"
"   <ejb-ref-type>Session</ejb-ref-type>\n"
"   <local>\n"
"      org.jboss.seam.example.booking.Authenticator\n"
"   </local>\n"
"   <ejb-link>AuthenticatorAction</ejb-link>\n"
"</ejb-local-ref>]]>"
msgstr "<![CDATA[<ejb-local-ref>\n"
       "   <ejb-ref-name>\n"
       "      jboss-seam-jee5/AuthenticatorAction/local\n"
       "   </ejb-ref-name>\n"
       "   <ejb-ref-type>Session</ejb-ref-type>\n"
       "   <local>\n"
       "      org.jboss.seam.example.booking.Authenticator\n"
       "   </local>\n"
       "   <ejb-link>AuthenticatorAction</ejb-link>\n"
       "</ejb-local-ref>\n"
       "]]>"

#. Tag: literal
#: Oc4j.xml:327
#, no-c-format
msgid "persistence.xml"
msgstr "persistence.xml"

#. Tag: para
#: Oc4j.xml:330
#, no-c-format
msgid "You need to provide the correct configuration for your JPA implementation. We are using Hibernate and due to OC4J bundling an old ANTLR, we need to use an alternative query factory, we also want to use the OC4J transaction manager:"
msgstr "JPA 実装の正しい構成を設定する必要があります。Hibernate を使用します。OC4J は古い ANTLR を同梱し"
       "ているために別のクエリーファクトリを使用する必要があります。OC4J トランザクションマネージャも使用します。"

#. Tag: para
#: Oc4j.xml:335
#, no-c-format
msgid "For our example modify the <literal>resources/META-INF/persistence.xml</literal> file. Comment out the Glassfish properties and un-comment the OC4J properties."
msgstr "サンプルのために <literal>resources/META-INF/persistence.xml<"
       "/literal> ファイルを修正してください。Glassfish プロパティをコメントアウトし OC4J プロパティのコメントアウ"
       "トをはずしてください。"

#. Tag: programlisting
#: Oc4j.xml:341
#, no-c-format
msgid ""
"<![CDATA[<property name=\"hibernate.dialect\" \n"
"   value=\"org.hibernate.dialect.HSQLDialect\"/>\n"
"<property name=\"hibernate.query.factory_class\" \n"
"   value=\"org.hibernate.hql.classic.ClassicQueryTranslatorFactory\"/>\n"
"<property name=\"hibernate.transaction.manager_lookup_class\" \n"
"   value=\"org.hibernate.transaction.OrionTransactionManagerLookup\"/>]]>"
msgstr "<![CDATA[<property name=\"hibernate.dialect\" \n"
       "   value=\"org.hibernate.dialect.HSQLDialect\"/>\n"
       "<property name=\"hibernate.query.factory_class\" \n"
       "   value=\"org.hibernate.hql.classic.ClassicQueryTranslatorFactory\""
       "/>\n"
       "<property name=\"hibernate.transaction.manager_lookup_class\" \n"
       "   value=\"org.hibernate.transaction.OrionTransactionManagerLookup\""
       "/>]]>"

#. Tag: title
#: Oc4j.xml:349
#, no-c-format
msgid "Building the <literal>jee5/booking</literal> example"
msgstr "<literal>jee5/booking</literal> サンプルのビルド"

#. Tag: para
#: Oc4j.xml:354
#, no-c-format
msgid "Modify the <literal>build.xml</literal> file in the example:"
msgstr "サンプルの <literal>build.xml</literal> ファイルを修正してください。"

#. Tag: para
#: Oc4j.xml:358
#, no-c-format
msgid "Un-comment the labeled OC4J-related library properties. This will include all the extra dependencies discussed above."
msgstr "OC4J 用とラベル付けされたライブラリプロパティのコメントアウトをはずしてください。これにより上記で説明した追加のライブラリが含まれま"
       "す。"

#. Tag: para
#: Oc4j.xml:361
#, no-c-format
msgid "It should look like the following:"
msgstr "以下のようになります。"

#. Tag: programlisting
#: Oc4j.xml:364
#, no-c-format
msgid ""
"<![CDATA[<!-- add libs for oc4j (eager classloading) -->\n"
"<property name=\"jbpm.lib\" value=\"true\"/>\n"
"<property name=\"drools.lib\" value=\"true\"/>\n"
"<property name=\"quartz.lib\" value=\"true\" />\n"
"<property name=\"search.lib\" value=\"true\" />\n"
"<property name=\"dbunit.lib\" value=\"true\" />\n"
"<property name=\"jboss-embedded-api.lib\" value=\"true\" />\n"
"    ]]>"
msgstr "<![CDATA[<!-- add libs for oc4j (eager classloading) -->\n"
       "<property name=\"jbpm.lib\" value=\"true\"/>\n"
       "<property name=\"drools.lib\" value=\"true\"/>\n"
       "<property name=\"quartz.lib\" value=\"true\" />\n"
       "<property name=\"search.lib\" value=\"true\" />\n"
       "<property name=\"dbunit.lib\" value=\"true\" />\n"
       "<property name=\"jboss-embedded-api.lib\" value=\"true\" />\n"
       "    ]]>"

#. Tag: para
#: Oc4j.xml:369
#, no-c-format
msgid "Build the demo app by running <literal>ant</literal> in the <literal>examples/jee5/booking</literal> directory. The build target is <literal>dist/jboss-seam-jee5.ear</literal>"
msgstr "<literal>examples/jee5/booking</literal> ディレクトリで<"
       "literal>ant</literal> を実行してデモアプリケーションをビルドします。ビルドされるターゲットは "
       "<literal>dist/jboss-seam-jee5.ear</literal> です。"

#. Tag: para
#: Oc4j.xml:375
#, no-c-format
msgid "Copy <literal>dist/jboss-seam-jee5.ear</literal> following the instructions below."
msgstr "以下の手順に従って <literal>dist/jboss-seam-jee5.ear</literal> をコ"
       "ピーしてください。"

#. Tag: title
#: Oc4j.xml:383
#, no-c-format
msgid "Deploying the Seam application to OC4J"
msgstr "OC4J への Seam アプリケーションのデプロイ"

#. Tag: para
#: Oc4j.xml:384
#, no-c-format
msgid "This mini-tutorial describes the (fairly tedious) steps required to deploy a JEE 5 application to OC4J. It assumes you have already downloaded and installed it following the instructions in <xref linkend=\"oc4j-install-operation\"/>. It also assumes you are deploying the <literal>jee5/booking</literal> example, using the embedded hsqldb database. To deploy another application you would need to alter the datasource and application name."
msgstr "このミニチュートリアルでは、JEE 5 アプリケーションを OC4J にデプロイするのに必要な (とても退屈な) 手順を説明します。"
       "<xref linkend=\"oc4j-install-operation\"/> の手順に従ってすでに OC4J をダウン"
       "ロードしインストールを終えているものとして進めます。 組み込み hsqldb データベースを使用して <literal>"
       "jee5/booking</literal> サンプルをデプロイすることします。別のアプリケーションをデプロイするために、デー"
       "タソースとアプリケーション名を変更する必要があります。"

#. Tag: para
#: Oc4j.xml:393
#, no-c-format
msgid "Copy <literal>hsqldb.jar</literal> to OC4J shared library directory: <literal> cp $SEAM_HOME/lib/hsqldb.jar $ORACLE_HOME/j2ee/home/applib/ </literal> (OC4J doesn't come with an embedded database so we decided to use HSQLDB)"
msgstr "OC4J 共用ライブラリディレクトリへ <literal>hsqldb.jar</literal> をコピーしてく"
       "ださい。<literal> cp $SEAM_HOME/lib/hsqldb.jar "
       "$ORACLE_HOME/j2ee/home/applib/ </literal> (OC4J には組み込みデータベースが同梱"
       "されていないので HSQLDB を使用することにします)"

#. Tag: para
#: Oc4j.xml:400
#, no-c-format
msgid "Edit the OC4J datasource file <literal>$ORACLE_HOME/j2ee/home/config/data-sources.xml</literal> and, inside <literal>&lt;data-sources&gt;</literal> , add"
msgstr "OC4J データソースファイル <literal>$ORACLE_HOME/j2ee/home/config/data-"
       "sources.xml</literal> を編集して、<literal>&lt;data-"
       "sources&gt;</literal> の内側に以下を追加してください"

#. Tag: programlisting
#: Oc4j.xml:406
#, no-c-format
msgid ""
"<![CDATA[<managed-data-source\n"
"   connection-pool-name=\"jee5-connection-pool\"\n"
"   jndi-name=\"jdbc/__default\"\n"
"   name=\"jee5-managed-data-source\" />\n"
"<connection-pool name=\"jee5-connection-pool\">\n"
"   <connection-factory\n"
"      factory-class=\"org.hsqldb.jdbcDriver\" \n"
"      user=\"sa\"\n"
"      password=\"\" \n"
"      url=\"jdbc:hsqldb:.\" />\n"
"</connection-pool>]]>"
msgstr "<![CDATA[<managed-data-source\n"
       "   connection-pool-name=\"jee5-connection-pool\"\n"
       "   jndi-name=\"jdbc/__default\"\n"
       "   name=\"jee5-managed-data-source\" />\n"
       "<connection-pool name=\"jee5-connection-pool\">\n"
       "   <connection-factory\n"
       "      factory-class=\"org.hsqldb.jdbcDriver\" \n"
       "      user=\"sa\"\n"
       "      password=\"\" \n"
       "      url=\"jdbc:hsqldb:.\" />\n"
       "</connection-pool>\n"
       "]]>"

#. Tag: para
#: Oc4j.xml:408
#, no-c-format
msgid "The <literal>jndi-name</literal> is used as the <literal>jta-data-source</literal> in <literal>persistence.xml</literal> ."
msgstr "<literal>jndi-name</literal> は <literal>"
       "persistence.xml</literal> で <literal>jta-data-source<"
       "/literal> として使用されます。"

#. Tag: para
#: Oc4j.xml:413
#, no-c-format
msgid "Edit <literal>$ORACLE_HOME/j2ee/home/config/server.xml</literal> and, inside <literal>&lt;application-server&gt;</literal> , add"
msgstr "<literal>$ORACLE_HOME/j2ee/home/config/server.xml<"
       "/literal> を編集して、<literal>&lt;application-server&gt;"
       "</literal> の内側に以下を追加してください"

#. Tag: programlisting
#: Oc4j.xml:419
#, no-c-format
msgid ""
"<![CDATA[<application name=\"jboss-seam-jee5\"\n"
" path=\"../../home/applications/jboss-seam-jee5.ear\"\n"
" parent=\"default\" \n"
" start=\"true\" />]]>"
msgstr "<![CDATA[<application name=\"jboss-seam-jee5\"\n"
       " path=\"../../home/applications/jboss-seam-jee5.ear\"\n"
       " parent=\"default\" \n"
       " start=\"true\" />]]>"

#. Tag: para
#: Oc4j.xml:420
#, no-c-format
msgid "To keep things simple use the same names as you used for project."
msgstr "簡単にするために、プロジェクトに使用したのと同じ名前を使用してください。"

#. Tag: para
#: Oc4j.xml:424
#, no-c-format
msgid "Edit <literal> $ORACLE_HOME/j2ee/home/config/default-web-site.xml </literal> , and, inside <literal>&lt;web-site&gt;</literal> , add"
msgstr "<literal> $ORACLE_HOME/j2ee/home/config/default-web-site.xml "
       "</literal> を編集して、<literal>&lt;web-site&gt;<"
       "/literal> の内側に以下を追加してください"

#. Tag: programlisting
#: Oc4j.xml:430
#, no-c-format
msgid ""
"<![CDATA[<web-app application=\"jboss-seam-jee5\"\n"
" name=\"jboss-seam-jee5\" \n"
" load-on-startup=\"true\"\n"
" root=\"/seam-jee5\" />]]>"
msgstr "<![CDATA[<web-app application=\"jboss-seam-jee5\"\n"
       " name=\"jboss-seam-jee5\" \n"
       " load-on-startup=\"true\"\n"
       " root=\"/seam-jee5\" />]]>"

#. Tag: para
#: Oc4j.xml:431
#, no-c-format
msgid "The <literal>root</literal> is the context path you will put into your web browser to access the application."
msgstr "<literal>root</literal> は、アプリケーションにアクセスするために Web ブラウザに入力す"
       "るコンテキストパスです。"

#. Tag: para
#: Oc4j.xml:435
#, no-c-format
msgid "Copy the application to OC4J: <literal> cp dist/jboss-seam-jee5.ear $ORACLE_HOME/j2ee/home/applications/ </literal>"
msgstr "アプリケーションを OC4J にコピーしてください。<literal> cp dist/jboss-seam-jee5."
       "ear $ORACLE_HOME/j2ee/home/applications/ </literal>"

#. Tag: para
#: Oc4j.xml:440
#, no-c-format
msgid "Start/stop OC4J following instructions in <xref linkend=\"oc4j-install-operation\"/> above."
msgstr "上記の <xref linkend=\"oc4j-install-operation\"/> の手順に従って、OC4J を起"
       "動 / 終了してください。"

#. Tag: para
#: Oc4j.xml:444
#, no-c-format
msgid "Checkout the app at: <literal>http://localhost:8888/seam-jee5</literal>"
msgstr "<literal>http://localhost:8888/seam-jee5</literal> をブラウズし"
       "てアプリケーションを確認してください。"

#. Tag: title
#: Oc4j.xml:452
#, no-c-format
msgid "Deploying an application created using <literal>seam-gen</literal> to OC4J"
msgstr "<literal>seam-gen</literal> により生成されたアプリケーションの OC4J へのデプロイ"

#. Tag: para
#: Oc4j.xml:455
#, no-c-format
msgid "<literal>seam-gen</literal> is a great tool for developers that can quickly get you up and running with a full Seam application. However the project that it created is configured to run on JBoss AS. This means there are some extra steps needed to have it execute on OC4j. The following explanation assumes you are using the command line and a simple text editor, but of course you can use your favorite IDE. <literal>seam-gen</literal> projects come with support for Eclipse and Netbeans."
msgstr "<literal>seam-gen</literal>は、開発者が素早く完全な Seam アプリケーションを準備し"
       "動作させることができる優れたツールです。しかし生成されるプロジェクトは、JBoss AS 上で動作させるように構成されてい"
       "ます。そのため OC4J で実行させるためには、追加の手順が必要になります。以下の説明は、コマンドラインとシンプルなテキストエディタを使用"
       "していることを想定します。しかし、もちろんお気に入りの IDE を使用することもできます。<literal>seam-"
       "gen</literal> プロジェクトは Eclipse と Netbeans のサポート機能も一緒に生成されます。"

#. Tag: para
#: Oc4j.xml:464
#, no-c-format
msgid "We will start by creating and deploying a pretty simple application using <literal>seam-gen</literal> . Then we'll show you how easy it is to use <literal>seam-gen</literal> and Hibernate Tools to reverse engineer a database schema into a functional CRUD application. <literal>seam-gen</literal> will create JPA entity beans, Seam Application Framework components and JSF views for you. We will also add Seam security using Drools."
msgstr "<literal>seam-gen</literal> 使用した簡単なアプリケーションを作成してデプロイすることか"
       "ら始めます。次に、<literal>seam-gen</literal> と Hibernate Tools を使"
       "用して、データベーススキーマからのリバースエンジニアリングにより基礎的な CRUD アプリケーションを生成するのがいかに簡単であるかを示し"
       "ます。<literal>seam-gen</literal> は、 JPA エンティティ Bean や Seam "
       "アプリケーションフレームワークコンポーネント、 JSF ビューを作成します。Drools を使用した Seam セキュリティも追加します。"

#. Tag: para
#: Oc4j.xml:472
#, no-c-format
msgid "This tutorial uses MySQL (but of course you could use any database, altering the SQL and datasources as appropriate); install, configure and run MySQL, then create a database with some sample data. Don't forget to also download the <literal>mysql-connector-java-X.jar</literal> for jdbc support. When setting up Seam security this tutorial will assume there is a table named <literal>User</literal> with columns <literal>username</literal> and <literal>password</literal> with at least one entry. Beyond that you can set up any type of sample data and tables you would like."
msgstr "このチュートリアルは MySQL を使用します (しかしもちろん SQL とデータソースを適切に変更して、どんなデータベースも使用できま"
       "す); MySQL をインストールし構成して実行して、サンプルデータを持つデータベースを作成してください。JDBC サポー"
       "トのために <literal>mysql-connector-java-X.jar</literal> もダウン"
       "ロードするのを忘れないでください。このチュートリアルで Seam セキュリティを設定するには、<literal>"
       "username</literal> と <literal>password</literal> カラ"
       "ムを持つ <literal>User</literal> という名前のテーブルと最低一つのエントリがあることを想定"
       "します。さらに好きなどんなタイプのサンプルデータとテーブルを設定することもできます。"

#. Tag: title
#: Oc4j.xml:484
#, no-c-format
msgid "Generating a basic <literal>seam-gen</literal> application"
msgstr "<literal>seam-gen</literal> アプリケーションの雛形の生成"

#. Tag: para
#: Oc4j.xml:486
#, no-c-format
msgid "First we need to tell the <literal>seam-gen</literal> what we want, run <literal>./seam setup</literal> in the seam distribution directory. Follow the settings example below based on your system and setup (ex. use your database name instead of <literal>oc4jexample</literal> )."
msgstr "まず <literal>seam-gen</literal> をセットアップする必要があります。Seam ディスト"
       "リビューションディレクトリで <literal>./seam setup</literal> を実行します。以下の"
       "設定例に従い、あなたのシステムと設定に基づいて設定してください (例えば <literal>oc4jexample<"
       "/literal> の代わりに自分のデータベース名を使用してください)。"

#. Tag: programlisting
#: Oc4j.xml:493
#, no-c-format
msgid ""
"<![CDATA[> ./seam setup\n"
"Buildfile: build.xml\n"
"\n"
"init:\n"
"\n"
"setup:\n"
"     [echo] Welcome to seam-gen :-)\n"
"    [input] Enter your Java project workspace (the directory that contains your \n"
"Seam projects) [C:/Projects] [C:/Projects]\n"
"/home/jbalunas/workspace\n"
"    [input] Enter your JBoss home directory [C:/Program Files/jboss-4.2.3.GA] \n"
"[C:/Program Files/jboss-4.2.3.GA]\n"
"/home/jbalunas/jboss/jboss-4.2.3.GA\n"
"    [input] Enter the project name [myproject] [myproject]\n"
"oc4j_example\n"
"     [echo] Accepted project name as: oc4j_example\n"
"    [input] Select a RichFaces skin (not applicable if using ICEFaces) [blueSky]\n"
" ([blueSky], classic, ruby, wine, deepMarine, emeraldTown, sakura, DEFAULT)\n"
"\n"
"    [input] Is this project deployed as an EAR (with EJB components) or a WAR \n"
"(with no EJB support) [ear]  ([ear], war, )\n"
"\n"
"    [input] Enter the Java package name for your session beans [com.mydomain.\n"
"oc4j_example] [com.mydomain.oc4j_example]\n"
"org.jboss.seam.tutorial.oc4j.action\n"
"    [input] Enter the Java package name for your entity beans [org.jboss.seam.\n"
"tutorial.oc4j.action] [org.jboss.seam.tutorial.oc4j.action]\n"
"org.jboss.seam.tutorial.oc4j.model\n"
"    [input] Enter the Java package name for your test cases [org.jboss.seam.\n"
"tutorial.oc4j.action.test] [org.jboss.seam.tutorial.oc4j.action.test]\n"
"org.jboss.seam.tutorial.oc4j.test\n"
"    [input] What kind of database are you using? [hsql]  ([hsql], mysql, oracle,\n"
" postgres, mssql, db2, sybase, enterprisedb, h2)\n"
"mysql\n"
"    [input] Enter the Hibernate dialect for your database [org.hibernate.\n"
"dialect.MySQLDialect] [org.hibernate.dialect.MySQLDialect]\n"
"\n"
"    [input] Enter the filesystem path to the JDBC driver jar [/tmp/seam/lib/hsqldb.jar] \n"
"[/tmp/seam/lib/hsqldb.jar]\n"
"lib/mysql-connector.jar\n"
"    [input] Enter JDBC driver class for your database [com.mysql.jdbc.Driver] \n"
"[com.mysql.jdbc.Driver]\n"
"\n"
"    [input] Enter the JDBC URL for your database [jdbc:mysql:///test] \n"
"[jdbc:mysql:///test]\n"
"jdbc:mysql:///oc4jexample\n"
"    [input] Enter database username [sa] [sa]\n"
"username\n"
"    [input] Enter database password [] []\n"
"password\n"
"    [input] skipping input as property hibernate.default_schema.new has already \n"
"been set.\n"
"    [input] Enter the database catalog name (it is OK to leave this blank) [] []\n"
"\n"
"    [input] Are you working with tables that already exist in the database? [n] \n"
" (y, [n], )\n"
"y\n"
"    [input] Do you want to drop and recreate the database tables and data in \n"
"import.sql each time you deploy? [n]  (y, [n], )\n"
"n\n"
"    [input] Enter your ICEfaces home directory (leave blank to omit ICEfaces) [] []\n"
"\n"
"[propertyfile] Creating new property file: \n"
"/home/jbalunas/workspace/jboss-seam/seam-gen/build.properties\n"
"     [echo] Installing JDBC driver jar to JBoss server\n"
"     [copy] Copying 1 file to /home/jbalunas/jboss/jboss-4.2.3.GA/server/default/lib\n"
"     [echo] Type 'seam create-project' to create the new project\n"
"\n"
"BUILD SUCCESSFUL]]>"
msgstr "<![CDATA[> ./seam setup\n"
       "Buildfile: build.xml\n"
       "\n"
       "init:\n"
       "\n"
       "setup:\n"
       "     [echo] Welcome to seam-gen :-)\n"
       "    [input] Enter your Java project workspace (the directory that "
       "contains your \n"
       "Seam projects) [C:/Projects] [C:/Projects]\n"
       "/home/jbalunas/workspace\n"
       "    [input] Enter your JBoss home directory [C:/Program Files/jboss-"
       "4.2.3.GA] \n"
       "[C:/Program Files/jboss-4.2.3.GA]\n"
       "/home/jbalunas/jboss/jboss-4.2.3.GA\n"
       "    [input] Enter the project name [myproject] [myproject]\n"
       "oc4j_example\n"
       "     [echo] Accepted project name as: oc4j_example\n"
       "    [input] Select a RichFaces skin (not applicable if using "
       "ICEFaces) [blueSky]\n"
       " ([blueSky], classic, ruby, wine, deepMarine, emeraldTown, sakura, "
       "DEFAULT)\n"
       "\n"
       "    [input] Is this project deployed as an EAR (with EJB components) "
       "or a WAR \n"
       "(with no EJB support) [ear]  ([ear], war, )\n"
       "\n"
       "    [input] Enter the Java package name for your session beans [com."
       "mydomain.\n"
       "oc4j_example] [com.mydomain.oc4j_example]\n"
       "org.jboss.seam.tutorial.oc4j.action\n"
       "    [input] Enter the Java package name for your entity beans [org."
       "jboss.seam.\n"
       "tutorial.oc4j.action] [org.jboss.seam.tutorial.oc4j.action]\n"
       "org.jboss.seam.tutorial.oc4j.model\n"
       "    [input] Enter the Java package name for your test cases [org."
       "jboss.seam.\n"
       "tutorial.oc4j.action.test] [org.jboss.seam.tutorial.oc4j.action.test]\n"
       "org.jboss.seam.tutorial.oc4j.test\n"
       "    [input] What kind of database are you using? [hsql]  ([hsql], "
       "mysql, oracle,\n"
       " postgres, mssql, db2, sybase, enterprisedb, h2)\n"
       "mysql\n"
       "    [input] Enter the Hibernate dialect for your database [org."
       "hibernate.\n"
       "dialect.MySQLDialect] [org.hibernate.dialect.MySQLDialect]\n"
       "\n"
       "    [input] Enter the filesystem path to the JDBC driver jar "
       "[/tmp/seam/lib/hsqldb.jar] \n"
       "[/tmp/seam/lib/hsqldb.jar]\n"
       "lib/mysql-connector.jar\n"
       "    [input] Enter JDBC driver class for your database [com.mysql."
       "jdbc.Driver] \n"
       "[com.mysql.jdbc.Driver]\n"
       "\n"
       "    [input] Enter the JDBC URL for your database [jdbc:mysql:///test] \n"
       "[jdbc:mysql:///test]\n"
       "jdbc:mysql:///oc4jexample\n"
       "    [input] Enter database username [sa] [sa]\n"
       "username\n"
       "    [input] Enter database password [] []\n"
       "password\n"
       "    [input] skipping input as property hibernate.default_schema.new "
       "has already \n"
       "been set.\n"
       "    [input] Enter the database catalog name (it is OK to leave this "
       "blank) [] []\n"
       "\n"
       "    [input] Are you working with tables that already exist in the "
       "database? [n] \n"
       " (y, [n], )\n"
       "y\n"
       "    [input] Do you want to drop and recreate the database tables and "
       "data in \n"
       "import.sql each time you deploy? [n]  (y, [n], )\n"
       "n\n"
       "    [input] Enter your ICEfaces home directory (leave blank to omit "
       "ICEfaces) [] []\n"
       "\n"
       "[propertyfile] Creating new property file: \n"
       "/home/jbalunas/workspace/jboss-seam/seam-gen/build.properties\n"
       "     [echo] Installing JDBC driver jar to JBoss server\n"
       "     [copy] Copying 1 file to /home/jbalunas/jboss/jboss-4.2.3."
       "GA/server/default/lib\n"
       "     [echo] Type 'seam create-project' to create the new project\n"
       "\n"
       "BUILD SUCCESSFUL]]>"

#. Tag: para
#: Oc4j.xml:495
#, no-c-format
msgid "Type <literal>./seam new-project</literal> to create your project and <literal>cd /home/jbalunas/workspace/oc4j_example</literal> to the newly created project."
msgstr "プロジェクトを作成するためには、<literal>$ ./seam new-project</literal> と"
       "入力してください。そして <literal>cd "
       "/home/jbalunas/workspace/oc4j_example</literal> と入力して新しく作成されたディ"
       "レクトリへ移動してください。"

#. Tag: title
#: Oc4j.xml:502
#, no-c-format
msgid "Changes needed for deployment to OC4J"
msgstr " OC4J へのデプロイに必要な変更点"

#. Tag: para
#: Oc4j.xml:503
#, no-c-format
msgid "We now need to make some changes to the generated project."
msgstr "生成されたプロジェクトに変更を行う必要があります。"

#. Tag: para
#: Oc4j.xml:506
#, no-c-format
msgid "Let's start with the configuration files:"
msgstr "構成ファイルの変更から始めましょう:"

#. Tag: literal
#: Oc4j.xml:509
#, no-c-format
msgid "build.xml"
msgstr "build.xml"

#. Tag: para
#: Oc4j.xml:514
#, no-c-format
msgid "Change the default target to archive (we aren't going to cover automatic deployment to OC4J)."
msgstr "デフォルトのターゲットを archive に変更します (OC4J への自動的なデプロイを行いません)。"

#. Tag: programlisting
#: Oc4j.xml:518
#, no-c-format
msgid "<![CDATA[<project name=\"oc4j_example\" default=\"archive\" basedir=\".\">]]>"
msgstr "<![CDATA[<project name=\"oc4j_example\" default=\"archive\" "
       "basedir=\".\">\n"
       "]]>"

#. Tag: para
#: Oc4j.xml:521
#, no-c-format
msgid "OC4J looks for the drools file <literal>/security.drl</literal> file in the root of the <literal>war</literal> file instead of the root of the <literal>ear</literal> file so we need to have the <literal>build.xml</literal> move it to the correct location at build time. The following must be added at the top of the <literal> &lt;target name=\"war\" depends=\"compile\" description=\"Build the distribution .war file\"&gt; </literal> target."
msgstr "OC4J は、<literal>ear</literal> ファイルのルートではなく  <"
       "literal>war</literal> ファイルのルートで drools の <literal>"
       "/security.drl</literal> ファイルを探すので、ビルド時には正しい場所へ移動させるように <"
       "literal>build.xml</literal> に設定する必要があります。以下の変更は、<"
       "literal> &lt;target name=\"war\" depends=\"compile\" "
       "description=\"Build the distribution .war file\"&gt; <"
       "/literal> ターゲットの先頭に追加しなければなりません。"

#. Tag: programlisting
#: Oc4j.xml:535
#, no-c-format
msgid ""
"<![CDATA[<copy todir=\"${war.dir}\">\n"
" <fileset dir=\"${basedir}/resources\" >\n"
"    <include name=\"*.drl\" />\n"
" </fileset>\n"
" </copy>]]>"
msgstr "<![CDATA[<copy todir=\"${war.dir}\">\n"
       " <fileset dir=\"${basedir}/resources\" >\n"
       "    <include name=\"*.drl\" />\n"
       " </fileset>\n"
       " </copy>\n"
       "]]>"

#. Tag: literal
#: Oc4j.xml:542
#, no-c-format
msgid "resources/META-INF/persistence-dev.xml"
msgstr "resources/META-INF/persistence-dev.xml"

#. Tag: para
#: Oc4j.xml:547
#, no-c-format
msgid "Alter the <literal>jta-data-source</literal> to be <literal>jdbc/__oc4jexample</literal> (and use this as the <literal>jndi-name</literal> when creating the data source in <literal>data-sources.xml</literal> later during deployment)."
msgstr "<literal>jta-data-source</literal> を <literal>"
       "jdbc/__oc4jexample</literal> に修正してください (後述のデプロイ時に <"
       "literal>data-sources.xml</literal> にデータソースを作成する場合は、<"
       "literal>jndi-name</literal> としてこれを指定してください)。"

#. Tag: para
#: Oc4j.xml:557
#, no-c-format
msgid "Add the properties (described in <literal>jee5/booking</literal> example):"
msgstr "プロパティを追加してください (<literal>jee5/booking</literal> サンプルで述べられ"
       "ています)。"

#. Tag: programlisting
#: Oc4j.xml:562
#, no-c-format
msgid ""
"<![CDATA[<property name=\"hibernate.query.factory_class\"\n"
"   value=\"org.hibernate.hql.classic.ClassicQueryTranslatorFactory\" />\n"
"<property name=\"hibernate.transaction.manager_lookup_class\"\n"
"   value=\"org.hibernate.transaction.OrionTransactionManagerLookup\" />\n"
"<property name=\"hibernate.transaction.flush_before_completion\" \n"
"   value=\"true\"/>\n"
"<property name=\"hibernate.cache.provider_class\" \n"
"   value=\"org.hibernate.cache.HashtableCacheProvider\"/>]]>"
msgstr "<![CDATA[<property name=\"hibernate.query.factory_class\"\n"
       "   value=\"org.hibernate.hql.classic.ClassicQueryTranslatorFactory\" "
       "/>\n"
       "<property name=\"hibernate.transaction.manager_lookup_class\"\n"
       "   value=\"org.hibernate.transaction.OrionTransactionManagerLookup\" "
       "/>\n"
       "<property name=\"hibernate.transaction.flush_before_completion\" \n"
       "   value=\"true\"/>\n"
       "<property name=\"hibernate.cache.provider_class\" \n"
       "   value=\"org.hibernate.cache.HashtableCacheProvider\"/>]]>"

#. Tag: para
#: Oc4j.xml:565
#, no-c-format
msgid "Remove the JBoss AS specific method of exposing the EntityManagerFactory:"
msgstr "EntityManagerFactory を定義する JBoss AS 固有のメソッドを取り除いてください。"

#. Tag: programlisting
#: Oc4j.xml:569
#, no-c-format
msgid ""
"<![CDATA[<property \n"
" name=\"jboss.entity.manager.factory.jndi.name\" \n"
" value=\"java:/oc4j_exampleEntityManagerFactory\">]]>"
msgstr "<![CDATA[<property \n"
       " name=\"jboss.entity.manager.factory.jndi.name\" \n"
       " value=\"java:/oc4j_exampleEntityManagerFactory\">\n"
       "]]>"

#. Tag: para
#: Oc4j.xml:572
#, no-c-format
msgid "You'll need to alter <literal>persistence-prod.xml</literal> as well if you want to deploy to OC4J using the prod profile."
msgstr "prod プロファイルを使用して OC4J にデプロイしたければ、<literal>persistence-prod."
       "xml</literal> も同様に修正する必要があります。"

#. Tag: literal
#: Oc4j.xml:582
#, no-c-format
msgid "resources/META-INF/jboss-app.xml"
msgstr "resources/META-INF/jboss-app.xml"

#. Tag: para
#: Oc4j.xml:585
#, no-c-format
msgid "You can delete this file as we aren't deploying to JBoss AS ( <literal>jboss-app.xml</literal> is used to enable classloading isolation in JBoss AS)"
msgstr "JBoss AS にはデプロイしないのでこのファイルを削除できます (JBoss AS では <literal>jboss-"
       "app.xml</literal> を使用して、クラスローディングの分離を有効にします)"

#. Tag: literal
#: Oc4j.xml:591
#, no-c-format
msgid "resources/*-ds.xml"
msgstr "resources/*-ds.xml"

#. Tag: para
#: Oc4j.xml:594
#, no-c-format
msgid "You can delete these file as we aren't deploying to JBoss AS (these files define datasources in JBoss AS, in OC4J you have to edit the master <literal>data-sources.xml</literal> file)"
msgstr "JBoss AS にはデプロイしないのでこのファイルを削除できます (これらのファイルは、JBoss AS ではデータソースを定義していま"
       "すが、OC4J ではマスタの <literal>data-sources.xml</literal> ファイルを編"
       "集しなければなりません)"

#. Tag: literal
#: Oc4j.xml:603
#, no-c-format
msgid "resources/WEB-INF/components.xml"
msgstr "resources/WEB-INF/components.xml"

#. Tag: para
#: Oc4j.xml:608
#, no-c-format
msgid "Enable container managed transaction integration - add the <literal> &lt;transaction:ejb-transaction /&gt; </literal> component, and it's namespace declaration <literal> xmlns:transaction=\"http://jboss.org/schema/seam/transaction\" </literal>"
msgstr "コンテナ管理トランザクションの統合を有効にします - <literal> &lt;transaction:ejb-"
       "transaction /&gt; </literal> コンポーネントと、その名前空間宣言  <"
       "literal>xmlns:transaction=\"http://jboss."
       "com/products/seam/transaction\"</literal> を追記してください"

#. Tag: para
#: Oc4j.xml:617
#, no-c-format
msgid "Alter the <literal>jndi-pattern</literal> to <literal> java:comp/env/oc4j_example/#{ejbName}/local </literal>"
msgstr "<literal>jndi-pattern</literal> を <literal> java:"
       "comp/env/oc4j_example/#{ejbName}/local </literal> に修正します"

#. Tag: para
#: Oc4j.xml:624
#, no-c-format
msgid "We want to use a Seam Managed Persistence Context in our application. Unfortunately OC4J doesn't expose the EntityManagerFactory in JNDI, but Seam provides a built-in manager component. To activate add the following entry:"
msgstr "アプリケーションで Seam 管理永続コンテキストを使用できるようにします。残念なことに OC4J は JNDI に "
       "EntityManagerFactory を登録しませんが、Seam が組み込みのマネージャコンポーネントを提供しています。このコンポーネ"
       "ントを有効にするために、以下のエントリを追加します。"

#. Tag: programlisting
#: Oc4j.xml:632
#, no-c-format
msgid ""
"<![CDATA[<persistence:entity-manager-factory\n"
" auto-create=\"true\" \n"
" name=\"oc4jEntityManagerFactory\"\n"
" persistence-unit-name=\"oc4j_example\" />]]>"
msgstr "<![CDATA[<persistence:entity-manager-factory\n"
       " auto-create=\"true\" \n"
       " name=\"oc4jEntityManagerFactory\"\n"
       " persistence-unit-name=\"oc4j_example\" />]]>"

#. Tag: para
#: Oc4j.xml:633
#, no-c-format
msgid "We then need to tell Seam to use it, so we alter the <literal>managed-persistence-context</literal> injecting the Entity Manager Factory into the existing element:"
msgstr "Seam に組み込みのマネージャコンポーネントを使用するように設定する必要があるので、<literal>managed-"
       "persistence-context</literal> を修正して、存在する要素へ "
       "EntityManagerFactory を挿入します。"

#. Tag: programlisting
#: Oc4j.xml:640
#, no-c-format
msgid ""
"<![CDATA[<persistence:managed-persistence-context\n"
" name=\"entityManager\"\n"
" auto-create=\"true\"\n"
" entity-manager-factory=\"#{oc4jEntityManagerFactory}\" />]]>"
msgstr "<![CDATA[<persistence:managed-persistence-context\n"
       " name=\"entityManager\"\n"
       " auto-create=\"true\"\n"
       " entity-manager-factory=\"#{oc4jEntityManagerFactory}\" />]]>"

#. Tag: literal
#: Oc4j.xml:646
#, no-c-format
msgid "resources/WEB-INF/web.xml"
msgstr "resources/WEB-INF/web.xml"

#. Tag: para
#: Oc4j.xml:649
#, no-c-format
msgid "You must add the Seam container managed transaction integration EJB entry below. Remember for OC4j you need to declare all your EJBs here if you modify the application further."
msgstr "以下の Seam コンテナ管理トランザクション統合 EJB のエントリを追加しなければなりません。 OC4J では、アプリケーションをさら"
       "に修正すれば、EJB をここで宣言する必要があることを思い出してください。"

#. Tag: programlisting
#: Oc4j.xml:655
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
"   <ejb-ref-name>\n"
"      oc4j_example/EjbSynchronizations/local\n"
"   </ejb-ref-name>\n"
"   <ejb-ref-type>Session</ejb-ref-type>\n"
"   <local>\n"
"      org.jboss.seam.transaction.LocalEjbSynchronizations\n"
"   </local>\n"
"   <ejb-link>EjbSynchronizations</ejb-link>\n"
"</ejb-local-ref>]]>"
msgstr "<![CDATA[<ejb-local-ref>\n"
       "   <ejb-ref-name>\n"
       "      oc4j_example/EjbSynchronizations/local\n"
       "   </ejb-ref-name>\n"
       "   <ejb-ref-type>Session</ejb-ref-type>\n"
       "   <local>\n"
       "      org.jboss.seam.transaction.LocalEjbSynchronizations\n"
       "   </local>\n"
       "   <ejb-link>EjbSynchronizations</ejb-link>\n"
       "</ejb-local-ref>\n"
       "]]>"

#. Tag: literal
#: Oc4j.xml:660
#, no-c-format
msgid "resources/META-INF/orion-application.xml"
msgstr "resources/META-INF/orion-application.xml"

#. Tag: para
#: Oc4j.xml:665
#, no-c-format
msgid "This is a file that you must create so that RichFaces and Ajax4Jsf stylesheets will work with OC4J. This file basically tells OC4J not force its own inherited URL settings."
msgstr "これは、OC4J で RichFaces と Ajax4Jsf スタイルシートを稼動させるために作成しなければないないファイルです。この"
       "ファイルは、基本的に OC4J がそれ自身の受け継がれた URL 設定で動作しないように設定します。"

#. Tag: programlisting
#: Oc4j.xml:671
#, no-c-format
msgid ""
"<![CDATA[<?xml version = '1.0' encoding = 'utf-8'?>\n"
"<orion-application\n"
"        xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
"        xsi:noNamespaceSchemaLocation=\"http://xmlns.oracle.com/oracleas/schema/\n"
"                                                            orion-application-10_0.xsd\"\n"
"        schema-major-version=\"10\"\n"
"        schema-minor-version=\"0\"\n"
"        component-classification=\"internal\">\n"
"\n"
"    <imported-shared-libraries>\n"
"       <remove-inherited name=\"oracle.xml\"/>\n"
"    </imported-shared-libraries>\n"
"</orion-application>]]>"
msgstr "<![CDATA[<?xml version = '1.0' encoding = 'utf-8'?>\n"
       "<orion-application\n"
       "        xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
       "        xsi:noNamespaceSchemaLocation=\"http://xmlns.oracle."
       "com/oracleas/schema/\n"
       "                                                            orion-"
       "application-10_0.xsd\"\n"
       "        schema-major-version=\"10\"\n"
       "        schema-minor-version=\"0\"\n"
       "        component-classification=\"internal\">\n"
       "\n"
       "    <imported-shared-libraries>\n"
       "       <remove-inherited name=\"oracle.xml\"/>\n"
       "    </imported-shared-libraries>\n"
       "</orion-application>\n"
       "]]>"

#. Tag: para
#: Oc4j.xml:674
#, no-c-format
msgid "Now you need to tell the <literal>build.xml</literal> file that it needs to copy this file to the <literal>ear</literal> archive. Find the <literal> &lt;target name=\"ear\" description=\"Build the EAR\"&gt; </literal> target and modify the <literal> &lt;copy todir=\"${ear.dir}/META-INF\"&gt; </literal> section to look like the following:"
msgstr " <literal>ear</literal> アーカイブにこのファイルをコピーするように、<"
       "literal>build.xml</literal> ファイルを設定する必要があります。<"
       "literal> &lt;target name=\"ear\" description=\"Build the EAR\""
       "&gt; </literal> ターゲットを見つけて、<literal> &lt;copy "
       "todir=\"${ear.dir}/META-INF\"&gt; </literal> セクションを以下のように修正"
       "してくだい"

#. Tag: programlisting
#: Oc4j.xml:686
#, no-c-format
msgid ""
"<![CDATA[<copy todir=\"${ear.dir}/META-INF\">\n"
"    <fileset dir=\"${basedir}/resources/META-INF\">\n"
"       <include name=\"application.xml\" />\n"
"       <include name=\"orion-application.xml\"/>\n"
"       <include name=\"jboss-app.xml\" />\n"
"    </fileset>\n"
" </copy>]]>"
msgstr "<![CDATA[<copy todir=\"${ear.dir}/META-INF\">\n"
       "    <fileset dir=\"${basedir}/resources/META-INF\">\n"
       "       <include name=\"application.xml\" />\n"
       "       <include name=\"orion-application.xml\"/>\n"
       "       <include name=\"jboss-app.xml\" />\n"
       "    </fileset>\n"
       " </copy>\n"
       "]]>"

#. Tag: title
#: Oc4j.xml:694
#, no-c-format
msgid "Extra jar dependencies"
msgstr "追加の jar 依存関係"

#. Tag: para
#: Oc4j.xml:695
#, no-c-format
msgid "This application has similar requirements as the <literal>jee5/booking</literal> example above."
msgstr "このアプリケーションは、<literal>jee5/booking</literal> サンプルと同様の変更が必要"
       "となります。"

#. Tag: para
#: Oc4j.xml:697
#, no-c-format
msgid "The <literal>build.xml</literal> must be modified to add the jars listed below to the generated archive files. Look for the <literal>&lt;fileset dir=\"${basedir}\"&gt;</literal> section below and add the imports underneath the other libraries being imported."
msgstr "<literal>build.xml</literal> は、生成するアーカイブファイルに以下にリストした "
       "jar を追加するように修正しなければなりません。以下の <literal>&lt;fileset "
       "dir=\"${basedir}\"&gt;</literal> セクションを探して、 その下にインポートされる他のラ"
       "イブラリを追加してください。"

#. Tag: programlisting
#: Oc4j.xml:704
#, no-c-format
msgid ""
"<![CDATA[<target name=\"ear\" description=\"Build the EAR\">\n"
"       <copy todir=\"${ear.dir}\">\n"
"               <fileset dir=\"${basedir}/resources\">\n"
"                       <include name=\"*jpdl.xml\" />\n"
"                       <include name=\"*hibernate.cfg.xml\" />\n"
"                       <include name=\"jbpm.cfg.xml\" />\n"
"                       <include name=\"*.drl\" />\n"
"               </fileset>\n"
"            <fileset dir=\"${lib.dir}\">\n"
"                  <include name=\"jboss-seam.jar\" />\n"
"            </fileset>\n"
"               <fileset dir=\"${basedir}\">\n"
"                       <include name=\"lib/jbpm*.jar\" />\n"
"                       <include name=\"lib/jboss-el.jar\" />\n"
"                       <include name=\"lib/drools-*.jar\"/>\n"
"                       <include name=\"lib/janino*.jar\"/>\n"
"                       <include name=\"lib/antlr-*.jar\"/>\n"
"                       <include name=\"lib/mvel*.jar\"/>\n"
"                     <include name=\"lib/richfaces-api*.jar\" />\n"
"               </fileset>\n"
"       </copy>\n"
"       <copy todir=\"${ear.dir}/META-INF\">\n"
"               <fileset dir=\"${basedir}/resources/META-INF\">\n"
"                       <include name=\"application.xml\" />\n"
"                       <include name=\"jboss-app.xml\" />\n"
"               </fileset>\n"
"       </copy>\n"
"</target>]]>"
msgstr "<![CDATA[<target name=\"ear\" description=\"Build the EAR\">\n"
       "       <copy todir=\"${ear.dir}\">\n"
       "               <fileset dir=\"${basedir}/resources\">\n"
       "                       <include name=\"*jpdl.xml\" />\n"
       "                       <include name=\"*hibernate.cfg.xml\" />\n"
       "                       <include name=\"jbpm.cfg.xml\" />\n"
       "                       <include name=\"*.drl\" />\n"
       "               </fileset>\n"
       "            <fileset dir=\"${lib.dir}\">\n"
       "                  <include name=\"jboss-seam.jar\" />\n"
       "            </fileset>\n"
       "               <fileset dir=\"${basedir}\">\n"
       "                       <include name=\"lib/jbpm*.jar\" />\n"
       "                       <include name=\"lib/jboss-el.jar\" />\n"
       "                       <include name=\"lib/drools-*.jar\"/>\n"
       "                       <include name=\"lib/janino*.jar\"/>\n"
       "                       <include name=\"lib/antlr-*.jar\"/>\n"
       "                       <include name=\"lib/mvel*.jar\"/>\n"
       "                     <include name=\"lib/richfaces-api*.jar\" />\n"
       "               </fileset>\n"
       "       </copy>\n"
       "       <copy todir=\"${ear.dir}/META-INF\">\n"
       "               <fileset dir=\"${basedir}/resources/META-INF\">\n"
       "                       <include name=\"application.xml\" />\n"
       "                       <include name=\"jboss-app.xml\" />\n"
       "               </fileset>\n"
       "       </copy>\n"
       "</target>\n"
       "]]>"

#. Tag: para
#: Oc4j.xml:707
#, no-c-format
msgid "Hibernate:"
msgstr "Hibernate 依存関係"

#. Tag: programlisting
#: Oc4j.xml:710
#, no-c-format
msgid ""
"<![CDATA[<include name=\"lib/hibernate.jar\"/>\n"
"<include name=\"lib/hibernate-annotations.jar\"/>\n"
"<include name=\"lib/hibernate-commons-annotations.jar\"/>\n"
"<include name=\"lib/hibernate-entitymanager.jar\"/>\n"
"<include name=\"lib/hibernate-search.jar\"/>\n"
"<include name=\"lib/hibernate-validator.jar\"/>\n"
"<include name=\"lib/commons-logging.jar\"/>\n"
"<include name=\"lib/commons-collections.jar\"/>\n"
"<include name=\"lib/jboss-common-core.jar\"/>]]>"
msgstr "<![CDATA[<include name=\"lib/hibernate.jar\"/>\n"
       "<include name=\"lib/hibernate-annotations.jar\"/>\n"
       "<include name=\"lib/hibernate-commons-annotations.jar\"/>\n"
       "<include name=\"lib/hibernate-entitymanager.jar\"/>\n"
       "<include name=\"lib/hibernate-search.jar\"/>\n"
       "<include name=\"lib/hibernate-validator.jar\"/>\n"
       "<include name=\"lib/commons-logging.jar\"/>\n"
       "<include name=\"lib/commons-collections.jar\"/>\n"
       "<include name=\"lib/jboss-common-core.jar\"/>]]>"

#. Tag: para
#: Oc4j.xml:713
#, no-c-format
msgid "Drools &#8212; because we are using Drools to provide Seam Security rules, we need to add in Eclipse JDT compiler (you don't need this on JBoss AS; again this is due to OC4J's classloading):"
msgstr "Drools &#8212; Seam セキュリティルールのために Drools を使用するので、Eclipse JDT コンパイ"
       "ラに追加する必要があります (これは JBoss AS では必要ありません; これは OC4J のクラスローディングの問題のためです)。"

#. Tag: programlisting
#: Oc4j.xml:719
#, no-c-format
msgid "<![CDATA[<include name=\"lib/core.jar\"/>]]>"
msgstr "<![CDATA[<include name=\"lib/core.jar\"/>]]>"

#. Tag: para
#: Oc4j.xml:722
#, no-c-format
msgid "Third party jars &#8212; most of these are only needed because of OC4J's classloading:"
msgstr "サードパーティ jar &#8212; これらの多くは OC4J クラスローディングのためのみに必要です。"

#. Tag: programlisting
#: Oc4j.xml:726
#, no-c-format
msgid ""
"<![CDATA[<include name=\"lib/javassist.jar\"/>\n"
"<include name=\"lib/quartz.jar\"/>\n"
"<include name=\"lib/dbunit.jar\"/>\n"
"<include name=\"lib/jboss-embedded-api.jar\"/>\n"
"<include name=\"lib/dom4j.jar\"/>                             \n"
"<include name=\"lib/lucene-core.jar\"/>\n"
"<include name=\"lib/cglib.jar\"/>\n"
"<include name=\"lib/asm.jar\"/>\n"
"<include name=\"lib/commons-beanutils.jar\"/>\n"
"<include name=\"lib/commons-digester.jar\"/>\n"
"<include name=\"lib/concurrent.jar\"/>\n"
"<include name=\"lib/antlr.jar\"/>]]>"
msgstr "<![CDATA[<include name=\"lib/javassist.jar\"/>\n"
       "<include name=\"lib/quartz.jar\"/>\n"
       "<include name=\"lib/dbunit.jar\"/>\n"
       "<include name=\"lib/jboss-embedded-api.jar\"/>\n"
       "<include name=\"lib/dom4j.jar\"/>                             \n"
       "<include name=\"lib/lucene-core.jar\"/>\n"
       "<include name=\"lib/cglib.jar\"/>\n"
       "<include name=\"lib/asm.jar\"/>\n"
       "<include name=\"lib/commons-beanutils.jar\"/>\n"
       "<include name=\"lib/commons-digester.jar\"/>\n"
       "<include name=\"lib/concurrent.jar\"/>\n"
       "<include name=\"lib/antlr.jar\"/>]]>"

#. Tag: para
#: Oc4j.xml:730
#, no-c-format
msgid "You should end up with something like:"
msgstr "最後には以下のようになります。"

#. Tag: programlisting
#: Oc4j.xml:733
#, no-c-format
msgid ""
"<![CDATA[<fileset dir=\"${basedir}\">\n"
"      <include name=\"lib/jbpm*.jar\" />\n"
"      <include name=\"lib/jboss-el.jar\" />\n"
"      <include name=\"lib/drools-*.jar\"/>\n"
"      <include name=\"lib/janino*.jar\"/>\n"
"      <include name=\"lib/antlr-*.jar\"/>\n"
"      <include name=\"lib/mvel*.jar\"/>\n"
"      <include name=\"lib/richfaces-api*.jar\" />\n"
"      <include name=\"lib/hibernate.jar\"/>\n"
"      <include name=\"lib/hibernate-annotations.jar\"/>\n"
"      <include name=\"lib/hibernate-commons-annotations.jar\"/>\n"
"      <include name=\"lib/hibernate-entitymanager.jar\"/>\n"
"      <include name=\"lib/hibernate-search.jar\"/>\n"
"      <include name=\"lib/hibernate-validator.jar\"/>\n"
"      <include name=\"lib/commons-logging.jar\"/>\n"
"      <include name=\"lib/commons-collections.jar\"/>\n"
"      <include name=\"lib/jboss-common-core.jar\"/>\n"
"      <include name=\"lib/core.jar\"/>\n"
"      <include name=\"lib/javassist.jar\"/>\n"
"      <include name=\"lib/quartz.jar\"/>\n"
"      <include name=\"lib/dbunit.jar\"/>\n"
"      <include name=\"lib/jboss-embedded-api.jar\"/>\n"
"      <include name=\"lib/dom4j.jar\"/>                             \n"
"      <include name=\"lib/lucene-core.jar\"/>\n"
"      <include name=\"lib/cglib.jar\"/>\n"
"      <include name=\"lib/asm.jar\"/>\n"
"      <include name=\"lib/commons-beanutils.jar\"/>\n"
"      <include name=\"lib/commons-digester.jar\"/>\n"
"      <include name=\"lib/concurrent.jar\"/>\n"
"      <include name=\"lib/antlr.jar\"/>\n"
"</fileset>]]>"
msgstr "<![CDATA[<fileset dir=\"${basedir}\">\n"
       "      <include name=\"lib/jbpm*.jar\" />\n"
       "      <include name=\"lib/jboss-el.jar\" />\n"
       "      <include name=\"lib/drools-*.jar\"/>\n"
       "      <include name=\"lib/janino*.jar\"/>\n"
       "      <include name=\"lib/antlr-*.jar\"/>\n"
       "      <include name=\"lib/mvel*.jar\"/>\n"
       "      <include name=\"lib/richfaces-api*.jar\" />\n"
       "      <include name=\"lib/hibernate.jar\"/>\n"
       "      <include name=\"lib/hibernate-annotations.jar\"/>\n"
       "      <include name=\"lib/hibernate-commons-annotations.jar\"/>\n"
       "      <include name=\"lib/hibernate-entitymanager.jar\"/>\n"
       "      <include name=\"lib/hibernate-search.jar\"/>\n"
       "      <include name=\"lib/hibernate-validator.jar\"/>\n"
       "      <include name=\"lib/commons-logging.jar\"/>\n"
       "      <include name=\"lib/commons-collections.jar\"/>\n"
       "      <include name=\"lib/jboss-common-core.jar\"/>\n"
       "      <include name=\"lib/core.jar\"/>\n"
       "      <include name=\"lib/javassist.jar\"/>\n"
       "      <include name=\"lib/quartz.jar\"/>\n"
       "      <include name=\"lib/dbunit.jar\"/>\n"
       "      <include name=\"lib/jboss-embedded-api.jar\"/>\n"
       "      <include name=\"lib/dom4j.jar\""
       "/>                             \n"
       "      <include name=\"lib/lucene-core.jar\"/>\n"
       "      <include name=\"lib/cglib.jar\"/>\n"
       "      <include name=\"lib/asm.jar\"/>\n"
       "      <include name=\"lib/commons-beanutils.jar\"/>\n"
       "      <include name=\"lib/commons-digester.jar\"/>\n"
       "      <include name=\"lib/concurrent.jar\"/>\n"
       "      <include name=\"lib/antlr.jar\"/>\n"
       "</fileset>\n"
       "]]>"

#. Tag: title
#: Oc4j.xml:738
#, no-c-format
msgid "Building and deploying the seam-gen'd application to OC4J"
msgstr "seam-gen 生成アプリケーションのビルドと OC4J へのデプロイ"

#. Tag: para
#: Oc4j.xml:740
#, no-c-format
msgid "These instructions are very similar to the ones in <xref linkend=\"oc4j-app-deploy\"/> but with the correct references for the <literal>oc4j_example</literal> application."
msgstr "これらの手順は <xref linkend=\"oc4j-app-deploy\"/> の手順と非常に類似していますが、"
       "<literal>oc4j_example</literal> アプリケーションへ正しく置き換えて使用することが必"
       "要です。"

#. Tag: para
#: Oc4j.xml:746
#, no-c-format
msgid "Build your application by calling <literal>ant</literal> in the base directory of your project (ex. <literal>/home/jbalunas/workspace/oc4j_example</literal> ). The target of the build will be <literal>dist/oc4j_example.ear</literal> ."
msgstr "プロジェクトのベースディレクトリ (例えば <literal>"
       "/home/jbalunas/workspace/oc4j_example</literal>) で <"
       "literal>ant</literal> を実行してアプリケーションをビルドしてください。ビルドされるターゲットファイ"
       "ルは <literal>dist/oc4j_example.ear</literal> です。"

#. Tag: para
#: Oc4j.xml:754
#, no-c-format
msgid "Copy the <literal>mysql-connector.jar</literal> file to the <literal>$ORACLE_HOME/j2ee/home/applib</literal> directory so that jdbc drivers are available."
msgstr "<literal>mysql-connector.jar</literal> ファイルを <"
       "literal>$ORACLE_HOME/j2ee/home/applib</literal> ディレクトリにコピーし"
       "て、JDBC ドライバが利用できるようにしてください。"

#. Tag: literal
#: Oc4j.xml:761
#, no-c-format
msgid "$ORACLE_HOME/j2ee/home/config/data-sources.xml"
msgstr "$ORACLE_HOME/j2ee/home/config/data-sources.xml"

#. Tag: programlisting
#: Oc4j.xml:766
#, no-c-format
msgid ""
"<![CDATA[<managed-data-source\n"
"   connection-pool-name=\"oc4j-example-connection-pool\"\n"
"   jndi-name=\"jdbc/__oc4jexample\"\n"
"   name=\"oc4j-example-managed-data-source\" />\n"
"<connection-pool\n"
"   name=\"oc4j-example-connection-pool\">\n"
"   <connection-factory\n"
"      factory-class=\"com.mysql.jdbc.Driver\"\n"
"      user=\"username\" \n"
"      password=\"password\"\n"
"      url=\"jdbc:mysql:///oc4j\" />\n"
"</connection-pool>]]>"
msgstr "<![CDATA[<managed-data-source\n"
       "   connection-pool-name=\"oc4j-example-connection-pool\"\n"
       "   jndi-name=\"jdbc/__oc4jexample\"\n"
       "   name=\"oc4j-example-managed-data-source\" />\n"
       "<connection-pool\n"
       "   name=\"oc4j-example-connection-pool\">\n"
       "   <connection-factory\n"
       "      factory-class=\"com.mysql.jdbc.Driver\"\n"
       "      user=\"username\" \n"
       "      password=\"password\"\n"
       "      url=\"jdbc:mysql:///oc4j\" />\n"
       "</connection-pool>\n"
       "]]>"

#. Tag: literal
#: Oc4j.xml:770
#, no-c-format
msgid "$ORACLE_HOME/j2ee/home/config/server.xml"
msgstr "$ORACLE_HOME/j2ee/home/config/server.xml"

#. Tag: programlisting
#: Oc4j.xml:774
#, no-c-format
msgid ""
"<![CDATA[<application name=\"oc4j_example\"\n"
" path=\"../../home/applications/oc4j_example.ear\"\n"
" parent=\"default\"\n"
" start=\"true\" />]]>"
msgstr "<![CDATA[<application name=\"oc4j_example\"\n"
       " path=\"../../home/applications/oc4j_example.ear\"\n"
       " parent=\"default\"\n"
       " start=\"true\" />]]>"

#. Tag: literal
#: Oc4j.xml:777
#, no-c-format
msgid "$ORACLE_HOME/j2ee/home/config/default-web-site.xml"
msgstr "$ORACLE_HOME/j2ee/home/config/default-web-site.xml"

#. Tag: programlisting
#: Oc4j.xml:782
#, no-c-format
msgid ""
"<![CDATA[<web-app application=\"oc4j_example\"\n"
" name=\"oc4j_example\" \n"
" load-on-startup=\"true\"\n"
" root=\"/oc4j_example\" />]]>"
msgstr "<![CDATA[<web-app application=\"oc4j_example\"\n"
       " name=\"oc4j_example\" \n"
       " load-on-startup=\"true\"\n"
       " root=\"/oc4j_example\" />]]>"

#. Tag: para
#: Oc4j.xml:786
#, no-c-format
msgid "Start/stop OC4J following instructions in the <literal>Installation and operation of OC4J</literal> section above."
msgstr "上記の <xref linkend=\"oc4j-install-operation\"/> の手順に従って、OC4J を起"
       "動 / 終了してください。"

#. Tag: para
#: Oc4j.xml:791
#, no-c-format
msgid "Checkout the app at: <literal>http://localhost:8888/oc4j_example</literal>"
msgstr "<literal>http://localhost:8888/oc4j_example</literal> をブラ"
       "ウズしてアプリケーションを確認してください。"

#. Tag: title
#: Oc4j.xml:800
#, no-c-format
msgid "Extending example with reverse engineered CRUD and Drools"
msgstr "リバースエンジンニアリング生成した CRUD と Drools を使用したサンプルの拡張"

#. Tag: para
#: Oc4j.xml:802
#, no-c-format
msgid "In this section we extend the basic <literal>seam-gen</literal> application into a full blown CRUD application based on an existing database. Plus we will add <literal>Drools</literal> based security as well."
msgstr "ここでは、基本的な <literal>seam-gen</literal> アプリケーションを、現存のデータベース"
       "をもとにした本格的な CRUD アプリケーションに拡張します。さらに <literal>Drools<"
       "/literal> ベースのセキュリティも追加します。"

#. Tag: title
#: Oc4j.xml:807
#, no-c-format
msgid "Have <literal>seam-gen</literal> generate your CRUD applications"
msgstr "<literal>seam-gen</literal> による CRUD アプリケーションの生成"

#. Tag: para
#: Oc4j.xml:809
#, no-c-format
msgid "Type <literal>./seam generate-entities</literal> in the base directory of your seam distribution. This will create the entities, the Seam Application Framework classes and the relevant views for the CRUD application."
msgstr "Seam ディストリビューションのベースディレクトリで <literal>./seam generate-"
       "entities</literal> と入力してください。これにより、エンティティや Seam アプリケーションフレームワーク"
       "クラス、CRUD アプリケーションの関連するビューが作成されます。"

#. Tag: para
#: Oc4j.xml:814
#, no-c-format
msgid "That's it...no really...that's it. Build and deploy as before and see for yourself."
msgstr "これで完成...本当に...これで完成です。 前のようにビルドしてデプロイして、自分で確かめてみてください。"

#. Tag: title
#: Oc4j.xml:819
#, no-c-format
msgid "Hook up drools authentication using your new CRUD application"
msgstr "生成したCRUD アプリケーションへの Drools 認証の組み込み"

#. Tag: para
#: Oc4j.xml:821
#, no-c-format
msgid "As stated above this section assumes your database had a <literal>User</literal> table with <literal>username</literal> and <literal>password</literal> columns with at least one entry. If you don't have this you may need to modify the <literal>authenticate</literal> method below."
msgstr "上記で述べたように、ここでは <literal>username</literal> と <"
       "literal>password</literal> のカラムを持つ <literal>User<"
       "/literal> テーブルと、少なくとも一つのエントリを持つデータベースがあることを想定しています。もしデータベースがなければ、以"
       "下の <literal>authenticate</literal> メソッドを修正する必要があります。"

#. Tag: para
#: Oc4j.xml:827
#, no-c-format
msgid "Lets link our <literal>User</literal> entity into Seam Security by making our authenticator class a Stateless Session Bean (OC4J is a EJB3 container after all!):"
msgstr "authenticator クラスをステートレスセッション Bean にすることによって、<literal>User<"
       "/literal> エンティティを Seam セキュリティにリンクします (OC4J は要するに EJB3 コンテナです!)。"

#. Tag: para
#: Oc4j.xml:835
#, no-c-format
msgid "Add the <literal>@Stateless</literal> annotation to the <literal>Authenticator</literal> class."
msgstr "<literal>@Stateless</literal> アノテーションを <literal>"
       "Authenticator</literal> クラスに付与します。"

#. Tag: para
#: Oc4j.xml:841
#, no-c-format
msgid "Rename the class to <literal>AuthenticatorAction</literal>"
msgstr "クラス名を <literal>AuthenticatorAction</literal> に変更します。"

#. Tag: para
#: Oc4j.xml:846
#, no-c-format
msgid "Create an interface called <literal>Authenticator</literal> which <literal>AuthenticatorAction</literal> implements (EJB3 requires session beans to have a local interface). Annotate the interface with <literal>@Local</literal> , and add a single method with same signature as the <literal>authenticate</literal> in <literal>AuthenticatorAction</literal> ."
msgstr "<literal>AuthenticatorAction</literal> が実装する <"
       "literal>Authenticator</literal> という名前のインタフェースを作成してください "
       "(EJB3 ではセッション Bean にローカルインタフェースが必要)。インタフェースに <literal>"
       "@Local</literal> アノテーションを付与し、<literal>"
       "AuthenticatorAction</literal> の <literal>authenticate<"
       "/literal> と同じシグニチャのメソッドを一つ追加してください。"

#. Tag: programlisting
#: Oc4j.xml:860
#, no-c-format
msgid ""
"<![CDATA[@Name(\"authenticator\") @Stateless public class\n"
"            AuthenticatorAction implements Authenticator {]]>"
msgstr "<![CDATA[@Name(\"authenticator\")\n"
       "@Stateless\n"
       "public class AuthenticatorAction implements Authenticator {]]>"

#. Tag: programlisting
#: Oc4j.xml:863
#, no-c-format
msgid ""
"<![CDATA[@Local public interface Authenticator { \n"
"  public boolean authenticate(); \n"
"}]]>"
msgstr "<![CDATA[@Local\n"
       "public interface Authenticator { \n"
       "  public boolean authenticate(); \n"
       "}]]>"

#. Tag: para
#: Oc4j.xml:866
#, no-c-format
msgid "Use <literal>@PersistenceContext</literal> to inject an EntityManager by adding this line the <literal>AuthenticatorAction</literal> class:"
msgstr "<literal>AuthenticatorAction</literal> クラスに以下の行を追加することによっ"
       "て EntityManager をインジェクトするのに<literal>@PersistenceContext<"
       "/literal> を使用してください。"

#. Tag: programlisting
#: Oc4j.xml:872
#, no-c-format
msgid "<![CDATA[@PersistenceContext private EntityManager entityManager;]]>"
msgstr "<![CDATA[@PersistenceContext private EntityManager "
       "entityManager;]]>"

#. Tag: para
#: Oc4j.xml:875
#, no-c-format
msgid "Implement authenticate:"
msgstr "authenticate クラスを実装してください。"

#. Tag: programlisting
#: Oc4j.xml:878
#, no-c-format
msgid ""
"<![CDATA[public boolean authenticate() {\n"
"   List <User> users = entityManager .createQuery(\"select u from User u where \n"
"   u.username = #{identity.username} and \n"
"   u.password = #{identity.password}\") .getResultList();\n"
"   if (users.size() == 1) {\n"
"      identity.addRole(\"admin\"); \n"
"      return true; \n"
"   } else {\n"
"      return false; \n"
"   } \n"
"}]]>"
msgstr "<![CDATA[public boolean authenticate() {\n"
       "   List <User> users = entityManager .createQuery(\"select u "
       "from User u where\n"
       "   u.username = #{identity.username} and \n"
       "   u.password = #{identity.password}\") .getResultList();\n"
       "   if (users.size() == 1) {\n"
       "      identity.addRole(\"admin\"); \n"
       "      return true; \n"
       "   } else {\n"
       "      return false; \n"
       "   } \n"
       "}]]>"

#. Tag: para
#: Oc4j.xml:881
#, no-c-format
msgid "And then add the EJB3 reference to <literal>web.xml</literal> :"
msgstr "<literal>web.xml</literal> に EJB3 参照を追加してください。"

#. Tag: programlisting
#: Oc4j.xml:885
#, no-c-format
msgid ""
"<![CDATA[<ejb-local-ref>\n"
"   <ejb-ref-name>\n"
"      oc4j_example/AuthenticatorAction/local\n"
"   </ejb-ref-name>\n"
"   <ejb-ref-type>Session</ejb-ref-type>\n"
"   <local>\n"
"      org.jboss.seam.tutorial.oc4j.action.Authenticator\n"
"   </local>\n"
"   <ejb-link>AuthenticatorAction</ejb-link>\n"
"</ejb-local-ref>]]>"
msgstr "<![CDATA[<ejb-local-ref>\n"
       "   <ejb-ref-name>\n"
       "      oc4j_example/AuthenticatorAction/local\n"
       "   </ejb-ref-name>\n"
       "   <ejb-ref-type>Session</ejb-ref-type>\n"
       "   <local>\n"
       "      org.jboss.seam.tutorial.oc4j.action.Authenticator\n"
       "   </local>\n"
       "   <ejb-link>AuthenticatorAction</ejb-link>\n"
       "</ejb-local-ref>\n"
       "]]>"

#. Tag: para
#: Oc4j.xml:889
#, no-c-format
msgid "Build and deploy as before and notice that now only actual username and passwords are accepted."
msgstr "前のようにビルドしてデプロイしてください、今は単に実際に入力されたユーザー名とパスワードが受け入れられることに注意してください。"

#. Tag: title
#: Oc4j.xml:897
#, no-c-format
msgid "Finishing up"
msgstr "完成"

#. Tag: para
#: Oc4j.xml:898
#, no-c-format
msgid "That's it, we're through. You now have a great starting point for any Seam based application deployed to OC4J."
msgstr "以上で完成です。OC4J にデプロイする Seam アプリケーションの出発点として利用できる雛形を作成できました。"

