[jboss-cvs] JBossAS SVN: r69440 - projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Jan 29 02:18:59 EST 2008
Author: noriko
Date: 2008-01-29 02:18:58 -0500 (Tue, 29 Jan 2008)
New Revision: 69440
Modified:
projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/J2EE_Messaging_On_JBOSS.po
Log:
translating...
Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/J2EE_Messaging_On_JBOSS.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/J2EE_Messaging_On_JBOSS.po 2008-01-29 07:05:36 UTC (rev 69439)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/J2EE_Messaging_On_JBOSS.po 2008-01-29 07:18:58 UTC (rev 69440)
@@ -1,30 +1,33 @@
+# translation of J2EE_Messaging_On_JBOSS.po to Japanese
# Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
# Automatically generated, 2007.
-#
+# Noriko Mizumoto <noriko at redhat.com>, 2008.
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: J2EE_Messaging_On_JBOSS\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2007-11-05 06:01+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-01-29 17:18+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
#: J2EE_Messaging_On_JBOSS.xml:6
#, no-c-format
msgid "Messaging on JBoss"
-msgstr ""
+msgstr "JBoss でのメッセージング"
#. Tag: subtitle
#: J2EE_Messaging_On_JBOSS.xml:7
#, no-c-format
msgid "JMS Configuration and Architecture"
-msgstr ""
+msgstr "JMS 設定とアーキテクチャ"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:8
@@ -40,6 +43,8 @@
"not need to worry about the sending application's status. Both senders, "
"and receivers only interact with the destinations."
msgstr ""
+"JMS API は Java Message Service Application Programming "
+"Interface の略で、 アプリケーションが非同期の <emphasis>business-quality</emphasis> メッセージを他のアプリケーションに送信するために使用します。 メッセージングの世界では、 メッセージは他のアプリケーションに直接送信されるのではなく、 キューまたはトピックとして識別される目的地に送信されます。 メッセージを送信しているアプリケーションとっては受け取り側のアプリケーションが稼働しているのかどうかは関係なく、 逆に受け取り側のアプリケーションは送信側のアプリケーションの状態を識別する必要はありません。 送信側および受信側の両方が目的地と交信しあいます。"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:11
@@ -53,7 +58,7 @@
"therefore, the best JBoss Messaging user guide is the JMS specification. For "
"more information about the JMS API please visit the JMS Tutorial or JMS "
"Downloads & Specifications."
-msgstr ""
+msgstr "JMS API は Message Oriented Middleware (MOM) システムとも呼ばれる JMS プロバイダに対する標準化インターフェースになります。 JBoss には JBoss Messaging or JBossMQ と呼ばれる JMS 1.1 対応 JMS プロバイダが同梱されています。 JBoss で JMS API を使用する場合、 JBoss Messaging エンジンを透過的に使用していることになります。 JBoss Messaging は JMS 使用を完全実装するため、 最適な JBoss Messaging ユーザーガイドは JMS 仕様となります。 JMS API の詳細については JMS Tutorial か JMS Downloads & Specifications をご覧ください。"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:14
@@ -61,13 +66,13 @@
msgid ""
"This chapter focuses on the JBoss specific aspects of using JMS and message "
"driven beans as well as the JBoss Messaging configuration and MBeans."
-msgstr ""
+msgstr "本章は JMS およびメッセージにより動作する bean の使いかたにおいて JBoss 固有となる点の他、 JBoss Messaging 設定および MBean について焦点を置きながら説明していきます。"
#. Tag: title
#: J2EE_Messaging_On_JBOSS.xml:18
#, no-c-format
msgid "JMS Examples"
-msgstr ""
+msgstr "JMS サンプル"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:19
@@ -77,7 +82,7 @@
"implementation. JMS leaves the details of accessing JMS connection factories "
"and destinations as provider specific details. What you need to know to use "
"the JBoss Messaging layer is:"
-msgstr ""
+msgstr "本セクションでは、 JBoss JMS 実装を使用する場合に必要となる基本を説明しています。 JMS はプロバイダ固有の詳細としてアクセスしている JMS 接続ファクトリおよび目的地の詳細を残します。 以下は、 JBoss Messaging 層を使用する場合に知っておく必要があります。"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:24
@@ -86,7 +91,7 @@
"The location of the queue and topic connect factories: In JBoss both "
"connection factory implementations are located under the JNDI name "
"<literal>ConnectionFactory</literal>."
-msgstr ""
+msgstr "キューまたはトピック接続ファクトリの場所: JBoss ではいずれの接続ファクトリ実装も JNDI 名 <literal>ConnectionFactory</literal> の配下にあります。"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:29
@@ -96,7 +101,7 @@
"configured via MBeans as we will see when we discuss the messaging MBeans. "
"JBoss comes with a few queues and topics preconfigured. You can find them "
"under the <literal>jboss.mq.destination</literal> domain in the JMX Console.."
-msgstr ""
+msgstr "JMS 目的地 (キューおよびトピック)の検索方法: 目的地は MBean で設定されます。 メッセージングMBean について説明するときに見ていきます。 JBoss にはすでに設定されているキューおよびトピックがいくつか同梱されています。 これらは JMX コンソールの <literal>jboss.mq.destination</literal> 配下にあります。"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:34
@@ -107,6 +112,10 @@
"literal>, <literal>jboss-system-client.jar</literal>, <literal>jnp-client."
"jar</literal> and <literal>log4j.jar</literal>."
msgstr ""
+"JARS JMS が必要とするもの: これには <literal>concurrent.jar</literal>、 "
+"<literal>jbossmq-client.jar</literal>、 <literal>jboss-common-client.jar</"
+"literal>、 <literal>jboss-system-client.jar</literal>、 <literal>jnp-client."
+"jar</literal>、d <literal>log4j.jar</literal> が含まれます。"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:39
@@ -116,13 +125,13 @@
"messaging models and message driven beans. The chapter example source is "
"located under the <literal>src/main/org/jboss/book/jms</literal> directory "
"of the book examples."
-msgstr ""
+msgstr "次のセクションでは各種の JMS メッセージングモデルおよびメッセージにより動作する bean の事例を見ていきます。 本章のサンプルソースはブックサンプルの <literal>src/main/org/jboss/book/jms</literal> ディレクトリにあります。"
#. Tag: title
#: J2EE_Messaging_On_JBOSS.xml:43
#, no-c-format
msgid "A Point-To-Point Example"
-msgstr ""
+msgstr "ポイントツーポイントの例"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:44
@@ -137,12 +146,14 @@
"testQueue</literal> and asynchronously receives the message from the same "
"queue."
msgstr ""
+"ポイントツーポイント (P2P) のサンプルからスタートします。 P2P モデルでは、 送信側はメッセージをキューに配信し、 単一の受信側がそのメッセージをキューから引き取ります。 受信側はメッセージが送信されるときにキューをリッスンしている必要はありません。 <xreflinkend=\"A_Point_To_Point_Example-A_P2P_JMS_client_example\"/> では、 <literal>javax.jms.TextMessage</literal> を <literal>queue/"
+"testQueue</literal> キューに送信して非同期的に同じキューからメッセージを受け取る P2P の例を示します。"
#. Tag: title
#: J2EE_Messaging_On_JBOSS.xml:47
#, no-c-format
msgid "A P2P JMS client example"
-msgstr ""
+msgstr "P2P JMS クライアントの例"
#. Tag: programlisting
#: J2EE_Messaging_On_JBOSS.xml:48
@@ -259,12 +270,122 @@
" }\n"
"}"
msgstr ""
+"package org.jboss.book.jms.ex1;\n"
+"\n"
+"import javax.jms.JMSException;\n"
+"import javax.jms.Message;\n"
+"import javax.jms.MessageListener;\n"
+"import javax.jms.Queue;\n"
+"import javax.jms.QueueConnection;\n"
+"import javax.jms.QueueConnectionFactory;\n"
+"import javax.jms.QueueReceiver;\n"
+"import javax.jms.QueueSender;\n"
+"import javax.jms.QueueSession;\n"
+"import javax.jms.TextMessage;\n"
+"import javax.naming.InitialContext;\n"
+"import javax.naming.NamingException;\n"
+"\n"
+"import EDU.oswego.cs.dl.util.concurrent.CountDown;\n"
+"import org.apache.log4j.Logger;\n"
+"import org.jboss.util.ChapterExRepository;\n"
+"\n"
+"/** \n"
+" * A complete JMS client example program that sends a\n"
+" * TextMessage to a Queue and asynchronously receives the\n"
+" * message from the same Queue.\n"
+" * \n"
+" * @author Scott.Stark at jboss.org\n"
+" * @version $Revision: 1.9 $\n"
+" */\n"
+"public class SendRecvClient\n"
+"{\n"
+" static Logger log;\n"
+" static CountDown done = new CountDown(1);\n"
+" \n"
+" QueueConnection conn;\n"
+" QueueSession session;\n"
+" Queue que;\n"
+" \n"
+" public static class ExListener \n"
+" implements MessageListener\n"
+" {\n"
+" public void onMessage(Message msg)\n"
+" {\n"
+" done.release();\n"
+" TextMessage tm = (TextMessage) msg;\n"
+" try {\n"
+" log.info(\"onMessage, recv text=\" + tm.getText());\n"
+" } catch(Throwable t) {\n"
+" t.printStackTrace();\n"
+" }\n"
+" }\n"
+" }\n"
+" \n"
+" public void setupPTP()\n"
+" throws JMSException, \n"
+" NamingException\n"
+" {\n"
+" InitialContext iniCtx = new InitialContext();\n"
+" Object tmp = iniCtx.lookup(\"ConnectionFactory\");\n"
+" QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;\n"
+" conn = qcf.createQueueConnection();\n"
+" que = (Queue) iniCtx.lookup(\"queue/testQueue\");\n"
+" session = conn.createQueueSession(false,\n"
+" QueueSession.AUTO_ACKNOWLEDGE);\n"
+" conn.start();\n"
+" }\n"
+" \n"
+" public void sendRecvAsync(String text)\n"
+" throws JMSException, \n"
+" NamingException\n"
+" {\n"
+" log.info(\"Begin sendRecvAsync\");\n"
+" // Setup the PTP connection, session\n"
+" setupPTP();\n"
+"\n"
+" // Set the async listener\n"
+" QueueReceiver recv = session.createReceiver(que);\n"
+" recv.setMessageListener(new ExListener());\n"
+"\n"
+" // Send a text msg\n"
+" QueueSender send = session.createSender(que);\n"
+" TextMessage tm = session.createTextMessage(text);\n"
+" send.send(tm);\n"
+" log.info(\"sendRecvAsync, sent text=\" + tm.getText());\n"
+" send.close();\n"
+" log.info(\"End sendRecvAsync\");\n"
+" }\n"
+" \n"
+" public void stop()\n"
+" throws JMSException\n"
+" {\n"
+" conn.stop();\n"
+" session.close();\n"
+" conn.close();\n"
+" }\n"
+" \n"
+" public static void main(String args[]) \n"
+" throws Exception\n"
+" {\n"
+" ChapterExRepository.init(SendRecvClient.class);\n"
+" log = Logger.getLogger(\"SendRecvClient\");\n"
+" \n"
+" log.info(\"Begin SendRecvClient, now=\" + System.currentTimeMillis"
+"());\n"
+" SendRecvClient client = new SendRecvClient();\n"
+" client.sendRecvAsync(\"A text msg\");\n"
+" client.done.acquire();\n"
+" client.stop();\n"
+" log.info(\"End SendRecvClient\");\n"
+" System.exit(0);\n"
+" }\n"
+"}"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:49 J2EE_Messaging_On_JBOSS.xml:62
#, no-c-format
msgid "The client may be run using the following command line:"
-msgstr ""
+msgstr "次のコマンドラインを使ってクライアントを実行することができます。"
#. Tag: programlisting
#: J2EE_Messaging_On_JBOSS.xml:52
@@ -280,12 +401,21 @@
" [java] [INFO,SendRecvClient] End sendRecvAsync\n"
" [java] [INFO,SendRecvClient] End SendRecvClient"
msgstr ""
+"[examples]$ ant -Dchap=jms -Dex=1p2p run-example\n"
+"...\n"
+"run-example1p2p:\n"
+" [java] [INFO,SendRecvClient] Begin SendRecvClient, now=1102808673386\n"
+" [java] [INFO,SendRecvClient] Begin sendRecvAsync\n"
+" [java] [INFO,SendRecvClient] onMessage, recv text=A text msg\n"
+" [java] [INFO,SendRecvClient] sendRecvAsync, sent text=A text msg\n"
+" [java] [INFO,SendRecvClient] End sendRecvAsync\n"
+" [java] [INFO,SendRecvClient] End SendRecvClient"
#. Tag: title
#: J2EE_Messaging_On_JBOSS.xml:56
#, no-c-format
msgid "A Pub-Sub Example"
-msgstr ""
+msgstr "Pub-Sub の例"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:57
@@ -297,13 +427,13 @@
"topic will miss the published message. shows a complete JMS client that "
"sends a <literal>javax.jms.TextMessage</literal> to a topic and "
"asynchronously receives the message from the same topic."
-msgstr ""
+msgstr "JMS publish/subscribe (Pub-Sub) メッセージモデルは 1 対 複数のモデルになります。 発行元は 1 メッセージをトピックに送信しトピックのアクティブな加入者はすべてそのメッセージを受信します。 トピックをアクティブにリッスンしていない加入者は発行されたメッセージを見逃します。 <literal>javax.jms.TextMessage</literal> をトピックに送信し非同期的に同じトピックからメッセージを受信する JMS クライアントを示します。"
#. Tag: title
#: J2EE_Messaging_On_JBOSS.xml:60
#, no-c-format
msgid "A Pub-Sub JMS client example"
-msgstr ""
+msgstr "Pub-Sub JMS クライアントの例"
#. Tag: programlisting
#: J2EE_Messaging_On_JBOSS.xml:61
@@ -411,6 +541,107 @@
" \n"
"}"
msgstr ""
+"package org.jboss.book.jms.ex1;\n"
+"\n"
+"import javax.jms.JMSException;\n"
+"import javax.jms.Message;\n"
+"import javax.jms.MessageListener;\n"
+"import javax.jms.Topic;\n"
+"import javax.jms.TopicConnection;\n"
+"import javax.jms.TopicConnectionFactory;\n"
+"import javax.jms.TopicPublisher;\n"
+"import javax.jms.TopicSubscriber;\n"
+"import javax.jms.TopicSession;\n"
+"import javax.jms.TextMessage;\n"
+"import javax.naming.InitialContext;\n"
+"import javax.naming.NamingException;\n"
+"\n"
+"import EDU.oswego.cs.dl.util.concurrent.CountDown;\n"
+"\n"
+"/**\n"
+" * A complete JMS client example program that sends a TextMessage to\n"
+" * a Topic and asynchronously receives the message from the same\n"
+" * Topic.\n"
+" * \n"
+" * @author Scott.Stark at jboss.org\n"
+" * @version $Revision: 1.9 $\n"
+" */\n"
+"\n"
+"public class TopicSendRecvClient\n"
+"{\n"
+" static CountDown done = new CountDown(1);\n"
+" TopicConnection conn = null;\n"
+" TopicSession session = null;\n"
+" Topic topic = null;\n"
+" \n"
+" public static class ExListener implements MessageListener\n"
+" {\n"
+" public void onMessage(Message msg)\n"
+" {\n"
+" done.release();\n"
+" TextMessage tm = (TextMessage) msg;\n"
+" try {\n"
+" System.out.println(\"onMessage, recv text=\" + tm.getText"
+"());\n"
+" } catch(Throwable t) {\n"
+" t.printStackTrace();\n"
+" }\n"
+" }\n"
+" }\n"
+" \n"
+" public void setupPubSub()\n"
+" throws JMSException, NamingException\n"
+" {\n"
+" InitialContext iniCtx = new InitialContext();\n"
+" Object tmp = iniCtx.lookup(\"ConnectionFactory\");\n"
+" TopicConnectionFactory tcf = (TopicConnectionFactory) tmp;\n"
+" conn = tcf.createTopicConnection();\n"
+" topic = (Topic) iniCtx.lookup(\"topic/testTopic\");\n"
+" session = conn.createTopicSession(false,\n"
+" TopicSession.AUTO_ACKNOWLEDGE);\n"
+" conn.start();\n"
+" }\n"
+" \n"
+" public void sendRecvAsync(String text)\n"
+" throws JMSException, NamingException\n"
+" {\n"
+" System.out.println(\"Begin sendRecvAsync\");\n"
+" // Setup the PubSub connection, session\n"
+" setupPubSub();\n"
+" // Set the async listener\n"
+" \n"
+" TopicSubscriber recv = session.createSubscriber(topic);\n"
+" recv.setMessageListener(new ExListener());\n"
+" // Send a text msg\n"
+" TopicPublisher send = session.createPublisher(topic);\n"
+" TextMessage tm = session.createTextMessage(text);\n"
+" send.publish(tm);\n"
+" System.out.println(\"sendRecvAsync, sent text=\" + tm.getText());\n"
+" send.close();\n"
+" System.out.println(\"End sendRecvAsync\");\n"
+" }\n"
+" \n"
+" public void stop() throws JMSException\n"
+" {\n"
+" conn.stop();\n"
+" session.close();\n"
+" conn.close();\n"
+" }\n"
+" \n"
+" public static void main(String args[]) throws Exception\n"
+" {\n"
+" System.out.println(\"Begin TopicSendRecvClient, now=\" + \n"
+" System.currentTimeMillis());\n"
+" TopicSendRecvClient client = new TopicSendRecvClient();\n"
+" client.sendRecvAsync(\"A text msg, now=\"+System.currentTimeMillis"
+"());\n"
+" client.done.acquire();\n"
+" client.stop();\n"
+" System.out.println(\"End TopicSendRecvClient\");\n"
+" System.exit(0);\n"
+" }\n"
+" \n"
+"}"
#. Tag: programlisting
#: J2EE_Messaging_On_JBOSS.xml:65
@@ -426,6 +657,15 @@
" [java] End sendRecvAsync\n"
" [java] End TopicSendRecvClient"
msgstr ""
+"[examples]$ ant -Dchap=jms -Dex=1ps run-example\n"
+"...\n"
+"run-example1ps:\n"
+" [java] Begin TopicSendRecvClient, now=1102809427043\n"
+" [java] Begin sendRecvAsync\n"
+" [java] onMessage, recv text=A text msg, now=1102809427071\n"
+" [java] sendRecvAsync, sent text=A text msg, now=1102809427071\n"
+" [java] End sendRecvAsync\n"
+" [java] End TopicSendRecvClient"
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:66
@@ -439,6 +679,8 @@
"only client is shown in <xref linkend=\"A_Pub_Sub_Example-"
"A_JMS_subscriber_client\"/>."
msgstr ""
+"ここで発行元と加入者を別々のプログラムに分け、 トピックをリッスンしている間のみ加入者がメッセージを受信するところを見てみます。 <xreflinkend=\"A_Pub_Sub_Example-A_JMS_publisher_client\"/> では <literal>topic/testTopic</literal> トピックにのみメッセージを公開する前述の pub-sub クライアントの変形を示します。 加入者のみのクライアントを <xref linkend=\"A_Pub_Sub_Example-"
+"A_JMS_subscriber_client\"/> に示します。"
#. Tag: title
#: J2EE_Messaging_On_JBOSS.xml:69
@@ -2156,8 +2398,7 @@
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:527
#, no-c-format
-msgid ""
-"<emphasis role=\"bold\">URLPort</emphasis>: The port portion of the URL."
+msgid "<emphasis role=\"bold\">URLPort</emphasis>: The port portion of the URL."
msgstr ""
#. Tag: para
@@ -3065,8 +3306,7 @@
#. Tag: para
#: J2EE_Messaging_On_JBOSS.xml:923 J2EE_Messaging_On_JBOSS.xml:1021
#, no-c-format
-msgid ""
-"Additional read-only attributes that provide statistics information include:"
+msgid "Additional read-only attributes that provide statistics information include:"
msgstr ""
#. Tag: para
@@ -3682,3 +3922,4 @@
"\"http://wiki.jboss.org/wiki/Wiki.jsp?page=IntegrationWithWebSphereMQSeries"
"\"></ulink>."
msgstr ""
+
More information about the jboss-cvs-commits
mailing list