Author: nico.ben
Date: 2009-01-08 09:13:34 -0500 (Thu, 08 Jan 2009)
New Revision: 829
Modified:
doc/trunk/reference/es-ES/Author_Group.po
doc/trunk/reference/es-ES/ri-spi.po
doc/trunk/reference/es-ES/ri.po
doc/trunk/reference/fr-FR/ri-spi.po
doc/trunk/reference/fr-FR/ri.po
doc/trunk/reference/ja-JP/ri-spi.po
doc/trunk/reference/ja-JP/ri.po
doc/trunk/reference/ko-KR/ri-spi.po
doc/trunk/reference/ko-KR/ri.po
doc/trunk/reference/pot/Author_Group.pot
doc/trunk/reference/pot/Book_Info.pot
doc/trunk/reference/pot/decorators.pot
doc/trunk/reference/pot/ee.pot
doc/trunk/reference/pot/events.pot
doc/trunk/reference/pot/example.pot
doc/trunk/reference/pot/extend.pot
doc/trunk/reference/pot/injection.pot
doc/trunk/reference/pot/interceptors.pot
doc/trunk/reference/pot/intro.pot
doc/trunk/reference/pot/master.pot
doc/trunk/reference/pot/next.pot
doc/trunk/reference/pot/part1.pot
doc/trunk/reference/pot/part2.pot
doc/trunk/reference/pot/part3.pot
doc/trunk/reference/pot/part4.pot
doc/trunk/reference/pot/producermethods.pot
doc/trunk/reference/pot/ri-spi.pot
doc/trunk/reference/pot/ri.pot
doc/trunk/reference/pot/scopescontexts.pot
doc/trunk/reference/pot/specialization.pot
doc/trunk/reference/pot/stereotypes.pot
doc/trunk/reference/pot/xml.pot
doc/trunk/reference/pt-BR/ri-spi.po
doc/trunk/reference/pt-BR/ri.po
doc/trunk/reference/zh-CN/ri-spi.po
doc/trunk/reference/zh-CN/ri.po
doc/trunk/reference/zh-TW/ri-spi.po
doc/trunk/reference/zh-TW/ri.po
Log:
Updated POT, rigenerate all PO files.
Modified: doc/trunk/reference/es-ES/Author_Group.po
===================================================================
--- doc/trunk/reference/es-ES/Author_Group.po 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/es-ES/Author_Group.po 2009-01-08 14:13:34 UTC (rev 829)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: Author_Group\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-04 23:18+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: 2009-01-08 12:17+1000\n"
"Last-Translator: Gladys Guerrero Lozano <gguerrer(a)redhat.com>\n"
"Language-Team: Spanish <fedora-trans-es(a)redhat.com>\n"
@@ -29,8 +29,8 @@
"<jobtitle>Web Beans (JSR-299) specification lead</jobtitle>
<orgname>Red Hat "
"Middleware LLC</orgname>"
msgstr ""
-"<jobtitle>información de especificación de Web Beans (JSR-299)
</jobtitle> <orgname>Red Hat "
-"Middleware LLC</orgname>"
+"<jobtitle>información de especificación de Web Beans (JSR-299)
</jobtitle> "
+"<orgname>Red Hat Middleware LLC</orgname>"
#. Tag: author
#: Author_Group.xml:12
@@ -40,8 +40,7 @@
#. Tag: affiliation
#: Author_Group.xml:15
-#, no-c-format
-#, fuzzy
+#, fuzzy, no-c-format
msgid ""
"<jobtitle>Web Beans (JSR-299) Reference Implementation lead </jobtitle>
"
"<orgname>Red Hat Middleware LLC</orgname>"
@@ -66,4 +65,3 @@
#, no-c-format
msgid "<firstname>Francesco</firstname>
<surname>Milesi</surname>"
msgstr "<firstname>Francesco</firstname>
<surname>Milesi</surname>"
-
Modified: doc/trunk/reference/es-ES/ri-spi.po
===================================================================
--- doc/trunk/reference/es-ES/ri-spi.po 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/es-ES/ri-spi.po 2009-01-08 14:13:34 UTC (rev 829)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: master.xml \n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: 2008-12-20 22:07+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -367,21 +367,55 @@
#: ri-spi.xml:138
#, no-c-format
msgid ""
-"If you are integrating the Web Beans into an environment that supports "
-"deployment of applications, you must enable, automatically, or through user "
-"configuation, classloader isolation for each Web Beans application"
+"If you are integrating the Web Beans RI into an environment that supports "
+"deployment of multiple applications, you must enable, automatically, or "
+"through user configuation, classloader isolation for each Web Beans "
+"application."
msgstr ""
#. Tag: term
#: ri-spi.xml:147
#, no-c-format
-msgid "The <literal>webbeans-ri.jar</literal>"
+msgid "Servlet listener"
msgstr ""
#. Tag: para
#: ri-spi.xml:151
#, no-c-format
msgid ""
+"If you are integrating the Web Beans into a Servlet environment you must "
+"register <literal>org.jboss.webbeans.servlet.WebBeansListener</literal>
as a "
+"Servlet listener, either automatically, or through user configuration, for "
+"each Web Beans application which uses Servlet."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:162
+#, no-c-format
+msgid "Session Bean Interceptor"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:166
+#, no-c-format
+msgid ""
+"If you are integrating the Web Beans into an EJB environment you must "
+"register
<literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal> as "
+"a EJB interceptor for all EJBs in the application, either automatically, or "
+"through user configuration, for each Web Beans application which uses "
+"enterprise beans."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:177
+#, no-c-format
+msgid "The <literal>webbeans-ri.jar</literal>"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:181
+#, no-c-format
+msgid ""
"If you are integrating the Web Beans into an environment that supports "
"deployment of applications, you must insert the
<literal>webbeans-ri.jar</"
"literal> into the applications isolated classloader. It cannot be loaded "
Modified: doc/trunk/reference/es-ES/ri.po
===================================================================
--- doc/trunk/reference/es-ES/ri.po 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/es-ES/ri.po 2009-01-08 14:13:34 UTC (rev 829)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: master.xml \n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-04 23:18+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: 2008-12-19 20:26+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -356,11 +356,6 @@
" <session-config>\n"
" <session-timeout>10</session-timeout>\n"
" </session-config>\n"
-" \n"
-" <listener>\n"
-"
<listener-class>org.jboss.webbeans.servlet.WebBeansListener</listener-"
-"class>\n"
-" </listener>\n"
"\n"
"</web-app>]]></programlisting> <calloutlist> <callout
arearefs=\"faces."
"servlet\"> <para> Enable and load the JSF servlet </para>
</callout> "
@@ -369,20 +364,16 @@
"<callout arearefs=\"faces.default.suffix\"> <para> Tell JSF
that we will be "
"giving our source files (facelets) an extension of
<literal>.jsf</literal> </"
"para> </callout> <callout arearefs=\"session.timeout\">
<para> Configure a "
-"session timeout of 10 minutes </para> </callout> <callout
arearefs="
-"\"webbeans.listener\"> <para> Configure the Web Beans listener,
so that Web "
-"Beans services can be used in the servlet request </para> </callout>
</"
-"calloutlist> </programlistingco> <note> <para> The only
configuration "
-"required by the Web Beans RI in <literal>web.xml</literal> is to add
the Web "
-"Beans listener. </para> <para> Whilst this demo is a JSF demo, you can
use "
-"the Web Beans RI with any Servlet based web framework; just configure the "
-"Web Beans listener. </para> </note> <para> Let's take a look
at the Facelet "
-"view: </para> <programlistingco> <areaspec> <area
id=\"template\" coords=\"8"
-"\"/> <area id=\"messages\" coords=\"12\"/>
<area id=\"instructions\" coords="
-"\"19\"/> <area id=\"guess\" coords=\"25\"/>
<area id=\"validator\" coords="
-"\"30\"/> <area id=\"submit\" coords=\"33\"/>
</areaspec> <programlisting><!"
-"[CDATA[<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0
Transitional//EN\" "
-"\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"
+"session timeout of 10 minutes </para> </callout> </calloutlist>
</"
+"programlistingco> <note> <para> Whilst this demo is a JSF demo, you
can use "
+"the Web Beans RI with any Servlet based web framework. </para> </note>
"
+"<para> Let's take a look at the Facelet view: </para>
<programlistingco> "
+"<areaspec> <area id=\"template\" coords=\"8\"/>
<area id=\"messages\" coords="
+"\"12\"/> <area id=\"instructions\"
coords=\"19\"/> <area id=\"guess\" coords="
+"\"25\"/> <area id=\"validator\"
coords=\"30\"/> <area id=\"submit\" coords="
+"\"33\"/> </areaspec>
<programlisting><![CDATA[<!DOCTYPE html PUBLIC \"-//"
+"W3C//DTD XHTML 1.0 Transitional//EN\"
\"http://www.w3.org/TR/xhtml1/DTD/"
+"xhtml1-transitional.dtd\">\n"
"<html
xmlns=\"http://www.w3.org/1999/xhtml\"\n"
"
xmlns:ui=\"http://java.sun.com/jsf/facelets\"\n"
"
xmlns:h=\"http://java.sun.com/jsf/html\"\n"
@@ -449,7 +440,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:298
+#: ri.xml:287
#, no-c-format
msgid ""
"The example exists of 4 classes, the first two of which are binding types. "
@@ -458,7 +449,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:304
+#: ri.xml:293
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -469,7 +460,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:306
+#: ri.xml:295
#, no-c-format
msgid ""
"There is also the <literal>@MaxNumber</literal> binding type, used for
"
@@ -477,7 +468,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:311
+#: ri.xml:300
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -489,7 +480,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:313
+#: ri.xml:302
#, no-c-format
msgid ""
"The <literal>Generator</literal> class is responsible for creating the
"
@@ -498,7 +489,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:319
+#: ri.xml:308
#, no-c-format
msgid ""
"<![CDATA[@ApplicationScoped\n"
@@ -527,7 +518,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:321
+#: ri.xml:310
#, no-c-format
msgid ""
"You'll notice that the <literal>Generator</literal> is application
scoped; "
@@ -535,7 +526,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:326
+#: ri.xml:315
#, no-c-format
msgid ""
"The final Web Bean in the application is the session scoped
<literal>Game</"
@@ -543,7 +534,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:331
+#: ri.xml:320
#, no-c-format
msgid ""
"You'll note that we've used the <literal>@Named</literal>
annotation, so "
@@ -554,7 +545,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:339
+#: ri.xml:328
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.webbeans.examples.numberguess;\n"
@@ -656,13 +647,13 @@
msgstr ""
#. Tag: title
-#: ri.xml:343
+#: ri.xml:332
#, no-c-format
msgid "The translator example"
msgstr ""
#. Tag: para
-#: ri.xml:345
+#: ri.xml:334
#, no-c-format
msgid ""
"The translator example will take any sentences you enter, and translate them
"
@@ -670,7 +661,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:350
+#: ri.xml:339
#, no-c-format
msgid ""
"The translator example is built as an ear, and contains EJBs and enterprise "
@@ -679,7 +670,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:357
+#: ri.xml:346
#, no-c-format
msgid ""
"EJB 3.1 and Jave EE 6 allow you to package EJBs in a war, which will make "
@@ -687,17 +678,16 @@
msgstr ""
#. Tag: para
-#: ri.xml:363
+#: ri.xml:352
#, no-c-format
msgid ""
"First, let's take a look at the ear aggregator, which is located in "
"<literal>webbeans-translator-ear</literal> module. Maven automatically
"
-"generates the <literal>application.xml</literal> and
<literal>jboss-app.xml</"
-"literal> for us:"
+"generates the <literal>application.xml</literal> for us:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:370
+#: ri.xml:358
#, no-c-format
msgid ""
"<![CDATA[<plugin>\n"
@@ -711,57 +701,32 @@
" <contextRoot>/webbeans-translator</contextRoot>\n"
" </webModule>\n"
" </modules>\n"
-" <jboss>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</"
-"loader-repository>\n"
-" </jboss>\n"
" </configuration>\n"
"</plugin>]]>"
msgstr ""
#. Tag: para
-#: ri.xml:372
+#: ri.xml:360
#, no-c-format
msgid ""
-"We're doing a couple of things here - firstly we set the context path, which
"
-"gives us a nice url (<ulink
url=\"http://localhost:8080/webbeans-translator"
-"\">http://localhost:8080/webbeans-translator</ulink>) and we also
enable "
-"class loader isolation for JBoss AS."
+"Here we set the context path, which gives us a nice url (<ulink
url=\"http://"
+"localhost:8080/webbeans-translator\">http://localhost:8080/webbeans-"
+"translator</ulink>)."
msgstr ""
#. Tag: para
-#: ri.xml:380
+#: ri.xml:366
#, no-c-format
msgid ""
"If you aren't using Maven to generate these files, you would need "
-"<literal>META-INF/jboss-app.xml</literal>:"
+"<literal>META-INF/application.xml</literal>:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:385
+#: ri.xml:371
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<!DOCTYPE jboss-app\n"
-" PUBLIC \"-//JBoss//DTD J2EE Application 4.2//EN\"\n"
-" \"http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd\">\n"
-"<jboss-app>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</loader-"
-"repository>\n"
-"</jboss-app>]]>"
-msgstr ""
-
-#. Tag: para
-#: ri.xml:387
-#, no-c-format
-msgid "and <literal>META-INF/application.xml</literal>:"
-msgstr ""
-
-#. Tag: programlisting
-#: ri.xml:391
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
"<application
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://"
@@ -784,17 +749,16 @@
msgstr ""
#. Tag: para
-#: ri.xml:394
+#: ri.xml:374
#, no-c-format
msgid ""
"Next, lets look at the war. Just as in the numberguess example, we have a "
"<literal>faces-config.xml</literal> (to enabled Facelets) and a
<literal>web."
-"xml</literal> (to enable JSF and attach Web Beans services to the servlet
"
-"container) in <literal>WebContent/WEB-INF</literal>."
+"xml</literal> (to enable JSF) in
<literal>WebContent/WEB-INF</literal>."
msgstr ""
#. Tag: para
-#: ri.xml:401
+#: ri.xml:381
#, no-c-format
msgid ""
"More intersting is the facelet used to translate text. Just as in the "
@@ -803,7 +767,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:407
+#: ri.xml:387
#, no-c-format
msgid ""
"<![CDATA[<h:form id=\"NumberGuessMain\">\n"
@@ -836,7 +800,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:409
+#: ri.xml:389
#, no-c-format
msgid ""
"The user can enter some text in the lefthand textarea, and hit the translate
"
@@ -844,49 +808,17 @@
msgstr ""
#. Tag: para
-#: ri.xml:414
+#: ri.xml:394
#, no-c-format
msgid ""
"Finally, let's look at the ejb module,
<literal>webbeans-translator-ejb</"
-"literal>. There are two configuration files in
<literal>src/main/resources/"
-"META-INF</literal>, an empty <literal>web-beans.xml</literal>,
used to mark "
-"the archive as containing Web Beans, and
<literal>ejb-jar.xml</literal>. Web "
-"Beans provides injection and initializtion services for all EJBs, and uses "
-"<literal>ejb-jar.xml</literal> to enable this, you'll need this in
any EJB "
-"project which uses Web Beans:"
+"literal>. In <literal>src/main/resources/META-INF</literal> there is
just an "
+"empty <literal>web-beans.xml</literal>, used to mark the archive as
"
+"containing Web Beans."
msgstr ""
-#. Tag: programlisting
-#: ri.xml:426
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<ejb-jar
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
-"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
\n"
-"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://java."
-"sun.com/xml/ns/javaee/ejb-jar_3_0.xsd\"\n"
-" version=\"3.0\">\n"
-" \n"
-" <interceptors>\n"
-" <interceptor>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor>\n"
-" </interceptors>\n"
-" \n"
-" <assembly-descriptor>\n"
-" <interceptor-binding>\n"
-" <ejb-name>*</ejb-name>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor-binding>\n"
-" </assembly-descriptor>\n"
-" \n"
-"</ejb-jar>]]>"
-msgstr ""
-
#. Tag: para
-#: ri.xml:428
+#: ri.xml:402
#, no-c-format
msgid ""
"We've saved the most interesting bit to last, the code! The project has two
"
@@ -898,7 +830,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:438
+#: ri.xml:412
#, no-c-format
msgid ""
"Both <literal>SentanceParser</literal> and
<literal>TextTranslator</literal> "
@@ -907,7 +839,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:444
+#: ri.xml:418
#, no-c-format
msgid ""
"<![CDATA[public class TextTranslator { \n"
@@ -923,7 +855,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:446
+#: ri.xml:420
#, no-c-format
msgid ""
"<literal>TextTranslator</literal> is a stateless bean (with a local
business "
@@ -932,7 +864,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:452
+#: ri.xml:426
#, no-c-format
msgid ""
"Finally, there is UI orientated controller, that collects the text from the "
@@ -941,7 +873,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:458
+#: ri.xml:432
#, no-c-format
msgid ""
"<![CDATA[@Stateful\n"
@@ -954,19 +886,19 @@
msgstr ""
#. Tag: para
-#: ri.xml:460
+#: ri.xml:434
#, no-c-format
msgid "The bean also has getters and setters for all the fields on the page."
msgstr ""
#. Tag: para
-#: ri.xml:464
+#: ri.xml:438
#, no-c-format
msgid "As this is a stateful session bean, we have to have a remove method:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:468
+#: ri.xml:442
#, no-c-format
msgid ""
"<![CDATA[ @Remove\n"
@@ -977,7 +909,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:470
+#: ri.xml:444
#, no-c-format
msgid ""
"The Web Beans manager will call the remove method for you when the bean is "
@@ -985,7 +917,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:476
+#: ri.xml:450
#, no-c-format
msgid ""
"That concludes our short tour of the Web Beans RI examples. For more on the "
@@ -995,7 +927,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:482
+#: ri.xml:456
#, no-c-format
msgid ""
"We need help in all areas - bug fixing, writing new features, writing "
Modified: doc/trunk/reference/fr-FR/ri-spi.po
===================================================================
--- doc/trunk/reference/fr-FR/ri-spi.po 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/fr-FR/ri-spi.po 2009-01-08 14:13:34 UTC (rev 829)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: master.xml \n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: 2008-12-20 22:07+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -367,21 +367,55 @@
#: ri-spi.xml:138
#, no-c-format
msgid ""
-"If you are integrating the Web Beans into an environment that supports "
-"deployment of applications, you must enable, automatically, or through user "
-"configuation, classloader isolation for each Web Beans application"
+"If you are integrating the Web Beans RI into an environment that supports "
+"deployment of multiple applications, you must enable, automatically, or "
+"through user configuation, classloader isolation for each Web Beans "
+"application."
msgstr ""
#. Tag: term
#: ri-spi.xml:147
#, no-c-format
-msgid "The <literal>webbeans-ri.jar</literal>"
+msgid "Servlet listener"
msgstr ""
#. Tag: para
#: ri-spi.xml:151
#, no-c-format
msgid ""
+"If you are integrating the Web Beans into a Servlet environment you must "
+"register <literal>org.jboss.webbeans.servlet.WebBeansListener</literal>
as a "
+"Servlet listener, either automatically, or through user configuration, for "
+"each Web Beans application which uses Servlet."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:162
+#, no-c-format
+msgid "Session Bean Interceptor"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:166
+#, no-c-format
+msgid ""
+"If you are integrating the Web Beans into an EJB environment you must "
+"register
<literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal> as "
+"a EJB interceptor for all EJBs in the application, either automatically, or "
+"through user configuration, for each Web Beans application which uses "
+"enterprise beans."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:177
+#, no-c-format
+msgid "The <literal>webbeans-ri.jar</literal>"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:181
+#, no-c-format
+msgid ""
"If you are integrating the Web Beans into an environment that supports "
"deployment of applications, you must insert the
<literal>webbeans-ri.jar</"
"literal> into the applications isolated classloader. It cannot be loaded "
Modified: doc/trunk/reference/fr-FR/ri.po
===================================================================
--- doc/trunk/reference/fr-FR/ri.po 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/fr-FR/ri.po 2009-01-08 14:13:34 UTC (rev 829)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: master.xml \n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-04 23:18+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: 2008-12-19 20:26+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -356,11 +356,6 @@
" <session-config>\n"
" <session-timeout>10</session-timeout>\n"
" </session-config>\n"
-" \n"
-" <listener>\n"
-"
<listener-class>org.jboss.webbeans.servlet.WebBeansListener</listener-"
-"class>\n"
-" </listener>\n"
"\n"
"</web-app>]]></programlisting> <calloutlist> <callout
arearefs=\"faces."
"servlet\"> <para> Enable and load the JSF servlet </para>
</callout> "
@@ -369,20 +364,16 @@
"<callout arearefs=\"faces.default.suffix\"> <para> Tell JSF
that we will be "
"giving our source files (facelets) an extension of
<literal>.jsf</literal> </"
"para> </callout> <callout arearefs=\"session.timeout\">
<para> Configure a "
-"session timeout of 10 minutes </para> </callout> <callout
arearefs="
-"\"webbeans.listener\"> <para> Configure the Web Beans listener,
so that Web "
-"Beans services can be used in the servlet request </para> </callout>
</"
-"calloutlist> </programlistingco> <note> <para> The only
configuration "
-"required by the Web Beans RI in <literal>web.xml</literal> is to add
the Web "
-"Beans listener. </para> <para> Whilst this demo is a JSF demo, you can
use "
-"the Web Beans RI with any Servlet based web framework; just configure the "
-"Web Beans listener. </para> </note> <para> Let's take a look
at the Facelet "
-"view: </para> <programlistingco> <areaspec> <area
id=\"template\" coords=\"8"
-"\"/> <area id=\"messages\" coords=\"12\"/>
<area id=\"instructions\" coords="
-"\"19\"/> <area id=\"guess\" coords=\"25\"/>
<area id=\"validator\" coords="
-"\"30\"/> <area id=\"submit\" coords=\"33\"/>
</areaspec> <programlisting><!"
-"[CDATA[<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0
Transitional//EN\" "
-"\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"
+"session timeout of 10 minutes </para> </callout> </calloutlist>
</"
+"programlistingco> <note> <para> Whilst this demo is a JSF demo, you
can use "
+"the Web Beans RI with any Servlet based web framework. </para> </note>
"
+"<para> Let's take a look at the Facelet view: </para>
<programlistingco> "
+"<areaspec> <area id=\"template\" coords=\"8\"/>
<area id=\"messages\" coords="
+"\"12\"/> <area id=\"instructions\"
coords=\"19\"/> <area id=\"guess\" coords="
+"\"25\"/> <area id=\"validator\"
coords=\"30\"/> <area id=\"submit\" coords="
+"\"33\"/> </areaspec>
<programlisting><![CDATA[<!DOCTYPE html PUBLIC \"-//"
+"W3C//DTD XHTML 1.0 Transitional//EN\"
\"http://www.w3.org/TR/xhtml1/DTD/"
+"xhtml1-transitional.dtd\">\n"
"<html
xmlns=\"http://www.w3.org/1999/xhtml\"\n"
"
xmlns:ui=\"http://java.sun.com/jsf/facelets\"\n"
"
xmlns:h=\"http://java.sun.com/jsf/html\"\n"
@@ -449,7 +440,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:298
+#: ri.xml:287
#, no-c-format
msgid ""
"The example exists of 4 classes, the first two of which are binding types. "
@@ -458,7 +449,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:304
+#: ri.xml:293
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -469,7 +460,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:306
+#: ri.xml:295
#, no-c-format
msgid ""
"There is also the <literal>@MaxNumber</literal> binding type, used for
"
@@ -477,7 +468,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:311
+#: ri.xml:300
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -489,7 +480,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:313
+#: ri.xml:302
#, no-c-format
msgid ""
"The <literal>Generator</literal> class is responsible for creating the
"
@@ -498,7 +489,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:319
+#: ri.xml:308
#, no-c-format
msgid ""
"<![CDATA[@ApplicationScoped\n"
@@ -527,7 +518,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:321
+#: ri.xml:310
#, no-c-format
msgid ""
"You'll notice that the <literal>Generator</literal> is application
scoped; "
@@ -535,7 +526,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:326
+#: ri.xml:315
#, no-c-format
msgid ""
"The final Web Bean in the application is the session scoped
<literal>Game</"
@@ -543,7 +534,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:331
+#: ri.xml:320
#, no-c-format
msgid ""
"You'll note that we've used the <literal>@Named</literal>
annotation, so "
@@ -554,7 +545,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:339
+#: ri.xml:328
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.webbeans.examples.numberguess;\n"
@@ -656,13 +647,13 @@
msgstr ""
#. Tag: title
-#: ri.xml:343
+#: ri.xml:332
#, no-c-format
msgid "The translator example"
msgstr ""
#. Tag: para
-#: ri.xml:345
+#: ri.xml:334
#, no-c-format
msgid ""
"The translator example will take any sentences you enter, and translate them
"
@@ -670,7 +661,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:350
+#: ri.xml:339
#, no-c-format
msgid ""
"The translator example is built as an ear, and contains EJBs and enterprise "
@@ -679,7 +670,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:357
+#: ri.xml:346
#, no-c-format
msgid ""
"EJB 3.1 and Jave EE 6 allow you to package EJBs in a war, which will make "
@@ -687,17 +678,16 @@
msgstr ""
#. Tag: para
-#: ri.xml:363
+#: ri.xml:352
#, no-c-format
msgid ""
"First, let's take a look at the ear aggregator, which is located in "
"<literal>webbeans-translator-ear</literal> module. Maven automatically
"
-"generates the <literal>application.xml</literal> and
<literal>jboss-app.xml</"
-"literal> for us:"
+"generates the <literal>application.xml</literal> for us:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:370
+#: ri.xml:358
#, no-c-format
msgid ""
"<![CDATA[<plugin>\n"
@@ -711,57 +701,32 @@
" <contextRoot>/webbeans-translator</contextRoot>\n"
" </webModule>\n"
" </modules>\n"
-" <jboss>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</"
-"loader-repository>\n"
-" </jboss>\n"
" </configuration>\n"
"</plugin>]]>"
msgstr ""
#. Tag: para
-#: ri.xml:372
+#: ri.xml:360
#, no-c-format
msgid ""
-"We're doing a couple of things here - firstly we set the context path, which
"
-"gives us a nice url (<ulink
url=\"http://localhost:8080/webbeans-translator"
-"\">http://localhost:8080/webbeans-translator</ulink>) and we also
enable "
-"class loader isolation for JBoss AS."
+"Here we set the context path, which gives us a nice url (<ulink
url=\"http://"
+"localhost:8080/webbeans-translator\">http://localhost:8080/webbeans-"
+"translator</ulink>)."
msgstr ""
#. Tag: para
-#: ri.xml:380
+#: ri.xml:366
#, no-c-format
msgid ""
"If you aren't using Maven to generate these files, you would need "
-"<literal>META-INF/jboss-app.xml</literal>:"
+"<literal>META-INF/application.xml</literal>:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:385
+#: ri.xml:371
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<!DOCTYPE jboss-app\n"
-" PUBLIC \"-//JBoss//DTD J2EE Application 4.2//EN\"\n"
-" \"http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd\">\n"
-"<jboss-app>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</loader-"
-"repository>\n"
-"</jboss-app>]]>"
-msgstr ""
-
-#. Tag: para
-#: ri.xml:387
-#, no-c-format
-msgid "and <literal>META-INF/application.xml</literal>:"
-msgstr ""
-
-#. Tag: programlisting
-#: ri.xml:391
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
"<application
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://"
@@ -784,17 +749,16 @@
msgstr ""
#. Tag: para
-#: ri.xml:394
+#: ri.xml:374
#, no-c-format
msgid ""
"Next, lets look at the war. Just as in the numberguess example, we have a "
"<literal>faces-config.xml</literal> (to enabled Facelets) and a
<literal>web."
-"xml</literal> (to enable JSF and attach Web Beans services to the servlet
"
-"container) in <literal>WebContent/WEB-INF</literal>."
+"xml</literal> (to enable JSF) in
<literal>WebContent/WEB-INF</literal>."
msgstr ""
#. Tag: para
-#: ri.xml:401
+#: ri.xml:381
#, no-c-format
msgid ""
"More intersting is the facelet used to translate text. Just as in the "
@@ -803,7 +767,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:407
+#: ri.xml:387
#, no-c-format
msgid ""
"<![CDATA[<h:form id=\"NumberGuessMain\">\n"
@@ -836,7 +800,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:409
+#: ri.xml:389
#, no-c-format
msgid ""
"The user can enter some text in the lefthand textarea, and hit the translate
"
@@ -844,49 +808,17 @@
msgstr ""
#. Tag: para
-#: ri.xml:414
+#: ri.xml:394
#, no-c-format
msgid ""
"Finally, let's look at the ejb module,
<literal>webbeans-translator-ejb</"
-"literal>. There are two configuration files in
<literal>src/main/resources/"
-"META-INF</literal>, an empty <literal>web-beans.xml</literal>,
used to mark "
-"the archive as containing Web Beans, and
<literal>ejb-jar.xml</literal>. Web "
-"Beans provides injection and initializtion services for all EJBs, and uses "
-"<literal>ejb-jar.xml</literal> to enable this, you'll need this in
any EJB "
-"project which uses Web Beans:"
+"literal>. In <literal>src/main/resources/META-INF</literal> there is
just an "
+"empty <literal>web-beans.xml</literal>, used to mark the archive as
"
+"containing Web Beans."
msgstr ""
-#. Tag: programlisting
-#: ri.xml:426
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<ejb-jar
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
-"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
\n"
-"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://java."
-"sun.com/xml/ns/javaee/ejb-jar_3_0.xsd\"\n"
-" version=\"3.0\">\n"
-" \n"
-" <interceptors>\n"
-" <interceptor>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor>\n"
-" </interceptors>\n"
-" \n"
-" <assembly-descriptor>\n"
-" <interceptor-binding>\n"
-" <ejb-name>*</ejb-name>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor-binding>\n"
-" </assembly-descriptor>\n"
-" \n"
-"</ejb-jar>]]>"
-msgstr ""
-
#. Tag: para
-#: ri.xml:428
+#: ri.xml:402
#, no-c-format
msgid ""
"We've saved the most interesting bit to last, the code! The project has two
"
@@ -898,7 +830,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:438
+#: ri.xml:412
#, no-c-format
msgid ""
"Both <literal>SentanceParser</literal> and
<literal>TextTranslator</literal> "
@@ -907,7 +839,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:444
+#: ri.xml:418
#, no-c-format
msgid ""
"<![CDATA[public class TextTranslator { \n"
@@ -923,7 +855,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:446
+#: ri.xml:420
#, no-c-format
msgid ""
"<literal>TextTranslator</literal> is a stateless bean (with a local
business "
@@ -932,7 +864,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:452
+#: ri.xml:426
#, no-c-format
msgid ""
"Finally, there is UI orientated controller, that collects the text from the "
@@ -941,7 +873,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:458
+#: ri.xml:432
#, no-c-format
msgid ""
"<![CDATA[@Stateful\n"
@@ -954,19 +886,19 @@
msgstr ""
#. Tag: para
-#: ri.xml:460
+#: ri.xml:434
#, no-c-format
msgid "The bean also has getters and setters for all the fields on the page."
msgstr ""
#. Tag: para
-#: ri.xml:464
+#: ri.xml:438
#, no-c-format
msgid "As this is a stateful session bean, we have to have a remove method:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:468
+#: ri.xml:442
#, no-c-format
msgid ""
"<![CDATA[ @Remove\n"
@@ -977,7 +909,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:470
+#: ri.xml:444
#, no-c-format
msgid ""
"The Web Beans manager will call the remove method for you when the bean is "
@@ -985,7 +917,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:476
+#: ri.xml:450
#, no-c-format
msgid ""
"That concludes our short tour of the Web Beans RI examples. For more on the "
@@ -995,7 +927,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:482
+#: ri.xml:456
#, no-c-format
msgid ""
"We need help in all areas - bug fixing, writing new features, writing "
Modified: doc/trunk/reference/ja-JP/ri-spi.po
===================================================================
--- doc/trunk/reference/ja-JP/ri-spi.po 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/ja-JP/ri-spi.po 2009-01-08 14:13:34 UTC (rev 829)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: master.xml \n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: 2008-12-20 22:07+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -367,21 +367,55 @@
#: ri-spi.xml:138
#, no-c-format
msgid ""
-"If you are integrating the Web Beans into an environment that supports "
-"deployment of applications, you must enable, automatically, or through user "
-"configuation, classloader isolation for each Web Beans application"
+"If you are integrating the Web Beans RI into an environment that supports "
+"deployment of multiple applications, you must enable, automatically, or "
+"through user configuation, classloader isolation for each Web Beans "
+"application."
msgstr ""
#. Tag: term
#: ri-spi.xml:147
#, no-c-format
-msgid "The <literal>webbeans-ri.jar</literal>"
+msgid "Servlet listener"
msgstr ""
#. Tag: para
#: ri-spi.xml:151
#, no-c-format
msgid ""
+"If you are integrating the Web Beans into a Servlet environment you must "
+"register <literal>org.jboss.webbeans.servlet.WebBeansListener</literal>
as a "
+"Servlet listener, either automatically, or through user configuration, for "
+"each Web Beans application which uses Servlet."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:162
+#, no-c-format
+msgid "Session Bean Interceptor"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:166
+#, no-c-format
+msgid ""
+"If you are integrating the Web Beans into an EJB environment you must "
+"register
<literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal> as "
+"a EJB interceptor for all EJBs in the application, either automatically, or "
+"through user configuration, for each Web Beans application which uses "
+"enterprise beans."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:177
+#, no-c-format
+msgid "The <literal>webbeans-ri.jar</literal>"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:181
+#, no-c-format
+msgid ""
"If you are integrating the Web Beans into an environment that supports "
"deployment of applications, you must insert the
<literal>webbeans-ri.jar</"
"literal> into the applications isolated classloader. It cannot be loaded "
Modified: doc/trunk/reference/ja-JP/ri.po
===================================================================
--- doc/trunk/reference/ja-JP/ri.po 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/ja-JP/ri.po 2009-01-08 14:13:34 UTC (rev 829)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: master.xml \n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-04 23:18+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: 2008-12-19 20:26+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -356,11 +356,6 @@
" <session-config>\n"
" <session-timeout>10</session-timeout>\n"
" </session-config>\n"
-" \n"
-" <listener>\n"
-"
<listener-class>org.jboss.webbeans.servlet.WebBeansListener</listener-"
-"class>\n"
-" </listener>\n"
"\n"
"</web-app>]]></programlisting> <calloutlist> <callout
arearefs=\"faces."
"servlet\"> <para> Enable and load the JSF servlet </para>
</callout> "
@@ -369,20 +364,16 @@
"<callout arearefs=\"faces.default.suffix\"> <para> Tell JSF
that we will be "
"giving our source files (facelets) an extension of
<literal>.jsf</literal> </"
"para> </callout> <callout arearefs=\"session.timeout\">
<para> Configure a "
-"session timeout of 10 minutes </para> </callout> <callout
arearefs="
-"\"webbeans.listener\"> <para> Configure the Web Beans listener,
so that Web "
-"Beans services can be used in the servlet request </para> </callout>
</"
-"calloutlist> </programlistingco> <note> <para> The only
configuration "
-"required by the Web Beans RI in <literal>web.xml</literal> is to add
the Web "
-"Beans listener. </para> <para> Whilst this demo is a JSF demo, you can
use "
-"the Web Beans RI with any Servlet based web framework; just configure the "
-"Web Beans listener. </para> </note> <para> Let's take a look
at the Facelet "
-"view: </para> <programlistingco> <areaspec> <area
id=\"template\" coords=\"8"
-"\"/> <area id=\"messages\" coords=\"12\"/>
<area id=\"instructions\" coords="
-"\"19\"/> <area id=\"guess\" coords=\"25\"/>
<area id=\"validator\" coords="
-"\"30\"/> <area id=\"submit\" coords=\"33\"/>
</areaspec> <programlisting><!"
-"[CDATA[<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0
Transitional//EN\" "
-"\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"
+"session timeout of 10 minutes </para> </callout> </calloutlist>
</"
+"programlistingco> <note> <para> Whilst this demo is a JSF demo, you
can use "
+"the Web Beans RI with any Servlet based web framework. </para> </note>
"
+"<para> Let's take a look at the Facelet view: </para>
<programlistingco> "
+"<areaspec> <area id=\"template\" coords=\"8\"/>
<area id=\"messages\" coords="
+"\"12\"/> <area id=\"instructions\"
coords=\"19\"/> <area id=\"guess\" coords="
+"\"25\"/> <area id=\"validator\"
coords=\"30\"/> <area id=\"submit\" coords="
+"\"33\"/> </areaspec>
<programlisting><![CDATA[<!DOCTYPE html PUBLIC \"-//"
+"W3C//DTD XHTML 1.0 Transitional//EN\"
\"http://www.w3.org/TR/xhtml1/DTD/"
+"xhtml1-transitional.dtd\">\n"
"<html
xmlns=\"http://www.w3.org/1999/xhtml\"\n"
"
xmlns:ui=\"http://java.sun.com/jsf/facelets\"\n"
"
xmlns:h=\"http://java.sun.com/jsf/html\"\n"
@@ -449,7 +440,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:298
+#: ri.xml:287
#, no-c-format
msgid ""
"The example exists of 4 classes, the first two of which are binding types. "
@@ -458,7 +449,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:304
+#: ri.xml:293
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -469,7 +460,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:306
+#: ri.xml:295
#, no-c-format
msgid ""
"There is also the <literal>@MaxNumber</literal> binding type, used for
"
@@ -477,7 +468,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:311
+#: ri.xml:300
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -489,7 +480,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:313
+#: ri.xml:302
#, no-c-format
msgid ""
"The <literal>Generator</literal> class is responsible for creating the
"
@@ -498,7 +489,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:319
+#: ri.xml:308
#, no-c-format
msgid ""
"<![CDATA[@ApplicationScoped\n"
@@ -527,7 +518,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:321
+#: ri.xml:310
#, no-c-format
msgid ""
"You'll notice that the <literal>Generator</literal> is application
scoped; "
@@ -535,7 +526,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:326
+#: ri.xml:315
#, no-c-format
msgid ""
"The final Web Bean in the application is the session scoped
<literal>Game</"
@@ -543,7 +534,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:331
+#: ri.xml:320
#, no-c-format
msgid ""
"You'll note that we've used the <literal>@Named</literal>
annotation, so "
@@ -554,7 +545,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:339
+#: ri.xml:328
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.webbeans.examples.numberguess;\n"
@@ -656,13 +647,13 @@
msgstr ""
#. Tag: title
-#: ri.xml:343
+#: ri.xml:332
#, no-c-format
msgid "The translator example"
msgstr ""
#. Tag: para
-#: ri.xml:345
+#: ri.xml:334
#, no-c-format
msgid ""
"The translator example will take any sentences you enter, and translate them
"
@@ -670,7 +661,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:350
+#: ri.xml:339
#, no-c-format
msgid ""
"The translator example is built as an ear, and contains EJBs and enterprise "
@@ -679,7 +670,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:357
+#: ri.xml:346
#, no-c-format
msgid ""
"EJB 3.1 and Jave EE 6 allow you to package EJBs in a war, which will make "
@@ -687,17 +678,16 @@
msgstr ""
#. Tag: para
-#: ri.xml:363
+#: ri.xml:352
#, no-c-format
msgid ""
"First, let's take a look at the ear aggregator, which is located in "
"<literal>webbeans-translator-ear</literal> module. Maven automatically
"
-"generates the <literal>application.xml</literal> and
<literal>jboss-app.xml</"
-"literal> for us:"
+"generates the <literal>application.xml</literal> for us:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:370
+#: ri.xml:358
#, no-c-format
msgid ""
"<![CDATA[<plugin>\n"
@@ -711,57 +701,32 @@
" <contextRoot>/webbeans-translator</contextRoot>\n"
" </webModule>\n"
" </modules>\n"
-" <jboss>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</"
-"loader-repository>\n"
-" </jboss>\n"
" </configuration>\n"
"</plugin>]]>"
msgstr ""
#. Tag: para
-#: ri.xml:372
+#: ri.xml:360
#, no-c-format
msgid ""
-"We're doing a couple of things here - firstly we set the context path, which
"
-"gives us a nice url (<ulink
url=\"http://localhost:8080/webbeans-translator"
-"\">http://localhost:8080/webbeans-translator</ulink>) and we also
enable "
-"class loader isolation for JBoss AS."
+"Here we set the context path, which gives us a nice url (<ulink
url=\"http://"
+"localhost:8080/webbeans-translator\">http://localhost:8080/webbeans-"
+"translator</ulink>)."
msgstr ""
#. Tag: para
-#: ri.xml:380
+#: ri.xml:366
#, no-c-format
msgid ""
"If you aren't using Maven to generate these files, you would need "
-"<literal>META-INF/jboss-app.xml</literal>:"
+"<literal>META-INF/application.xml</literal>:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:385
+#: ri.xml:371
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<!DOCTYPE jboss-app\n"
-" PUBLIC \"-//JBoss//DTD J2EE Application 4.2//EN\"\n"
-" \"http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd\">\n"
-"<jboss-app>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</loader-"
-"repository>\n"
-"</jboss-app>]]>"
-msgstr ""
-
-#. Tag: para
-#: ri.xml:387
-#, no-c-format
-msgid "and <literal>META-INF/application.xml</literal>:"
-msgstr ""
-
-#. Tag: programlisting
-#: ri.xml:391
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
"<application
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://"
@@ -784,17 +749,16 @@
msgstr ""
#. Tag: para
-#: ri.xml:394
+#: ri.xml:374
#, no-c-format
msgid ""
"Next, lets look at the war. Just as in the numberguess example, we have a "
"<literal>faces-config.xml</literal> (to enabled Facelets) and a
<literal>web."
-"xml</literal> (to enable JSF and attach Web Beans services to the servlet
"
-"container) in <literal>WebContent/WEB-INF</literal>."
+"xml</literal> (to enable JSF) in
<literal>WebContent/WEB-INF</literal>."
msgstr ""
#. Tag: para
-#: ri.xml:401
+#: ri.xml:381
#, no-c-format
msgid ""
"More intersting is the facelet used to translate text. Just as in the "
@@ -803,7 +767,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:407
+#: ri.xml:387
#, no-c-format
msgid ""
"<![CDATA[<h:form id=\"NumberGuessMain\">\n"
@@ -836,7 +800,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:409
+#: ri.xml:389
#, no-c-format
msgid ""
"The user can enter some text in the lefthand textarea, and hit the translate
"
@@ -844,49 +808,17 @@
msgstr ""
#. Tag: para
-#: ri.xml:414
+#: ri.xml:394
#, no-c-format
msgid ""
"Finally, let's look at the ejb module,
<literal>webbeans-translator-ejb</"
-"literal>. There are two configuration files in
<literal>src/main/resources/"
-"META-INF</literal>, an empty <literal>web-beans.xml</literal>,
used to mark "
-"the archive as containing Web Beans, and
<literal>ejb-jar.xml</literal>. Web "
-"Beans provides injection and initializtion services for all EJBs, and uses "
-"<literal>ejb-jar.xml</literal> to enable this, you'll need this in
any EJB "
-"project which uses Web Beans:"
+"literal>. In <literal>src/main/resources/META-INF</literal> there is
just an "
+"empty <literal>web-beans.xml</literal>, used to mark the archive as
"
+"containing Web Beans."
msgstr ""
-#. Tag: programlisting
-#: ri.xml:426
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<ejb-jar
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
-"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
\n"
-"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://java."
-"sun.com/xml/ns/javaee/ejb-jar_3_0.xsd\"\n"
-" version=\"3.0\">\n"
-" \n"
-" <interceptors>\n"
-" <interceptor>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor>\n"
-" </interceptors>\n"
-" \n"
-" <assembly-descriptor>\n"
-" <interceptor-binding>\n"
-" <ejb-name>*</ejb-name>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor-binding>\n"
-" </assembly-descriptor>\n"
-" \n"
-"</ejb-jar>]]>"
-msgstr ""
-
#. Tag: para
-#: ri.xml:428
+#: ri.xml:402
#, no-c-format
msgid ""
"We've saved the most interesting bit to last, the code! The project has two
"
@@ -898,7 +830,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:438
+#: ri.xml:412
#, no-c-format
msgid ""
"Both <literal>SentanceParser</literal> and
<literal>TextTranslator</literal> "
@@ -907,7 +839,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:444
+#: ri.xml:418
#, no-c-format
msgid ""
"<![CDATA[public class TextTranslator { \n"
@@ -923,7 +855,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:446
+#: ri.xml:420
#, no-c-format
msgid ""
"<literal>TextTranslator</literal> is a stateless bean (with a local
business "
@@ -932,7 +864,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:452
+#: ri.xml:426
#, no-c-format
msgid ""
"Finally, there is UI orientated controller, that collects the text from the "
@@ -941,7 +873,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:458
+#: ri.xml:432
#, no-c-format
msgid ""
"<![CDATA[@Stateful\n"
@@ -954,19 +886,19 @@
msgstr ""
#. Tag: para
-#: ri.xml:460
+#: ri.xml:434
#, no-c-format
msgid "The bean also has getters and setters for all the fields on the page."
msgstr ""
#. Tag: para
-#: ri.xml:464
+#: ri.xml:438
#, no-c-format
msgid "As this is a stateful session bean, we have to have a remove method:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:468
+#: ri.xml:442
#, no-c-format
msgid ""
"<![CDATA[ @Remove\n"
@@ -977,7 +909,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:470
+#: ri.xml:444
#, no-c-format
msgid ""
"The Web Beans manager will call the remove method for you when the bean is "
@@ -985,7 +917,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:476
+#: ri.xml:450
#, no-c-format
msgid ""
"That concludes our short tour of the Web Beans RI examples. For more on the "
@@ -995,7 +927,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:482
+#: ri.xml:456
#, no-c-format
msgid ""
"We need help in all areas - bug fixing, writing new features, writing "
Modified: doc/trunk/reference/ko-KR/ri-spi.po
===================================================================
--- doc/trunk/reference/ko-KR/ri-spi.po 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/ko-KR/ri-spi.po 2009-01-08 14:13:34 UTC (rev 829)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: ri-spi\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: 2009-01-08 11:10+1000\n"
"Last-Translator: Eunju Kim <eukim(a)redhat.com>\n"
"Language-Team: Korean <ko(a)li.org>\n"
@@ -15,7 +15,8 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
-"Plural-Forms: nplurals=2; plural=(n!=1);\n\n"
+"Plural-Forms: nplurals=2; plural=(n!=1);\n"
+"\n"
#. Tag: title
#: ri-spi.xml:4
@@ -496,7 +497,8 @@
#: ri-spi.xml:117
#, no-c-format
msgid
"org.jboss.webbeans.resources.spi.ResourceLoader=com.acme.ResourceLoader"
-msgstr
"org.jboss.webbeans.resources.spi.ResourceLoader=com.acme.ResourceLoader"
+msgstr ""
+"org.jboss.webbeans.resources.spi.ResourceLoader=com.acme.ResourceLoader"
#. Tag: title
#: ri-spi.xml:124
@@ -522,24 +524,57 @@
#: ri-spi.xml:138
#, no-c-format
msgid ""
-"If you are integrating the Web Beans into an environment that supports "
-"deployment of applications, you must enable, automatically, or through user "
-"configuation, classloader isolation for each Web Beans application"
+"If you are integrating the Web Beans RI into an environment that supports "
+"deployment of multiple applications, you must enable, automatically, or "
+"through user configuation, classloader isolation for each Web Beans "
+"application."
msgstr ""
#. Tag: term
#: ri-spi.xml:147
#, no-c-format
-msgid "The <literal>webbeans-ri.jar</literal>"
+msgid "Servlet listener"
msgstr ""
#. Tag: para
#: ri-spi.xml:151
#, no-c-format
msgid ""
+"If you are integrating the Web Beans into a Servlet environment you must "
+"register <literal>org.jboss.webbeans.servlet.WebBeansListener</literal>
as a "
+"Servlet listener, either automatically, or through user configuration, for "
+"each Web Beans application which uses Servlet."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:162
+#, no-c-format
+msgid "Session Bean Interceptor"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:166
+#, no-c-format
+msgid ""
+"If you are integrating the Web Beans into an EJB environment you must "
+"register
<literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal> as "
+"a EJB interceptor for all EJBs in the application, either automatically, or "
+"through user configuration, for each Web Beans application which uses "
+"enterprise beans."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:177
+#, no-c-format
+msgid "The <literal>webbeans-ri.jar</literal>"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:181
+#, no-c-format
+msgid ""
"If you are integrating the Web Beans into an environment that supports "
"deployment of applications, you must insert the
<literal>webbeans-ri.jar</"
"literal> into the applications isolated classloader. It cannot be loaded "
"from a shared classloader."
msgstr ""
-
Modified: doc/trunk/reference/ko-KR/ri.po
===================================================================
--- doc/trunk/reference/ko-KR/ri.po 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/ko-KR/ri.po 2009-01-08 14:13:34 UTC (rev 829)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: ri\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: 2009-01-08 11:09+1000\n"
"Last-Translator: Eunju Kim <eukim(a)redhat.com>\n"
"Language-Team: Korean <ko(a)li.org>\n"
@@ -15,7 +15,8 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
-"Plural-Forms: nplurals=2; plural=(n!=1);\n\n"
+"Plural-Forms: nplurals=2; plural=(n!=1);\n"
+"\n"
#. Tag: title
#: ri.xml:4
@@ -178,7 +179,8 @@
#. Tag: para
#: ri.xml:93
#, no-c-format
-msgid "The build scripts for the examples offer a number of targets, these
are:"
+msgid ""
+"The build scripts for the examples offer a number of targets, these are:"
msgstr ""
#. Tag: para
@@ -198,7 +200,8 @@
#. Tag: para
#: ri.xml:111
#, no-c-format
-msgid "<literal>ant deploy</literal> - deploy the example in compressed
jar format"
+msgid ""
+"<literal>ant deploy</literal> - deploy the example in compressed jar
format"
msgstr ""
#. Tag: para
@@ -382,11 +385,6 @@
" <session-config>\n"
" <session-timeout>10</session-timeout>\n"
" </session-config>\n"
-" \n"
-" <listener>\n"
-"
<listener-class>org.jboss.webbeans.servlet.WebBeansListener</listener-"
-"class>\n"
-" </listener>\n"
"\n"
"</web-app>]]></programlisting> <calloutlist> <callout
arearefs=\"faces."
"servlet\"> <para> Enable and load the JSF servlet </para>
</callout> "
@@ -395,20 +393,16 @@
"<callout arearefs=\"faces.default.suffix\"> <para> Tell JSF
that we will be "
"giving our source files (facelets) an extension of
<literal>.jsf</literal> </"
"para> </callout> <callout arearefs=\"session.timeout\">
<para> Configure a "
-"session timeout of 10 minutes </para> </callout> <callout
arearefs="
-"\"webbeans.listener\"> <para> Configure the Web Beans listener,
so that Web "
-"Beans services can be used in the servlet request </para> </callout>
</"
-"calloutlist> </programlistingco> <note> <para> The only
configuration "
-"required by the Web Beans RI in <literal>web.xml</literal> is to add
the Web "
-"Beans listener. </para> <para> Whilst this demo is a JSF demo, you can
use "
-"the Web Beans RI with any Servlet based web framework; just configure the "
-"Web Beans listener. </para> </note> <para> Let's take a look
at the Facelet "
-"view: </para> <programlistingco> <areaspec> <area
id=\"template\" coords=\"8"
-"\"/> <area id=\"messages\" coords=\"12\"/>
<area id=\"instructions\" coords="
-"\"19\"/> <area id=\"guess\" coords=\"25\"/>
<area id=\"validator\" coords="
-"\"30\"/> <area id=\"submit\" coords=\"33\"/>
</areaspec> <programlisting><!"
-"[CDATA[<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0
Transitional//EN\" "
-"\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"
+"session timeout of 10 minutes </para> </callout> </calloutlist>
</"
+"programlistingco> <note> <para> Whilst this demo is a JSF demo, you
can use "
+"the Web Beans RI with any Servlet based web framework. </para> </note>
"
+"<para> Let's take a look at the Facelet view: </para>
<programlistingco> "
+"<areaspec> <area id=\"template\" coords=\"8\"/>
<area id=\"messages\" coords="
+"\"12\"/> <area id=\"instructions\"
coords=\"19\"/> <area id=\"guess\" coords="
+"\"25\"/> <area id=\"validator\"
coords=\"30\"/> <area id=\"submit\" coords="
+"\"33\"/> </areaspec>
<programlisting><![CDATA[<!DOCTYPE html PUBLIC \"-//"
+"W3C//DTD XHTML 1.0 Transitional//EN\"
\"http://www.w3.org/TR/xhtml1/DTD/"
+"xhtml1-transitional.dtd\">\n"
"<html
xmlns=\"http://www.w3.org/1999/xhtml\"\n"
"
xmlns:ui=\"http://java.sun.com/jsf/facelets\"\n"
"
xmlns:h=\"http://java.sun.com/jsf/html\"\n"
@@ -475,7 +469,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:298
+#: ri.xml:287
#, no-c-format
msgid ""
"The example exists of 4 classes, the first two of which are binding types. "
@@ -484,7 +478,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:304
+#: ri.xml:293
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -500,7 +494,7 @@
"public @interface Random {}]]>"
#. Tag: para
-#: ri.xml:306
+#: ri.xml:295
#, no-c-format
msgid ""
"There is also the <literal>@MaxNumber</literal> binding type, used for
"
@@ -508,7 +502,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:311
+#: ri.xml:300
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -526,7 +520,7 @@
"]]>"
#. Tag: para
-#: ri.xml:313
+#: ri.xml:302
#, no-c-format
msgid ""
"The <literal>Generator</literal> class is responsible for creating the
"
@@ -535,7 +529,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:319
+#: ri.xml:308
#, no-c-format
msgid ""
"<![CDATA[@ApplicationScoped\n"
@@ -587,7 +581,7 @@
"}]]>"
#. Tag: para
-#: ri.xml:321
+#: ri.xml:310
#, no-c-format
msgid ""
"You'll notice that the <literal>Generator</literal> is application
scoped; "
@@ -595,7 +589,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:326
+#: ri.xml:315
#, no-c-format
msgid ""
"The final Web Bean in the application is the session scoped
<literal>Game</"
@@ -603,7 +597,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:331
+#: ri.xml:320
#, no-c-format
msgid ""
"You'll note that we've used the <literal>@Named</literal>
annotation, so "
@@ -614,7 +608,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:339
+#: ri.xml:328
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.webbeans.examples.numberguess;\n"
@@ -812,13 +806,13 @@
"}]]>"
#. Tag: title
-#: ri.xml:343
+#: ri.xml:332
#, no-c-format
msgid "The translator example"
msgstr ""
#. Tag: para
-#: ri.xml:345
+#: ri.xml:334
#, no-c-format
msgid ""
"The translator example will take any sentences you enter, and translate them
"
@@ -826,7 +820,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:350
+#: ri.xml:339
#, no-c-format
msgid ""
"The translator example is built as an ear, and contains EJBs and enterprise "
@@ -835,7 +829,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:357
+#: ri.xml:346
#, no-c-format
msgid ""
"EJB 3.1 and Jave EE 6 allow you to package EJBs in a war, which will make "
@@ -843,18 +837,17 @@
msgstr ""
#. Tag: para
-#: ri.xml:363
+#: ri.xml:352
#, no-c-format
msgid ""
"First, let's take a look at the ear aggregator, which is located in "
"<literal>webbeans-translator-ear</literal> module. Maven automatically
"
-"generates the <literal>application.xml</literal> and
<literal>jboss-app.xml</"
-"literal> for us:"
+"generates the <literal>application.xml</literal> for us:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:370
-#, no-c-format
+#: ri.xml:358
+#, fuzzy, no-c-format
msgid ""
"<![CDATA[<plugin>\n"
" <groupId>org.apache.maven.plugins</groupId>\n"
@@ -867,10 +860,6 @@
" <contextRoot>/webbeans-translator</contextRoot>\n"
" </webModule>\n"
" </modules>\n"
-" <jboss>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</"
-"loader-repository>\n"
-" </jboss>\n"
" </configuration>\n"
"</plugin>]]>"
msgstr ""
@@ -893,56 +882,27 @@
"</plugin>]]>"
#. Tag: para
-#: ri.xml:372
+#: ri.xml:360
#, no-c-format
msgid ""
-"We're doing a couple of things here - firstly we set the context path, which
"
-"gives us a nice url (<ulink
url=\"http://localhost:8080/webbeans-translator"
-"\">http://localhost:8080/webbeans-translator</ulink>) and we also
enable "
-"class loader isolation for JBoss AS."
+"Here we set the context path, which gives us a nice url (<ulink
url=\"http://"
+"localhost:8080/webbeans-translator\">http://localhost:8080/webbeans-"
+"translator</ulink>)."
msgstr ""
#. Tag: para
-#: ri.xml:380
+#: ri.xml:366
#, no-c-format
msgid ""
"If you aren't using Maven to generate these files, you would need "
-"<literal>META-INF/jboss-app.xml</literal>:"
+"<literal>META-INF/application.xml</literal>:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:385
+#: ri.xml:371
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<!DOCTYPE jboss-app\n"
-" PUBLIC \"-//JBoss//DTD J2EE Application 4.2//EN\"\n"
-" \"http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd\">\n"
-"<jboss-app>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</loader-"
-"repository>\n"
-"</jboss-app>]]>"
-msgstr ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<!DOCTYPE jboss-app\n"
-" PUBLIC \"-//JBoss//DTD J2EE Application 4.2//EN\"\n"
-" \"http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd\">\n"
-"<jboss-app>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</loader-"
-"repository>\n"
-"</jboss-app>]]>"
-
-#. Tag: para
-#: ri.xml:387
-#, no-c-format
-msgid "and <literal>META-INF/application.xml</literal>:"
-msgstr ""
-
-#. Tag: programlisting
-#: ri.xml:391
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
"<application
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://"
@@ -985,17 +945,16 @@
"</application>]]>"
#. Tag: para
-#: ri.xml:394
+#: ri.xml:374
#, no-c-format
msgid ""
"Next, lets look at the war. Just as in the numberguess example, we have a "
"<literal>faces-config.xml</literal> (to enabled Facelets) and a
<literal>web."
-"xml</literal> (to enable JSF and attach Web Beans services to the servlet
"
-"container) in <literal>WebContent/WEB-INF</literal>."
+"xml</literal> (to enable JSF) in
<literal>WebContent/WEB-INF</literal>."
msgstr ""
#. Tag: para
-#: ri.xml:401
+#: ri.xml:381
#, no-c-format
msgid ""
"More intersting is the facelet used to translate text. Just as in the "
@@ -1004,7 +963,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:407
+#: ri.xml:387
#, no-c-format
msgid ""
"<![CDATA[<h:form id=\"NumberGuessMain\">\n"
@@ -1064,7 +1023,7 @@
"</h:form>]]>"
#. Tag: para
-#: ri.xml:409
+#: ri.xml:389
#, no-c-format
msgid ""
"The user can enter some text in the lefthand textarea, and hit the translate
"
@@ -1072,72 +1031,17 @@
msgstr ""
#. Tag: para
-#: ri.xml:414
+#: ri.xml:394
#, no-c-format
msgid ""
"Finally, let's look at the ejb module,
<literal>webbeans-translator-ejb</"
-"literal>. There are two configuration files in
<literal>src/main/resources/"
-"META-INF</literal>, an empty <literal>web-beans.xml</literal>,
used to mark "
-"the archive as containing Web Beans, and
<literal>ejb-jar.xml</literal>. Web "
-"Beans provides injection and initializtion services for all EJBs, and uses "
-"<literal>ejb-jar.xml</literal> to enable this, you'll need this in
any EJB "
-"project which uses Web Beans:"
+"literal>. In <literal>src/main/resources/META-INF</literal> there is
just an "
+"empty <literal>web-beans.xml</literal>, used to mark the archive as
"
+"containing Web Beans."
msgstr ""
-#. Tag: programlisting
-#: ri.xml:426
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<ejb-jar
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
-"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
\n"
-"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://java."
-"sun.com/xml/ns/javaee/ejb-jar_3_0.xsd\"\n"
-" version=\"3.0\">\n"
-" \n"
-" <interceptors>\n"
-" <interceptor>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor>\n"
-" </interceptors>\n"
-" \n"
-" <assembly-descriptor>\n"
-" <interceptor-binding>\n"
-" <ejb-name>*</ejb-name>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor-binding>\n"
-" </assembly-descriptor>\n"
-" \n"
-"</ejb-jar>]]>"
-msgstr ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<ejb-jar
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
-"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
\n"
-"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://java."
-"sun.com/xml/ns/javaee/ejb-jar_3_0.xsd\"\n"
-" version=\"3.0\">\n"
-" \n"
-" <interceptors>\n"
-" <interceptor>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor>\n"
-" </interceptors>\n"
-" \n"
-" <assembly-descriptor>\n"
-" <interceptor-binding>\n"
-" <ejb-name>*</ejb-name>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor-binding>\n"
-" </assembly-descriptor>\n"
-" \n"
-"</ejb-jar>]]>"
-
#. Tag: para
-#: ri.xml:428
+#: ri.xml:402
#, no-c-format
msgid ""
"We've saved the most interesting bit to last, the code! The project has two
"
@@ -1149,7 +1053,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:438
+#: ri.xml:412
#, no-c-format
msgid ""
"Both <literal>SentanceParser</literal> and
<literal>TextTranslator</literal> "
@@ -1158,7 +1062,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:444
+#: ri.xml:418
#, no-c-format
msgid ""
"<![CDATA[public class TextTranslator { \n"
@@ -1184,7 +1088,7 @@
" this.sentenceTranslator = sentenceTranslator;]]>"
#. Tag: para
-#: ri.xml:446
+#: ri.xml:420
#, no-c-format
msgid ""
"<literal>TextTranslator</literal> is a stateless bean (with a local
business "
@@ -1193,7 +1097,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:452
+#: ri.xml:426
#, no-c-format
msgid ""
"Finally, there is UI orientated controller, that collects the text from the "
@@ -1202,7 +1106,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:458
+#: ri.xml:432
#, no-c-format
msgid ""
"<![CDATA[@Stateful\n"
@@ -1222,19 +1126,19 @@
" @Current TextTranslator translator;]]>"
#. Tag: para
-#: ri.xml:460
+#: ri.xml:434
#, no-c-format
msgid "The bean also has getters and setters for all the fields on the page."
msgstr ""
#. Tag: para
-#: ri.xml:464
+#: ri.xml:438
#, no-c-format
msgid "As this is a stateful session bean, we have to have a remove method:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:468
+#: ri.xml:442
#, no-c-format
msgid ""
"<![CDATA[ @Remove\n"
@@ -1250,7 +1154,7 @@
" }]]>"
#. Tag: para
-#: ri.xml:470
+#: ri.xml:444
#, no-c-format
msgid ""
"The Web Beans manager will call the remove method for you when the bean is "
@@ -1258,7 +1162,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:476
+#: ri.xml:450
#, no-c-format
msgid ""
"That concludes our short tour of the Web Beans RI examples. For more on the "
@@ -1268,10 +1172,77 @@
msgstr ""
#. Tag: para
-#: ri.xml:482
+#: ri.xml:456
#, no-c-format
msgid ""
"We need help in all areas - bug fixing, writing new features, writing "
"examples and translating this reference guide."
msgstr ""
+#~ msgid ""
+#~ "<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
+#~ "<!DOCTYPE jboss-app\n"
+#~ " PUBLIC \"-//JBoss//DTD J2EE Application 4.2//EN\"\n"
+#~ " \"http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd\">\n"
+#~ "<jboss-app>\n"
+#~ "
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</"
+#~ "loader-repository>\n"
+#~ "</jboss-app>]]>"
+#~ msgstr ""
+#~ "<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
+#~ "<!DOCTYPE jboss-app\n"
+#~ " PUBLIC \"-//JBoss//DTD J2EE Application 4.2//EN\"\n"
+#~ " \"http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd\">\n"
+#~ "<jboss-app>\n"
+#~ "
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</"
+#~ "loader-repository>\n"
+#~ "</jboss-app>]]>"
+
+#~ msgid ""
+#~ "<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
+#~ "<ejb-jar
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
+#~ "
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
\n"
+#~ "
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://"
+#~ "java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd\"\n"
+#~ " version=\"3.0\">\n"
+#~ " \n"
+#~ " <interceptors>\n"
+#~ " <interceptor>\n"
+#~ "
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
+#~ "interceptor-class>\n"
+#~ " </interceptor>\n"
+#~ " </interceptors>\n"
+#~ " \n"
+#~ " <assembly-descriptor>\n"
+#~ " <interceptor-binding>\n"
+#~ " <ejb-name>*</ejb-name>\n"
+#~ " <interceptor-class>org.jboss.webbeans.ejb."
+#~ "SessionBeanInterceptor</interceptor-class>\n"
+#~ " </interceptor-binding>\n"
+#~ " </assembly-descriptor>\n"
+#~ " \n"
+#~ "</ejb-jar>]]>"
+#~ msgstr ""
+#~ "<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
+#~ "<ejb-jar
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
+#~ "
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
\n"
+#~ "
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://"
+#~ "java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd\"\n"
+#~ " version=\"3.0\">\n"
+#~ " \n"
+#~ " <interceptors>\n"
+#~ " <interceptor>\n"
+#~ "
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
+#~ "interceptor-class>\n"
+#~ " </interceptor>\n"
+#~ " </interceptors>\n"
+#~ " \n"
+#~ " <assembly-descriptor>\n"
+#~ " <interceptor-binding>\n"
+#~ " <ejb-name>*</ejb-name>\n"
+#~ " <interceptor-class>org.jboss.webbeans.ejb."
+#~ "SessionBeanInterceptor</interceptor-class>\n"
+#~ " </interceptor-binding>\n"
+#~ " </assembly-descriptor>\n"
+#~ " \n"
+#~ "</ejb-jar>]]>"
Modified: doc/trunk/reference/pot/Author_Group.pot
===================================================================
--- doc/trunk/reference/pot/Author_Group.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/Author_Group.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/Book_Info.pot
===================================================================
--- doc/trunk/reference/pot/Book_Info.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/Book_Info.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/decorators.pot
===================================================================
--- doc/trunk/reference/pot/decorators.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/decorators.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/ee.pot
===================================================================
--- doc/trunk/reference/pot/ee.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/ee.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/events.pot
===================================================================
--- doc/trunk/reference/pot/events.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/events.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/example.pot
===================================================================
--- doc/trunk/reference/pot/example.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/example.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/extend.pot
===================================================================
--- doc/trunk/reference/pot/extend.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/extend.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/injection.pot
===================================================================
--- doc/trunk/reference/pot/injection.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/injection.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/interceptors.pot
===================================================================
--- doc/trunk/reference/pot/interceptors.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/interceptors.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/intro.pot
===================================================================
--- doc/trunk/reference/pot/intro.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/intro.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/master.pot
===================================================================
--- doc/trunk/reference/pot/master.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/master.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/next.pot
===================================================================
--- doc/trunk/reference/pot/next.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/next.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/part1.pot
===================================================================
--- doc/trunk/reference/pot/part1.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/part1.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/part2.pot
===================================================================
--- doc/trunk/reference/pot/part2.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/part2.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/part3.pot
===================================================================
--- doc/trunk/reference/pot/part3.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/part3.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/part4.pot
===================================================================
--- doc/trunk/reference/pot/part4.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/part4.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/producermethods.pot
===================================================================
--- doc/trunk/reference/pot/producermethods.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/producermethods.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/ri-spi.pot
===================================================================
--- doc/trunk/reference/pot/ri-spi.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/ri-spi.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
@@ -368,21 +368,55 @@
#: ri-spi.xml:138
#, no-c-format
msgid ""
-"If you are integrating the Web Beans into an environment that supports "
-"deployment of applications, you must enable, automatically, or through user "
-"configuation, classloader isolation for each Web Beans application"
+"If you are integrating the Web Beans RI into an environment that supports "
+"deployment of multiple applications, you must enable, automatically, or "
+"through user configuation, classloader isolation for each Web Beans "
+"application."
msgstr ""
#. Tag: term
#: ri-spi.xml:147
#, no-c-format
-msgid "The <literal>webbeans-ri.jar</literal>"
+msgid "Servlet listener"
msgstr ""
#. Tag: para
#: ri-spi.xml:151
#, no-c-format
msgid ""
+"If you are integrating the Web Beans into a Servlet environment you must "
+"register <literal>org.jboss.webbeans.servlet.WebBeansListener</literal>
as a "
+"Servlet listener, either automatically, or through user configuration, for "
+"each Web Beans application which uses Servlet."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:162
+#, no-c-format
+msgid "Session Bean Interceptor"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:166
+#, no-c-format
+msgid ""
+"If you are integrating the Web Beans into an EJB environment you must "
+"register
<literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal> as "
+"a EJB interceptor for all EJBs in the application, either automatically, or "
+"through user configuration, for each Web Beans application which uses "
+"enterprise beans."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:177
+#, no-c-format
+msgid "The <literal>webbeans-ri.jar</literal>"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:181
+#, no-c-format
+msgid ""
"If you are integrating the Web Beans into an environment that supports "
"deployment of applications, you must insert the
<literal>webbeans-ri.jar</"
"literal> into the applications isolated classloader. It cannot be loaded "
Modified: doc/trunk/reference/pot/ri.pot
===================================================================
--- doc/trunk/reference/pot/ri.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/ri.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
@@ -357,11 +357,6 @@
" <session-config>\n"
" <session-timeout>10</session-timeout>\n"
" </session-config>\n"
-" \n"
-" <listener>\n"
-"
<listener-class>org.jboss.webbeans.servlet.WebBeansListener</listener-"
-"class>\n"
-" </listener>\n"
"\n"
"</web-app>]]></programlisting> <calloutlist> <callout
arearefs=\"faces."
"servlet\"> <para> Enable and load the JSF servlet </para>
</callout> "
@@ -370,20 +365,16 @@
"<callout arearefs=\"faces.default.suffix\"> <para> Tell JSF
that we will be "
"giving our source files (facelets) an extension of
<literal>.jsf</literal> </"
"para> </callout> <callout arearefs=\"session.timeout\">
<para> Configure a "
-"session timeout of 10 minutes </para> </callout> <callout
arearefs="
-"\"webbeans.listener\"> <para> Configure the Web Beans listener,
so that Web "
-"Beans services can be used in the servlet request </para> </callout>
</"
-"calloutlist> </programlistingco> <note> <para> The only
configuration "
-"required by the Web Beans RI in <literal>web.xml</literal> is to add
the Web "
-"Beans listener. </para> <para> Whilst this demo is a JSF demo, you can
use "
-"the Web Beans RI with any Servlet based web framework; just configure the "
-"Web Beans listener. </para> </note> <para> Let's take a look
at the Facelet "
-"view: </para> <programlistingco> <areaspec> <area
id=\"template\" coords=\"8"
-"\"/> <area id=\"messages\" coords=\"12\"/>
<area id=\"instructions\" coords="
-"\"19\"/> <area id=\"guess\" coords=\"25\"/>
<area id=\"validator\" coords="
-"\"30\"/> <area id=\"submit\" coords=\"33\"/>
</areaspec> <programlisting><!"
-"[CDATA[<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0
Transitional//EN\" "
-"\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"
+"session timeout of 10 minutes </para> </callout> </calloutlist>
</"
+"programlistingco> <note> <para> Whilst this demo is a JSF demo, you
can use "
+"the Web Beans RI with any Servlet based web framework. </para> </note>
"
+"<para> Let's take a look at the Facelet view: </para>
<programlistingco> "
+"<areaspec> <area id=\"template\" coords=\"8\"/>
<area id=\"messages\" coords="
+"\"12\"/> <area id=\"instructions\"
coords=\"19\"/> <area id=\"guess\" coords="
+"\"25\"/> <area id=\"validator\"
coords=\"30\"/> <area id=\"submit\" coords="
+"\"33\"/> </areaspec>
<programlisting><![CDATA[<!DOCTYPE html PUBLIC \"-//"
+"W3C//DTD XHTML 1.0 Transitional//EN\"
\"http://www.w3.org/TR/xhtml1/DTD/"
+"xhtml1-transitional.dtd\">\n"
"<html
xmlns=\"http://www.w3.org/1999/xhtml\"\n"
"
xmlns:ui=\"http://java.sun.com/jsf/facelets\"\n"
"
xmlns:h=\"http://java.sun.com/jsf/html\"\n"
@@ -450,7 +441,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:298
+#: ri.xml:287
#, no-c-format
msgid ""
"The example exists of 4 classes, the first two of which are binding types. "
@@ -459,7 +450,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:304
+#: ri.xml:293
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -470,7 +461,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:306
+#: ri.xml:295
#, no-c-format
msgid ""
"There is also the <literal>@MaxNumber</literal> binding type, used for
"
@@ -478,7 +469,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:311
+#: ri.xml:300
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -490,7 +481,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:313
+#: ri.xml:302
#, no-c-format
msgid ""
"The <literal>Generator</literal> class is responsible for creating the
"
@@ -499,7 +490,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:319
+#: ri.xml:308
#, no-c-format
msgid ""
"<![CDATA[@ApplicationScoped\n"
@@ -528,7 +519,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:321
+#: ri.xml:310
#, no-c-format
msgid ""
"You'll notice that the <literal>Generator</literal> is application
scoped; "
@@ -536,7 +527,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:326
+#: ri.xml:315
#, no-c-format
msgid ""
"The final Web Bean in the application is the session scoped
<literal>Game</"
@@ -544,7 +535,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:331
+#: ri.xml:320
#, no-c-format
msgid ""
"You'll note that we've used the <literal>@Named</literal>
annotation, so "
@@ -555,7 +546,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:339
+#: ri.xml:328
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.webbeans.examples.numberguess;\n"
@@ -657,13 +648,13 @@
msgstr ""
#. Tag: title
-#: ri.xml:343
+#: ri.xml:332
#, no-c-format
msgid "The translator example"
msgstr ""
#. Tag: para
-#: ri.xml:345
+#: ri.xml:334
#, no-c-format
msgid ""
"The translator example will take any sentences you enter, and translate them
"
@@ -671,7 +662,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:350
+#: ri.xml:339
#, no-c-format
msgid ""
"The translator example is built as an ear, and contains EJBs and enterprise "
@@ -680,7 +671,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:357
+#: ri.xml:346
#, no-c-format
msgid ""
"EJB 3.1 and Jave EE 6 allow you to package EJBs in a war, which will make "
@@ -688,17 +679,16 @@
msgstr ""
#. Tag: para
-#: ri.xml:363
+#: ri.xml:352
#, no-c-format
msgid ""
"First, let's take a look at the ear aggregator, which is located in "
"<literal>webbeans-translator-ear</literal> module. Maven automatically
"
-"generates the <literal>application.xml</literal> and
<literal>jboss-app.xml</"
-"literal> for us:"
+"generates the <literal>application.xml</literal> for us:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:370
+#: ri.xml:358
#, no-c-format
msgid ""
"<![CDATA[<plugin>\n"
@@ -712,57 +702,32 @@
" <contextRoot>/webbeans-translator</contextRoot>\n"
" </webModule>\n"
" </modules>\n"
-" <jboss>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</"
-"loader-repository>\n"
-" </jboss>\n"
" </configuration>\n"
"</plugin>]]>"
msgstr ""
#. Tag: para
-#: ri.xml:372
+#: ri.xml:360
#, no-c-format
msgid ""
-"We're doing a couple of things here - firstly we set the context path, which
"
-"gives us a nice url (<ulink
url=\"http://localhost:8080/webbeans-translator"
-"\">http://localhost:8080/webbeans-translator</ulink>) and we also
enable "
-"class loader isolation for JBoss AS."
+"Here we set the context path, which gives us a nice url (<ulink
url=\"http://"
+"localhost:8080/webbeans-translator\">http://localhost:8080/webbeans-"
+"translator</ulink>)."
msgstr ""
#. Tag: para
-#: ri.xml:380
+#: ri.xml:366
#, no-c-format
msgid ""
"If you aren't using Maven to generate these files, you would need "
-"<literal>META-INF/jboss-app.xml</literal>:"
+"<literal>META-INF/application.xml</literal>:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:385
+#: ri.xml:371
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<!DOCTYPE jboss-app\n"
-" PUBLIC \"-//JBoss//DTD J2EE Application 4.2//EN\"\n"
-" \"http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd\">\n"
-"<jboss-app>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</loader-"
-"repository>\n"
-"</jboss-app>]]>"
-msgstr ""
-
-#. Tag: para
-#: ri.xml:387
-#, no-c-format
-msgid "and <literal>META-INF/application.xml</literal>:"
-msgstr ""
-
-#. Tag: programlisting
-#: ri.xml:391
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
"<application
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://"
@@ -785,17 +750,16 @@
msgstr ""
#. Tag: para
-#: ri.xml:394
+#: ri.xml:374
#, no-c-format
msgid ""
"Next, lets look at the war. Just as in the numberguess example, we have a "
"<literal>faces-config.xml</literal> (to enabled Facelets) and a
<literal>web."
-"xml</literal> (to enable JSF and attach Web Beans services to the servlet
"
-"container) in <literal>WebContent/WEB-INF</literal>."
+"xml</literal> (to enable JSF) in
<literal>WebContent/WEB-INF</literal>."
msgstr ""
#. Tag: para
-#: ri.xml:401
+#: ri.xml:381
#, no-c-format
msgid ""
"More intersting is the facelet used to translate text. Just as in the "
@@ -804,7 +768,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:407
+#: ri.xml:387
#, no-c-format
msgid ""
"<![CDATA[<h:form id=\"NumberGuessMain\">\n"
@@ -837,7 +801,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:409
+#: ri.xml:389
#, no-c-format
msgid ""
"The user can enter some text in the lefthand textarea, and hit the translate
"
@@ -845,49 +809,17 @@
msgstr ""
#. Tag: para
-#: ri.xml:414
+#: ri.xml:394
#, no-c-format
msgid ""
"Finally, let's look at the ejb module,
<literal>webbeans-translator-ejb</"
-"literal>. There are two configuration files in
<literal>src/main/resources/"
-"META-INF</literal>, an empty <literal>web-beans.xml</literal>,
used to mark "
-"the archive as containing Web Beans, and
<literal>ejb-jar.xml</literal>. Web "
-"Beans provides injection and initializtion services for all EJBs, and uses "
-"<literal>ejb-jar.xml</literal> to enable this, you'll need this in
any EJB "
-"project which uses Web Beans:"
+"literal>. In <literal>src/main/resources/META-INF</literal> there is
just an "
+"empty <literal>web-beans.xml</literal>, used to mark the archive as
"
+"containing Web Beans."
msgstr ""
-#. Tag: programlisting
-#: ri.xml:426
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<ejb-jar
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
-"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
\n"
-"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://java."
-"sun.com/xml/ns/javaee/ejb-jar_3_0.xsd\"\n"
-" version=\"3.0\">\n"
-" \n"
-" <interceptors>\n"
-" <interceptor>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor>\n"
-" </interceptors>\n"
-" \n"
-" <assembly-descriptor>\n"
-" <interceptor-binding>\n"
-" <ejb-name>*</ejb-name>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor-binding>\n"
-" </assembly-descriptor>\n"
-" \n"
-"</ejb-jar>]]>"
-msgstr ""
-
#. Tag: para
-#: ri.xml:428
+#: ri.xml:402
#, no-c-format
msgid ""
"We've saved the most interesting bit to last, the code! The project has two
"
@@ -899,7 +831,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:438
+#: ri.xml:412
#, no-c-format
msgid ""
"Both <literal>SentanceParser</literal> and
<literal>TextTranslator</literal> "
@@ -908,7 +840,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:444
+#: ri.xml:418
#, no-c-format
msgid ""
"<![CDATA[public class TextTranslator { \n"
@@ -924,7 +856,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:446
+#: ri.xml:420
#, no-c-format
msgid ""
"<literal>TextTranslator</literal> is a stateless bean (with a local
business "
@@ -933,7 +865,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:452
+#: ri.xml:426
#, no-c-format
msgid ""
"Finally, there is UI orientated controller, that collects the text from the "
@@ -942,7 +874,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:458
+#: ri.xml:432
#, no-c-format
msgid ""
"<![CDATA[@Stateful\n"
@@ -955,19 +887,19 @@
msgstr ""
#. Tag: para
-#: ri.xml:460
+#: ri.xml:434
#, no-c-format
msgid "The bean also has getters and setters for all the fields on the page."
msgstr ""
#. Tag: para
-#: ri.xml:464
+#: ri.xml:438
#, no-c-format
msgid "As this is a stateful session bean, we have to have a remove method:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:468
+#: ri.xml:442
#, no-c-format
msgid ""
"<![CDATA[ @Remove\n"
@@ -978,7 +910,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:470
+#: ri.xml:444
#, no-c-format
msgid ""
"The Web Beans manager will call the remove method for you when the bean is "
@@ -986,7 +918,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:476
+#: ri.xml:450
#, no-c-format
msgid ""
"That concludes our short tour of the Web Beans RI examples. For more on the "
@@ -996,7 +928,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:482
+#: ri.xml:456
#, no-c-format
msgid ""
"We need help in all areas - bug fixing, writing new features, writing "
Modified: doc/trunk/reference/pot/scopescontexts.pot
===================================================================
--- doc/trunk/reference/pot/scopescontexts.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/scopescontexts.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/specialization.pot
===================================================================
--- doc/trunk/reference/pot/specialization.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/specialization.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/stereotypes.pot
===================================================================
--- doc/trunk/reference/pot/stereotypes.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/stereotypes.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pot/xml.pot
===================================================================
--- doc/trunk/reference/pot/xml.pot 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pot/xml.pot 2009-01-08 14:13:34 UTC (rev 829)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <kde-i18n-doc(a)kde.org>\n"
Modified: doc/trunk/reference/pt-BR/ri-spi.po
===================================================================
--- doc/trunk/reference/pt-BR/ri-spi.po 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pt-BR/ri-spi.po 2009-01-08 14:13:34 UTC (rev 829)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: Introduction_to_Web_Beans VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: 2009-01-06 11:30+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -367,21 +367,55 @@
#: ri-spi.xml:138
#, no-c-format
msgid ""
-"If you are integrating the Web Beans into an environment that supports "
-"deployment of applications, you must enable, automatically, or through user "
-"configuation, classloader isolation for each Web Beans application"
+"If you are integrating the Web Beans RI into an environment that supports "
+"deployment of multiple applications, you must enable, automatically, or "
+"through user configuation, classloader isolation for each Web Beans "
+"application."
msgstr ""
#. Tag: term
#: ri-spi.xml:147
#, no-c-format
-msgid "The <literal>webbeans-ri.jar</literal>"
+msgid "Servlet listener"
msgstr ""
#. Tag: para
#: ri-spi.xml:151
#, no-c-format
msgid ""
+"If you are integrating the Web Beans into a Servlet environment you must "
+"register <literal>org.jboss.webbeans.servlet.WebBeansListener</literal>
as a "
+"Servlet listener, either automatically, or through user configuration, for "
+"each Web Beans application which uses Servlet."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:162
+#, no-c-format
+msgid "Session Bean Interceptor"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:166
+#, no-c-format
+msgid ""
+"If you are integrating the Web Beans into an EJB environment you must "
+"register
<literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal> as "
+"a EJB interceptor for all EJBs in the application, either automatically, or "
+"through user configuration, for each Web Beans application which uses "
+"enterprise beans."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:177
+#, no-c-format
+msgid "The <literal>webbeans-ri.jar</literal>"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:181
+#, no-c-format
+msgid ""
"If you are integrating the Web Beans into an environment that supports "
"deployment of applications, you must insert the
<literal>webbeans-ri.jar</"
"literal> into the applications isolated classloader. It cannot be loaded "
Modified: doc/trunk/reference/pt-BR/ri.po
===================================================================
--- doc/trunk/reference/pt-BR/ri.po 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/pt-BR/ri.po 2009-01-08 14:13:34 UTC (rev 829)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: Introduction_to_Web_Beans VERSION\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: 2009-01-06 11:30+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -356,11 +356,6 @@
" <session-config>\n"
" <session-timeout>10</session-timeout>\n"
" </session-config>\n"
-" \n"
-" <listener>\n"
-"
<listener-class>org.jboss.webbeans.servlet.WebBeansListener</listener-"
-"class>\n"
-" </listener>\n"
"\n"
"</web-app>]]></programlisting> <calloutlist> <callout
arearefs=\"faces."
"servlet\"> <para> Enable and load the JSF servlet </para>
</callout> "
@@ -369,20 +364,16 @@
"<callout arearefs=\"faces.default.suffix\"> <para> Tell JSF
that we will be "
"giving our source files (facelets) an extension of
<literal>.jsf</literal> </"
"para> </callout> <callout arearefs=\"session.timeout\">
<para> Configure a "
-"session timeout of 10 minutes </para> </callout> <callout
arearefs="
-"\"webbeans.listener\"> <para> Configure the Web Beans listener,
so that Web "
-"Beans services can be used in the servlet request </para> </callout>
</"
-"calloutlist> </programlistingco> <note> <para> The only
configuration "
-"required by the Web Beans RI in <literal>web.xml</literal> is to add
the Web "
-"Beans listener. </para> <para> Whilst this demo is a JSF demo, you can
use "
-"the Web Beans RI with any Servlet based web framework; just configure the "
-"Web Beans listener. </para> </note> <para> Let's take a look
at the Facelet "
-"view: </para> <programlistingco> <areaspec> <area
id=\"template\" coords=\"8"
-"\"/> <area id=\"messages\" coords=\"12\"/>
<area id=\"instructions\" coords="
-"\"19\"/> <area id=\"guess\" coords=\"25\"/>
<area id=\"validator\" coords="
-"\"30\"/> <area id=\"submit\" coords=\"33\"/>
</areaspec> <programlisting><!"
-"[CDATA[<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0
Transitional//EN\" "
-"\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"
+"session timeout of 10 minutes </para> </callout> </calloutlist>
</"
+"programlistingco> <note> <para> Whilst this demo is a JSF demo, you
can use "
+"the Web Beans RI with any Servlet based web framework. </para> </note>
"
+"<para> Let's take a look at the Facelet view: </para>
<programlistingco> "
+"<areaspec> <area id=\"template\" coords=\"8\"/>
<area id=\"messages\" coords="
+"\"12\"/> <area id=\"instructions\"
coords=\"19\"/> <area id=\"guess\" coords="
+"\"25\"/> <area id=\"validator\"
coords=\"30\"/> <area id=\"submit\" coords="
+"\"33\"/> </areaspec>
<programlisting><![CDATA[<!DOCTYPE html PUBLIC \"-//"
+"W3C//DTD XHTML 1.0 Transitional//EN\"
\"http://www.w3.org/TR/xhtml1/DTD/"
+"xhtml1-transitional.dtd\">\n"
"<html
xmlns=\"http://www.w3.org/1999/xhtml\"\n"
"
xmlns:ui=\"http://java.sun.com/jsf/facelets\"\n"
"
xmlns:h=\"http://java.sun.com/jsf/html\"\n"
@@ -449,7 +440,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:298
+#: ri.xml:287
#, no-c-format
msgid ""
"The example exists of 4 classes, the first two of which are binding types. "
@@ -458,7 +449,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:304
+#: ri.xml:293
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -469,7 +460,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:306
+#: ri.xml:295
#, no-c-format
msgid ""
"There is also the <literal>@MaxNumber</literal> binding type, used for
"
@@ -477,7 +468,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:311
+#: ri.xml:300
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -489,7 +480,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:313
+#: ri.xml:302
#, no-c-format
msgid ""
"The <literal>Generator</literal> class is responsible for creating the
"
@@ -498,7 +489,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:319
+#: ri.xml:308
#, no-c-format
msgid ""
"<![CDATA[@ApplicationScoped\n"
@@ -527,7 +518,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:321
+#: ri.xml:310
#, no-c-format
msgid ""
"You'll notice that the <literal>Generator</literal> is application
scoped; "
@@ -535,7 +526,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:326
+#: ri.xml:315
#, no-c-format
msgid ""
"The final Web Bean in the application is the session scoped
<literal>Game</"
@@ -543,7 +534,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:331
+#: ri.xml:320
#, no-c-format
msgid ""
"You'll note that we've used the <literal>@Named</literal>
annotation, so "
@@ -554,7 +545,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:339
+#: ri.xml:328
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.webbeans.examples.numberguess;\n"
@@ -656,13 +647,13 @@
msgstr ""
#. Tag: title
-#: ri.xml:343
+#: ri.xml:332
#, no-c-format
msgid "The translator example"
msgstr ""
#. Tag: para
-#: ri.xml:345
+#: ri.xml:334
#, no-c-format
msgid ""
"The translator example will take any sentences you enter, and translate them
"
@@ -670,7 +661,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:350
+#: ri.xml:339
#, no-c-format
msgid ""
"The translator example is built as an ear, and contains EJBs and enterprise "
@@ -679,7 +670,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:357
+#: ri.xml:346
#, no-c-format
msgid ""
"EJB 3.1 and Jave EE 6 allow you to package EJBs in a war, which will make "
@@ -687,17 +678,16 @@
msgstr ""
#. Tag: para
-#: ri.xml:363
+#: ri.xml:352
#, no-c-format
msgid ""
"First, let's take a look at the ear aggregator, which is located in "
"<literal>webbeans-translator-ear</literal> module. Maven automatically
"
-"generates the <literal>application.xml</literal> and
<literal>jboss-app.xml</"
-"literal> for us:"
+"generates the <literal>application.xml</literal> for us:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:370
+#: ri.xml:358
#, no-c-format
msgid ""
"<![CDATA[<plugin>\n"
@@ -711,57 +701,32 @@
" <contextRoot>/webbeans-translator</contextRoot>\n"
" </webModule>\n"
" </modules>\n"
-" <jboss>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</"
-"loader-repository>\n"
-" </jboss>\n"
" </configuration>\n"
"</plugin>]]>"
msgstr ""
#. Tag: para
-#: ri.xml:372
+#: ri.xml:360
#, no-c-format
msgid ""
-"We're doing a couple of things here - firstly we set the context path, which
"
-"gives us a nice url (<ulink
url=\"http://localhost:8080/webbeans-translator"
-"\">http://localhost:8080/webbeans-translator</ulink>) and we also
enable "
-"class loader isolation for JBoss AS."
+"Here we set the context path, which gives us a nice url (<ulink
url=\"http://"
+"localhost:8080/webbeans-translator\">http://localhost:8080/webbeans-"
+"translator</ulink>)."
msgstr ""
#. Tag: para
-#: ri.xml:380
+#: ri.xml:366
#, no-c-format
msgid ""
"If you aren't using Maven to generate these files, you would need "
-"<literal>META-INF/jboss-app.xml</literal>:"
+"<literal>META-INF/application.xml</literal>:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:385
+#: ri.xml:371
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<!DOCTYPE jboss-app\n"
-" PUBLIC \"-//JBoss//DTD J2EE Application 4.2//EN\"\n"
-" \"http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd\">\n"
-"<jboss-app>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</loader-"
-"repository>\n"
-"</jboss-app>]]>"
-msgstr ""
-
-#. Tag: para
-#: ri.xml:387
-#, no-c-format
-msgid "and <literal>META-INF/application.xml</literal>:"
-msgstr ""
-
-#. Tag: programlisting
-#: ri.xml:391
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
"<application
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://"
@@ -784,17 +749,16 @@
msgstr ""
#. Tag: para
-#: ri.xml:394
+#: ri.xml:374
#, no-c-format
msgid ""
"Next, lets look at the war. Just as in the numberguess example, we have a "
"<literal>faces-config.xml</literal> (to enabled Facelets) and a
<literal>web."
-"xml</literal> (to enable JSF and attach Web Beans services to the servlet
"
-"container) in <literal>WebContent/WEB-INF</literal>."
+"xml</literal> (to enable JSF) in
<literal>WebContent/WEB-INF</literal>."
msgstr ""
#. Tag: para
-#: ri.xml:401
+#: ri.xml:381
#, no-c-format
msgid ""
"More intersting is the facelet used to translate text. Just as in the "
@@ -803,7 +767,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:407
+#: ri.xml:387
#, no-c-format
msgid ""
"<![CDATA[<h:form id=\"NumberGuessMain\">\n"
@@ -836,7 +800,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:409
+#: ri.xml:389
#, no-c-format
msgid ""
"The user can enter some text in the lefthand textarea, and hit the translate
"
@@ -844,49 +808,17 @@
msgstr ""
#. Tag: para
-#: ri.xml:414
+#: ri.xml:394
#, no-c-format
msgid ""
"Finally, let's look at the ejb module,
<literal>webbeans-translator-ejb</"
-"literal>. There are two configuration files in
<literal>src/main/resources/"
-"META-INF</literal>, an empty <literal>web-beans.xml</literal>,
used to mark "
-"the archive as containing Web Beans, and
<literal>ejb-jar.xml</literal>. Web "
-"Beans provides injection and initializtion services for all EJBs, and uses "
-"<literal>ejb-jar.xml</literal> to enable this, you'll need this in
any EJB "
-"project which uses Web Beans:"
+"literal>. In <literal>src/main/resources/META-INF</literal> there is
just an "
+"empty <literal>web-beans.xml</literal>, used to mark the archive as
"
+"containing Web Beans."
msgstr ""
-#. Tag: programlisting
-#: ri.xml:426
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<ejb-jar
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
-"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
\n"
-"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://java."
-"sun.com/xml/ns/javaee/ejb-jar_3_0.xsd\"\n"
-" version=\"3.0\">\n"
-" \n"
-" <interceptors>\n"
-" <interceptor>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor>\n"
-" </interceptors>\n"
-" \n"
-" <assembly-descriptor>\n"
-" <interceptor-binding>\n"
-" <ejb-name>*</ejb-name>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor-binding>\n"
-" </assembly-descriptor>\n"
-" \n"
-"</ejb-jar>]]>"
-msgstr ""
-
#. Tag: para
-#: ri.xml:428
+#: ri.xml:402
#, no-c-format
msgid ""
"We've saved the most interesting bit to last, the code! The project has two
"
@@ -898,7 +830,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:438
+#: ri.xml:412
#, no-c-format
msgid ""
"Both <literal>SentanceParser</literal> and
<literal>TextTranslator</literal> "
@@ -907,7 +839,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:444
+#: ri.xml:418
#, no-c-format
msgid ""
"<![CDATA[public class TextTranslator { \n"
@@ -923,7 +855,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:446
+#: ri.xml:420
#, no-c-format
msgid ""
"<literal>TextTranslator</literal> is a stateless bean (with a local
business "
@@ -932,7 +864,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:452
+#: ri.xml:426
#, no-c-format
msgid ""
"Finally, there is UI orientated controller, that collects the text from the "
@@ -941,7 +873,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:458
+#: ri.xml:432
#, no-c-format
msgid ""
"<![CDATA[@Stateful\n"
@@ -954,19 +886,19 @@
msgstr ""
#. Tag: para
-#: ri.xml:460
+#: ri.xml:434
#, no-c-format
msgid "The bean also has getters and setters for all the fields on the page."
msgstr ""
#. Tag: para
-#: ri.xml:464
+#: ri.xml:438
#, no-c-format
msgid "As this is a stateful session bean, we have to have a remove method:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:468
+#: ri.xml:442
#, no-c-format
msgid ""
"<![CDATA[ @Remove\n"
@@ -977,7 +909,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:470
+#: ri.xml:444
#, no-c-format
msgid ""
"The Web Beans manager will call the remove method for you when the bean is "
@@ -985,7 +917,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:476
+#: ri.xml:450
#, no-c-format
msgid ""
"That concludes our short tour of the Web Beans RI examples. For more on the "
@@ -995,7 +927,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:482
+#: ri.xml:456
#, no-c-format
msgid ""
"We need help in all areas - bug fixing, writing new features, writing "
Modified: doc/trunk/reference/zh-CN/ri-spi.po
===================================================================
--- doc/trunk/reference/zh-CN/ri-spi.po 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/zh-CN/ri-spi.po 2009-01-08 14:13:34 UTC (rev 829)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: master.xml \n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: 2008-12-20 22:07+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -367,21 +367,55 @@
#: ri-spi.xml:138
#, no-c-format
msgid ""
-"If you are integrating the Web Beans into an environment that supports "
-"deployment of applications, you must enable, automatically, or through user "
-"configuation, classloader isolation for each Web Beans application"
+"If you are integrating the Web Beans RI into an environment that supports "
+"deployment of multiple applications, you must enable, automatically, or "
+"through user configuation, classloader isolation for each Web Beans "
+"application."
msgstr ""
#. Tag: term
#: ri-spi.xml:147
#, no-c-format
-msgid "The <literal>webbeans-ri.jar</literal>"
+msgid "Servlet listener"
msgstr ""
#. Tag: para
#: ri-spi.xml:151
#, no-c-format
msgid ""
+"If you are integrating the Web Beans into a Servlet environment you must "
+"register <literal>org.jboss.webbeans.servlet.WebBeansListener</literal>
as a "
+"Servlet listener, either automatically, or through user configuration, for "
+"each Web Beans application which uses Servlet."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:162
+#, no-c-format
+msgid "Session Bean Interceptor"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:166
+#, no-c-format
+msgid ""
+"If you are integrating the Web Beans into an EJB environment you must "
+"register
<literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal> as "
+"a EJB interceptor for all EJBs in the application, either automatically, or "
+"through user configuration, for each Web Beans application which uses "
+"enterprise beans."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:177
+#, no-c-format
+msgid "The <literal>webbeans-ri.jar</literal>"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:181
+#, no-c-format
+msgid ""
"If you are integrating the Web Beans into an environment that supports "
"deployment of applications, you must insert the
<literal>webbeans-ri.jar</"
"literal> into the applications isolated classloader. It cannot be loaded "
Modified: doc/trunk/reference/zh-CN/ri.po
===================================================================
--- doc/trunk/reference/zh-CN/ri.po 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/zh-CN/ri.po 2009-01-08 14:13:34 UTC (rev 829)
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: master.xml \n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-04 23:18+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: 2008-12-19 20:26+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@@ -356,11 +356,6 @@
" <session-config>\n"
" <session-timeout>10</session-timeout>\n"
" </session-config>\n"
-" \n"
-" <listener>\n"
-"
<listener-class>org.jboss.webbeans.servlet.WebBeansListener</listener-"
-"class>\n"
-" </listener>\n"
"\n"
"</web-app>]]></programlisting> <calloutlist> <callout
arearefs=\"faces."
"servlet\"> <para> Enable and load the JSF servlet </para>
</callout> "
@@ -369,20 +364,16 @@
"<callout arearefs=\"faces.default.suffix\"> <para> Tell JSF
that we will be "
"giving our source files (facelets) an extension of
<literal>.jsf</literal> </"
"para> </callout> <callout arearefs=\"session.timeout\">
<para> Configure a "
-"session timeout of 10 minutes </para> </callout> <callout
arearefs="
-"\"webbeans.listener\"> <para> Configure the Web Beans listener,
so that Web "
-"Beans services can be used in the servlet request </para> </callout>
</"
-"calloutlist> </programlistingco> <note> <para> The only
configuration "
-"required by the Web Beans RI in <literal>web.xml</literal> is to add
the Web "
-"Beans listener. </para> <para> Whilst this demo is a JSF demo, you can
use "
-"the Web Beans RI with any Servlet based web framework; just configure the "
-"Web Beans listener. </para> </note> <para> Let's take a look
at the Facelet "
-"view: </para> <programlistingco> <areaspec> <area
id=\"template\" coords=\"8"
-"\"/> <area id=\"messages\" coords=\"12\"/>
<area id=\"instructions\" coords="
-"\"19\"/> <area id=\"guess\" coords=\"25\"/>
<area id=\"validator\" coords="
-"\"30\"/> <area id=\"submit\" coords=\"33\"/>
</areaspec> <programlisting><!"
-"[CDATA[<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0
Transitional//EN\" "
-"\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"
+"session timeout of 10 minutes </para> </callout> </calloutlist>
</"
+"programlistingco> <note> <para> Whilst this demo is a JSF demo, you
can use "
+"the Web Beans RI with any Servlet based web framework. </para> </note>
"
+"<para> Let's take a look at the Facelet view: </para>
<programlistingco> "
+"<areaspec> <area id=\"template\" coords=\"8\"/>
<area id=\"messages\" coords="
+"\"12\"/> <area id=\"instructions\"
coords=\"19\"/> <area id=\"guess\" coords="
+"\"25\"/> <area id=\"validator\"
coords=\"30\"/> <area id=\"submit\" coords="
+"\"33\"/> </areaspec>
<programlisting><![CDATA[<!DOCTYPE html PUBLIC \"-//"
+"W3C//DTD XHTML 1.0 Transitional//EN\"
\"http://www.w3.org/TR/xhtml1/DTD/"
+"xhtml1-transitional.dtd\">\n"
"<html
xmlns=\"http://www.w3.org/1999/xhtml\"\n"
"
xmlns:ui=\"http://java.sun.com/jsf/facelets\"\n"
"
xmlns:h=\"http://java.sun.com/jsf/html\"\n"
@@ -449,7 +440,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:298
+#: ri.xml:287
#, no-c-format
msgid ""
"The example exists of 4 classes, the first two of which are binding types. "
@@ -458,7 +449,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:304
+#: ri.xml:293
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -469,7 +460,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:306
+#: ri.xml:295
#, no-c-format
msgid ""
"There is also the <literal>@MaxNumber</literal> binding type, used for
"
@@ -477,7 +468,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:311
+#: ri.xml:300
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -489,7 +480,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:313
+#: ri.xml:302
#, no-c-format
msgid ""
"The <literal>Generator</literal> class is responsible for creating the
"
@@ -498,7 +489,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:319
+#: ri.xml:308
#, no-c-format
msgid ""
"<![CDATA[@ApplicationScoped\n"
@@ -527,7 +518,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:321
+#: ri.xml:310
#, no-c-format
msgid ""
"You'll notice that the <literal>Generator</literal> is application
scoped; "
@@ -535,7 +526,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:326
+#: ri.xml:315
#, no-c-format
msgid ""
"The final Web Bean in the application is the session scoped
<literal>Game</"
@@ -543,7 +534,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:331
+#: ri.xml:320
#, no-c-format
msgid ""
"You'll note that we've used the <literal>@Named</literal>
annotation, so "
@@ -554,7 +545,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:339
+#: ri.xml:328
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.webbeans.examples.numberguess;\n"
@@ -656,13 +647,13 @@
msgstr ""
#. Tag: title
-#: ri.xml:343
+#: ri.xml:332
#, no-c-format
msgid "The translator example"
msgstr ""
#. Tag: para
-#: ri.xml:345
+#: ri.xml:334
#, no-c-format
msgid ""
"The translator example will take any sentences you enter, and translate them
"
@@ -670,7 +661,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:350
+#: ri.xml:339
#, no-c-format
msgid ""
"The translator example is built as an ear, and contains EJBs and enterprise "
@@ -679,7 +670,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:357
+#: ri.xml:346
#, no-c-format
msgid ""
"EJB 3.1 and Jave EE 6 allow you to package EJBs in a war, which will make "
@@ -687,17 +678,16 @@
msgstr ""
#. Tag: para
-#: ri.xml:363
+#: ri.xml:352
#, no-c-format
msgid ""
"First, let's take a look at the ear aggregator, which is located in "
"<literal>webbeans-translator-ear</literal> module. Maven automatically
"
-"generates the <literal>application.xml</literal> and
<literal>jboss-app.xml</"
-"literal> for us:"
+"generates the <literal>application.xml</literal> for us:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:370
+#: ri.xml:358
#, no-c-format
msgid ""
"<![CDATA[<plugin>\n"
@@ -711,57 +701,32 @@
" <contextRoot>/webbeans-translator</contextRoot>\n"
" </webModule>\n"
" </modules>\n"
-" <jboss>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</"
-"loader-repository>\n"
-" </jboss>\n"
" </configuration>\n"
"</plugin>]]>"
msgstr ""
#. Tag: para
-#: ri.xml:372
+#: ri.xml:360
#, no-c-format
msgid ""
-"We're doing a couple of things here - firstly we set the context path, which
"
-"gives us a nice url (<ulink
url=\"http://localhost:8080/webbeans-translator"
-"\">http://localhost:8080/webbeans-translator</ulink>) and we also
enable "
-"class loader isolation for JBoss AS."
+"Here we set the context path, which gives us a nice url (<ulink
url=\"http://"
+"localhost:8080/webbeans-translator\">http://localhost:8080/webbeans-"
+"translator</ulink>)."
msgstr ""
#. Tag: para
-#: ri.xml:380
+#: ri.xml:366
#, no-c-format
msgid ""
"If you aren't using Maven to generate these files, you would need "
-"<literal>META-INF/jboss-app.xml</literal>:"
+"<literal>META-INF/application.xml</literal>:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:385
+#: ri.xml:371
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<!DOCTYPE jboss-app\n"
-" PUBLIC \"-//JBoss//DTD J2EE Application 4.2//EN\"\n"
-" \"http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd\">\n"
-"<jboss-app>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</loader-"
-"repository>\n"
-"</jboss-app>]]>"
-msgstr ""
-
-#. Tag: para
-#: ri.xml:387
-#, no-c-format
-msgid "and <literal>META-INF/application.xml</literal>:"
-msgstr ""
-
-#. Tag: programlisting
-#: ri.xml:391
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
"<application
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://"
@@ -784,17 +749,16 @@
msgstr ""
#. Tag: para
-#: ri.xml:394
+#: ri.xml:374
#, no-c-format
msgid ""
"Next, lets look at the war. Just as in the numberguess example, we have a "
"<literal>faces-config.xml</literal> (to enabled Facelets) and a
<literal>web."
-"xml</literal> (to enable JSF and attach Web Beans services to the servlet
"
-"container) in <literal>WebContent/WEB-INF</literal>."
+"xml</literal> (to enable JSF) in
<literal>WebContent/WEB-INF</literal>."
msgstr ""
#. Tag: para
-#: ri.xml:401
+#: ri.xml:381
#, no-c-format
msgid ""
"More intersting is the facelet used to translate text. Just as in the "
@@ -803,7 +767,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:407
+#: ri.xml:387
#, no-c-format
msgid ""
"<![CDATA[<h:form id=\"NumberGuessMain\">\n"
@@ -836,7 +800,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:409
+#: ri.xml:389
#, no-c-format
msgid ""
"The user can enter some text in the lefthand textarea, and hit the translate
"
@@ -844,49 +808,17 @@
msgstr ""
#. Tag: para
-#: ri.xml:414
+#: ri.xml:394
#, no-c-format
msgid ""
"Finally, let's look at the ejb module,
<literal>webbeans-translator-ejb</"
-"literal>. There are two configuration files in
<literal>src/main/resources/"
-"META-INF</literal>, an empty <literal>web-beans.xml</literal>,
used to mark "
-"the archive as containing Web Beans, and
<literal>ejb-jar.xml</literal>. Web "
-"Beans provides injection and initializtion services for all EJBs, and uses "
-"<literal>ejb-jar.xml</literal> to enable this, you'll need this in
any EJB "
-"project which uses Web Beans:"
+"literal>. In <literal>src/main/resources/META-INF</literal> there is
just an "
+"empty <literal>web-beans.xml</literal>, used to mark the archive as
"
+"containing Web Beans."
msgstr ""
-#. Tag: programlisting
-#: ri.xml:426
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<ejb-jar
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
-"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
\n"
-"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://java."
-"sun.com/xml/ns/javaee/ejb-jar_3_0.xsd\"\n"
-" version=\"3.0\">\n"
-" \n"
-" <interceptors>\n"
-" <interceptor>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor>\n"
-" </interceptors>\n"
-" \n"
-" <assembly-descriptor>\n"
-" <interceptor-binding>\n"
-" <ejb-name>*</ejb-name>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor-binding>\n"
-" </assembly-descriptor>\n"
-" \n"
-"</ejb-jar>]]>"
-msgstr ""
-
#. Tag: para
-#: ri.xml:428
+#: ri.xml:402
#, no-c-format
msgid ""
"We've saved the most interesting bit to last, the code! The project has two
"
@@ -898,7 +830,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:438
+#: ri.xml:412
#, no-c-format
msgid ""
"Both <literal>SentanceParser</literal> and
<literal>TextTranslator</literal> "
@@ -907,7 +839,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:444
+#: ri.xml:418
#, no-c-format
msgid ""
"<![CDATA[public class TextTranslator { \n"
@@ -923,7 +855,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:446
+#: ri.xml:420
#, no-c-format
msgid ""
"<literal>TextTranslator</literal> is a stateless bean (with a local
business "
@@ -932,7 +864,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:452
+#: ri.xml:426
#, no-c-format
msgid ""
"Finally, there is UI orientated controller, that collects the text from the "
@@ -941,7 +873,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:458
+#: ri.xml:432
#, no-c-format
msgid ""
"<![CDATA[@Stateful\n"
@@ -954,19 +886,19 @@
msgstr ""
#. Tag: para
-#: ri.xml:460
+#: ri.xml:434
#, no-c-format
msgid "The bean also has getters and setters for all the fields on the page."
msgstr ""
#. Tag: para
-#: ri.xml:464
+#: ri.xml:438
#, no-c-format
msgid "As this is a stateful session bean, we have to have a remove method:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:468
+#: ri.xml:442
#, no-c-format
msgid ""
"<![CDATA[ @Remove\n"
@@ -977,7 +909,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:470
+#: ri.xml:444
#, no-c-format
msgid ""
"The Web Beans manager will call the remove method for you when the bean is "
@@ -985,7 +917,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:476
+#: ri.xml:450
#, no-c-format
msgid ""
"That concludes our short tour of the Web Beans RI examples. For more on the "
@@ -995,7 +927,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:482
+#: ri.xml:456
#, no-c-format
msgid ""
"We need help in all areas - bug fixing, writing new features, writing "
Modified: doc/trunk/reference/zh-TW/ri-spi.po
===================================================================
--- doc/trunk/reference/zh-TW/ri-spi.po 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/zh-TW/ri-spi.po 2009-01-08 14:13:34 UTC (rev 829)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: ri-spi\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: 2009-01-08 10:59+1000\n"
"Last-Translator: Terry Chuang <tchuang(a)redhat.com>\n"
"Language-Team: Traditional Chinese <zh(a)li.org>\n"
@@ -495,7 +495,8 @@
#: ri-spi.xml:117
#, no-c-format
msgid
"org.jboss.webbeans.resources.spi.ResourceLoader=com.acme.ResourceLoader"
-msgstr
"org.jboss.webbeans.resources.spi.ResourceLoader=com.acme.ResourceLoader"
+msgstr ""
+"org.jboss.webbeans.resources.spi.ResourceLoader=com.acme.ResourceLoader"
#. Tag: title
#: ri-spi.xml:124
@@ -521,19 +522,53 @@
#: ri-spi.xml:138
#, no-c-format
msgid ""
-"If you are integrating the Web Beans into an environment that supports "
-"deployment of applications, you must enable, automatically, or through user "
-"configuation, classloader isolation for each Web Beans application"
+"If you are integrating the Web Beans RI into an environment that supports "
+"deployment of multiple applications, you must enable, automatically, or "
+"through user configuation, classloader isolation for each Web Beans "
+"application."
msgstr ""
#. Tag: term
#: ri-spi.xml:147
#, no-c-format
+msgid "Servlet listener"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:151
+#, no-c-format
+msgid ""
+"If you are integrating the Web Beans into a Servlet environment you must "
+"register <literal>org.jboss.webbeans.servlet.WebBeansListener</literal>
as a "
+"Servlet listener, either automatically, or through user configuration, for "
+"each Web Beans application which uses Servlet."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:162
+#, no-c-format
+msgid "Session Bean Interceptor"
+msgstr ""
+
+#. Tag: para
+#: ri-spi.xml:166
+#, no-c-format
+msgid ""
+"If you are integrating the Web Beans into an EJB environment you must "
+"register
<literal>org.jboss.webbeans.ejb.SessionBeanInterceptor</literal> as "
+"a EJB interceptor for all EJBs in the application, either automatically, or "
+"through user configuration, for each Web Beans application which uses "
+"enterprise beans."
+msgstr ""
+
+#. Tag: term
+#: ri-spi.xml:177
+#, no-c-format
msgid "The <literal>webbeans-ri.jar</literal>"
msgstr "<literal>webbeans-ri.jar</literal>"
#. Tag: para
-#: ri-spi.xml:151
+#: ri-spi.xml:181
#, no-c-format
msgid ""
"If you are integrating the Web Beans into an environment that supports "
@@ -541,4 +576,3 @@
"literal> into the applications isolated classloader. It cannot be loaded "
"from a shared classloader."
msgstr ""
-
Modified: doc/trunk/reference/zh-TW/ri.po
===================================================================
--- doc/trunk/reference/zh-TW/ri.po 2009-01-08 14:12:43 UTC (rev 828)
+++ doc/trunk/reference/zh-TW/ri.po 2009-01-08 14:13:34 UTC (rev 829)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: ri\n"
"Report-Msgid-Bugs-To:
http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-01-06 11:30+0000\n"
+"POT-Creation-Date: 2009-01-08 14:07+0000\n"
"PO-Revision-Date: 2009-01-08 10:58+1000\n"
"Last-Translator: Terry Chuang <tchuang(a)redhat.com>\n"
"Language-Team: Traditional Chinese <zh(a)li.org>\n"
@@ -177,7 +177,8 @@
#. Tag: para
#: ri.xml:93
#, no-c-format
-msgid "The build scripts for the examples offer a number of targets, these
are:"
+msgid ""
+"The build scripts for the examples offer a number of targets, these are:"
msgstr ""
#. Tag: para
@@ -197,7 +198,8 @@
#. Tag: para
#: ri.xml:111
#, no-c-format
-msgid "<literal>ant deploy</literal> - deploy the example in compressed
jar format"
+msgid ""
+"<literal>ant deploy</literal> - deploy the example in compressed jar
format"
msgstr ""
#. Tag: para
@@ -344,7 +346,7 @@
#. Tag: section
#: ri.xml:185
-#, no-c-format
+#, fuzzy, no-c-format
msgid ""
"<programlistingco> <areaspec> <area id=\"faces.servlet\"
coords=\"12\"/> "
"<area id=\"faces.servlet.mapping\" coords=\"18\"/>
<area id=\"faces.default."
@@ -381,11 +383,6 @@
" <session-config>\n"
" <session-timeout>10</session-timeout>\n"
" </session-config>\n"
-" \n"
-" <listener>\n"
-"
<listener-class>org.jboss.webbeans.servlet.WebBeansListener</listener-"
-"class>\n"
-" </listener>\n"
"\n"
"</web-app>]]></programlisting> <calloutlist> <callout
arearefs=\"faces."
"servlet\"> <para> Enable and load the JSF servlet </para>
</callout> "
@@ -394,20 +391,16 @@
"<callout arearefs=\"faces.default.suffix\"> <para> Tell JSF
that we will be "
"giving our source files (facelets) an extension of
<literal>.jsf</literal> </"
"para> </callout> <callout arearefs=\"session.timeout\">
<para> Configure a "
-"session timeout of 10 minutes </para> </callout> <callout
arearefs="
-"\"webbeans.listener\"> <para> Configure the Web Beans listener,
so that Web "
-"Beans services can be used in the servlet request </para> </callout>
</"
-"calloutlist> </programlistingco> <note> <para> The only
configuration "
-"required by the Web Beans RI in <literal>web.xml</literal> is to add
the Web "
-"Beans listener. </para> <para> Whilst this demo is a JSF demo, you can
use "
-"the Web Beans RI with any Servlet based web framework; just configure the "
-"Web Beans listener. </para> </note> <para> Let's take a look
at the Facelet "
-"view: </para> <programlistingco> <areaspec> <area
id=\"template\" coords=\"8"
-"\"/> <area id=\"messages\" coords=\"12\"/>
<area id=\"instructions\" coords="
-"\"19\"/> <area id=\"guess\" coords=\"25\"/>
<area id=\"validator\" coords="
-"\"30\"/> <area id=\"submit\" coords=\"33\"/>
</areaspec> <programlisting><!"
-"[CDATA[<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0
Transitional//EN\" "
-"\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"
+"session timeout of 10 minutes </para> </callout> </calloutlist>
</"
+"programlistingco> <note> <para> Whilst this demo is a JSF demo, you
can use "
+"the Web Beans RI with any Servlet based web framework. </para> </note>
"
+"<para> Let's take a look at the Facelet view: </para>
<programlistingco> "
+"<areaspec> <area id=\"template\" coords=\"8\"/>
<area id=\"messages\" coords="
+"\"12\"/> <area id=\"instructions\"
coords=\"19\"/> <area id=\"guess\" coords="
+"\"25\"/> <area id=\"validator\"
coords=\"30\"/> <area id=\"submit\" coords="
+"\"33\"/> </areaspec>
<programlisting><![CDATA[<!DOCTYPE html PUBLIC \"-//"
+"W3C//DTD XHTML 1.0 Transitional//EN\"
\"http://www.w3.org/TR/xhtml1/DTD/"
+"xhtml1-transitional.dtd\">\n"
"<html
xmlns=\"http://www.w3.org/1999/xhtml\"\n"
"
xmlns:ui=\"http://java.sun.com/jsf/facelets\"\n"
"
xmlns:h=\"http://java.sun.com/jsf/html\"\n"
@@ -599,7 +592,7 @@
"programlistingco>"
#. Tag: para
-#: ri.xml:298
+#: ri.xml:287
#, no-c-format
msgid ""
"The example exists of 4 classes, the first two of which are binding types. "
@@ -608,7 +601,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:304
+#: ri.xml:293
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -624,7 +617,7 @@
"public @interface Random {}]]>"
#. Tag: para
-#: ri.xml:306
+#: ri.xml:295
#, no-c-format
msgid ""
"There is also the <literal>@MaxNumber</literal> binding type, used for
"
@@ -632,7 +625,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:311
+#: ri.xml:300
#, no-c-format
msgid ""
"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
@@ -650,7 +643,7 @@
"]]>"
#. Tag: para
-#: ri.xml:313
+#: ri.xml:302
#, no-c-format
msgid ""
"The <literal>Generator</literal> class is responsible for creating the
"
@@ -659,7 +652,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:319
+#: ri.xml:308
#, no-c-format
msgid ""
"<![CDATA[@ApplicationScoped\n"
@@ -711,7 +704,7 @@
"}]]>"
#. Tag: para
-#: ri.xml:321
+#: ri.xml:310
#, no-c-format
msgid ""
"You'll notice that the <literal>Generator</literal> is application
scoped; "
@@ -719,7 +712,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:326
+#: ri.xml:315
#, no-c-format
msgid ""
"The final Web Bean in the application is the session scoped
<literal>Game</"
@@ -727,7 +720,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:331
+#: ri.xml:320
#, no-c-format
msgid ""
"You'll note that we've used the <literal>@Named</literal>
annotation, so "
@@ -738,7 +731,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:339
+#: ri.xml:328
#, no-c-format
msgid ""
"<![CDATA[package org.jboss.webbeans.examples.numberguess;\n"
@@ -936,13 +929,13 @@
"}]]>"
#. Tag: title
-#: ri.xml:343
+#: ri.xml:332
#, no-c-format
msgid "The translator example"
msgstr ""
#. Tag: para
-#: ri.xml:345
+#: ri.xml:334
#, no-c-format
msgid ""
"The translator example will take any sentences you enter, and translate them
"
@@ -950,7 +943,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:350
+#: ri.xml:339
#, no-c-format
msgid ""
"The translator example is built as an ear, and contains EJBs and enterprise "
@@ -959,7 +952,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:357
+#: ri.xml:346
#, no-c-format
msgid ""
"EJB 3.1 and Jave EE 6 allow you to package EJBs in a war, which will make "
@@ -967,18 +960,17 @@
msgstr ""
#. Tag: para
-#: ri.xml:363
+#: ri.xml:352
#, no-c-format
msgid ""
"First, let's take a look at the ear aggregator, which is located in "
"<literal>webbeans-translator-ear</literal> module. Maven automatically
"
-"generates the <literal>application.xml</literal> and
<literal>jboss-app.xml</"
-"literal> for us:"
+"generates the <literal>application.xml</literal> for us:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:370
-#, no-c-format
+#: ri.xml:358
+#, fuzzy, no-c-format
msgid ""
"<![CDATA[<plugin>\n"
" <groupId>org.apache.maven.plugins</groupId>\n"
@@ -991,10 +983,6 @@
" <contextRoot>/webbeans-translator</contextRoot>\n"
" </webModule>\n"
" </modules>\n"
-" <jboss>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</"
-"loader-repository>\n"
-" </jboss>\n"
" </configuration>\n"
"</plugin>]]>"
msgstr ""
@@ -1017,53 +1005,24 @@
"</plugin>]]>"
#. Tag: para
-#: ri.xml:372
+#: ri.xml:360
#, no-c-format
msgid ""
-"We're doing a couple of things here - firstly we set the context path, which
"
-"gives us a nice url (<ulink
url=\"http://localhost:8080/webbeans-translator"
-"\">http://localhost:8080/webbeans-translator</ulink>) and we also
enable "
-"class loader isolation for JBoss AS."
+"Here we set the context path, which gives us a nice url (<ulink
url=\"http://"
+"localhost:8080/webbeans-translator\">http://localhost:8080/webbeans-"
+"translator</ulink>)."
msgstr ""
#. Tag: para
-#: ri.xml:380
-#, no-c-format
+#: ri.xml:366
+#, fuzzy, no-c-format
msgid ""
"If you aren't using Maven to generate these files, you would need "
-"<literal>META-INF/jboss-app.xml</literal>:"
-msgstr ""
-
-#. Tag: programlisting
-#: ri.xml:385
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<!DOCTYPE jboss-app\n"
-" PUBLIC \"-//JBoss//DTD J2EE Application 4.2//EN\"\n"
-" \"http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd\">\n"
-"<jboss-app>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</loader-"
-"repository>\n"
-"</jboss-app>]]>"
-msgstr ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<!DOCTYPE jboss-app\n"
-" PUBLIC \"-//JBoss//DTD J2EE Application 4.2//EN\"\n"
-" \"http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd\">\n"
-"<jboss-app>\n"
-"
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</loader-"
-"repository>\n"
-"</jboss-app>]]>"
-
-#. Tag: para
-#: ri.xml:387
-#, no-c-format
-msgid "and <literal>META-INF/application.xml</literal>:"
+"<literal>META-INF/application.xml</literal>:"
msgstr "以及 <literal>META-INF/application.xml</literal>:"
#. Tag: programlisting
-#: ri.xml:391
+#: ri.xml:371
#, no-c-format
msgid ""
"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
@@ -1109,17 +1068,16 @@
"</application>]]>"
#. Tag: para
-#: ri.xml:394
+#: ri.xml:374
#, no-c-format
msgid ""
"Next, lets look at the war. Just as in the numberguess example, we have a "
"<literal>faces-config.xml</literal> (to enabled Facelets) and a
<literal>web."
-"xml</literal> (to enable JSF and attach Web Beans services to the servlet
"
-"container) in <literal>WebContent/WEB-INF</literal>."
+"xml</literal> (to enable JSF) in
<literal>WebContent/WEB-INF</literal>."
msgstr ""
#. Tag: para
-#: ri.xml:401
+#: ri.xml:381
#, no-c-format
msgid ""
"More intersting is the facelet used to translate text. Just as in the "
@@ -1128,7 +1086,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:407
+#: ri.xml:387
#, no-c-format
msgid ""
"<![CDATA[<h:form id=\"NumberGuessMain\">\n"
@@ -1188,7 +1146,7 @@
"</h:form>]]>"
#. Tag: para
-#: ri.xml:409
+#: ri.xml:389
#, no-c-format
msgid ""
"The user can enter some text in the lefthand textarea, and hit the translate
"
@@ -1196,72 +1154,17 @@
msgstr ""
#. Tag: para
-#: ri.xml:414
+#: ri.xml:394
#, no-c-format
msgid ""
"Finally, let's look at the ejb module,
<literal>webbeans-translator-ejb</"
-"literal>. There are two configuration files in
<literal>src/main/resources/"
-"META-INF</literal>, an empty <literal>web-beans.xml</literal>,
used to mark "
-"the archive as containing Web Beans, and
<literal>ejb-jar.xml</literal>. Web "
-"Beans provides injection and initializtion services for all EJBs, and uses "
-"<literal>ejb-jar.xml</literal> to enable this, you'll need this in
any EJB "
-"project which uses Web Beans:"
+"literal>. In <literal>src/main/resources/META-INF</literal> there is
just an "
+"empty <literal>web-beans.xml</literal>, used to mark the archive as
"
+"containing Web Beans."
msgstr ""
-#. Tag: programlisting
-#: ri.xml:426
-#, no-c-format
-msgid ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<ejb-jar
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
-"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
\n"
-"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://java."
-"sun.com/xml/ns/javaee/ejb-jar_3_0.xsd\"\n"
-" version=\"3.0\">\n"
-" \n"
-" <interceptors>\n"
-" <interceptor>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor>\n"
-" </interceptors>\n"
-" \n"
-" <assembly-descriptor>\n"
-" <interceptor-binding>\n"
-" <ejb-name>*</ejb-name>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor-binding>\n"
-" </assembly-descriptor>\n"
-" \n"
-"</ejb-jar>]]>"
-msgstr ""
-"<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
-"<ejb-jar
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
-"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
\n"
-"
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://java."
-"sun.com/xml/ns/javaee/ejb-jar_3_0.xsd\"\n"
-" version=\"3.0\">\n"
-" \n"
-" <interceptors>\n"
-" <interceptor>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor>\n"
-" </interceptors>\n"
-" \n"
-" <assembly-descriptor>\n"
-" <interceptor-binding>\n"
-" <ejb-name>*</ejb-name>\n"
-"
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
-"interceptor-class>\n"
-" </interceptor-binding>\n"
-" </assembly-descriptor>\n"
-" \n"
-"</ejb-jar>]]>"
-
#. Tag: para
-#: ri.xml:428
+#: ri.xml:402
#, no-c-format
msgid ""
"We've saved the most interesting bit to last, the code! The project has two
"
@@ -1273,7 +1176,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:438
+#: ri.xml:412
#, no-c-format
msgid ""
"Both <literal>SentanceParser</literal> and
<literal>TextTranslator</literal> "
@@ -1282,7 +1185,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:444
+#: ri.xml:418
#, no-c-format
msgid ""
"<![CDATA[public class TextTranslator { \n"
@@ -1308,7 +1211,7 @@
" this.sentenceTranslator = sentenceTranslator;]]>"
#. Tag: para
-#: ri.xml:446
+#: ri.xml:420
#, no-c-format
msgid ""
"<literal>TextTranslator</literal> is a stateless bean (with a local
business "
@@ -1317,7 +1220,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:452
+#: ri.xml:426
#, no-c-format
msgid ""
"Finally, there is UI orientated controller, that collects the text from the "
@@ -1326,7 +1229,7 @@
msgstr ""
#. Tag: programlisting
-#: ri.xml:458
+#: ri.xml:432
#, no-c-format
msgid ""
"<![CDATA[@Stateful\n"
@@ -1346,19 +1249,19 @@
" @Current TextTranslator translator;]]>"
#. Tag: para
-#: ri.xml:460
+#: ri.xml:434
#, no-c-format
msgid "The bean also has getters and setters for all the fields on the page."
msgstr ""
#. Tag: para
-#: ri.xml:464
+#: ri.xml:438
#, no-c-format
msgid "As this is a stateful session bean, we have to have a remove method:"
msgstr ""
#. Tag: programlisting
-#: ri.xml:468
+#: ri.xml:442
#, no-c-format
msgid ""
"<![CDATA[ @Remove\n"
@@ -1374,7 +1277,7 @@
" }]]>"
#. Tag: para
-#: ri.xml:470
+#: ri.xml:444
#, no-c-format
msgid ""
"The Web Beans manager will call the remove method for you when the bean is "
@@ -1382,7 +1285,7 @@
msgstr ""
#. Tag: para
-#: ri.xml:476
+#: ri.xml:450
#, no-c-format
msgid ""
"That concludes our short tour of the Web Beans RI examples. For more on the "
@@ -1392,10 +1295,77 @@
msgstr ""
#. Tag: para
-#: ri.xml:482
+#: ri.xml:456
#, no-c-format
msgid ""
"We need help in all areas - bug fixing, writing new features, writing "
"examples and translating this reference guide."
msgstr ""
+#~ msgid ""
+#~ "<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
+#~ "<!DOCTYPE jboss-app\n"
+#~ " PUBLIC \"-//JBoss//DTD J2EE Application 4.2//EN\"\n"
+#~ " \"http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd\">\n"
+#~ "<jboss-app>\n"
+#~ "
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</"
+#~ "loader-repository>\n"
+#~ "</jboss-app>]]>"
+#~ msgstr ""
+#~ "<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
+#~ "<!DOCTYPE jboss-app\n"
+#~ " PUBLIC \"-//JBoss//DTD J2EE Application 4.2//EN\"\n"
+#~ " \"http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd\">\n"
+#~ "<jboss-app>\n"
+#~ "
<loader-repository>webbeans.jboss.org:loader=webbeans-translator</"
+#~ "loader-repository>\n"
+#~ "</jboss-app>]]>"
+
+#~ msgid ""
+#~ "<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
+#~ "<ejb-jar
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
+#~ "
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
\n"
+#~ "
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://"
+#~ "java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd\"\n"
+#~ " version=\"3.0\">\n"
+#~ " \n"
+#~ " <interceptors>\n"
+#~ " <interceptor>\n"
+#~ "
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
+#~ "interceptor-class>\n"
+#~ " </interceptor>\n"
+#~ " </interceptors>\n"
+#~ " \n"
+#~ " <assembly-descriptor>\n"
+#~ " <interceptor-binding>\n"
+#~ " <ejb-name>*</ejb-name>\n"
+#~ " <interceptor-class>org.jboss.webbeans.ejb."
+#~ "SessionBeanInterceptor</interceptor-class>\n"
+#~ " </interceptor-binding>\n"
+#~ " </assembly-descriptor>\n"
+#~ " \n"
+#~ "</ejb-jar>]]>"
+#~ msgstr ""
+#~ "<![CDATA[<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n"
+#~ "<ejb-jar
xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
+#~ "
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
\n"
+#~ "
xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee
http://"
+#~ "java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd\"\n"
+#~ " version=\"3.0\">\n"
+#~ " \n"
+#~ " <interceptors>\n"
+#~ " <interceptor>\n"
+#~ "
<interceptor-class>org.jboss.webbeans.ejb.SessionBeanInterceptor</"
+#~ "interceptor-class>\n"
+#~ " </interceptor>\n"
+#~ " </interceptors>\n"
+#~ " \n"
+#~ " <assembly-descriptor>\n"
+#~ " <interceptor-binding>\n"
+#~ " <ejb-name>*</ejb-name>\n"
+#~ " <interceptor-class>org.jboss.webbeans.ejb."
+#~ "SessionBeanInterceptor</interceptor-class>\n"
+#~ " </interceptor-binding>\n"
+#~ " </assembly-descriptor>\n"
+#~ " \n"
+#~ "</ejb-jar>]]>"