[webbeans-commits] Webbeans SVN: r2423 - in doc/trunk/reference: es-ES and 7 other directories.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Wed Apr 15 15:06:47 EDT 2009


Author: nico.ben
Date: 2009-04-15 15:06:46 -0400 (Wed, 15 Apr 2009)
New Revision: 2423

Modified:
   doc/trunk/reference/de-DE/environments.po
   doc/trunk/reference/de-DE/producermethods.po
   doc/trunk/reference/de-DE/ri-spi.po
   doc/trunk/reference/de-DE/ri.po
   doc/trunk/reference/es-ES/environments.po
   doc/trunk/reference/es-ES/producermethods.po
   doc/trunk/reference/es-ES/ri-spi.po
   doc/trunk/reference/es-ES/ri.po
   doc/trunk/reference/fr-FR/environments.po
   doc/trunk/reference/fr-FR/producermethods.po
   doc/trunk/reference/fr-FR/ri-spi.po
   doc/trunk/reference/fr-FR/ri.po
   doc/trunk/reference/ja-JP/environments.po
   doc/trunk/reference/ja-JP/producermethods.po
   doc/trunk/reference/ja-JP/ri-spi.po
   doc/trunk/reference/ja-JP/ri.po
   doc/trunk/reference/ko-KR/environments.po
   doc/trunk/reference/ko-KR/producermethods.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/environments.pot
   doc/trunk/reference/pot/events.pot
   doc/trunk/reference/pot/example.pot
   doc/trunk/reference/pot/extend.pot
   doc/trunk/reference/pot/extensions.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/part5.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/environments.po
   doc/trunk/reference/pt-BR/producermethods.po
   doc/trunk/reference/pt-BR/ri-spi.po
   doc/trunk/reference/pt-BR/ri.po
   doc/trunk/reference/zh-CN/environments.po
   doc/trunk/reference/zh-CN/producermethods.po
   doc/trunk/reference/zh-CN/ri-spi.po
   doc/trunk/reference/zh-TW/environments.po
   doc/trunk/reference/zh-TW/producermethods.po
   doc/trunk/reference/zh-TW/ri-spi.po
   doc/trunk/reference/zh-TW/ri.po
Log:
Regenerated POT and updated all POs

Modified: doc/trunk/reference/de-DE/environments.po
===================================================================
--- doc/trunk/reference/de-DE/environments.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/de-DE/environments.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -3,9 +3,10 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection VERSION\n"
+"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection "
+"VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-03-28 17:09+0000\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -87,7 +88,7 @@
 msgstr ""
 
 #. Tag: para
-#: environments.xml:49 environments.xml:151
+#: environments.xml:49
 #, no-c-format
 msgid "TODO"
 msgstr ""
@@ -95,7 +96,7 @@
 #. Tag: title
 #: environments.xml:53
 #, no-c-format
-msgid "Tomcat"
+msgid "Tomcat (or any plain Servlet container)"
 msgstr ""
 
 #. Tag: para
@@ -109,9 +110,8 @@
 #, no-c-format
 msgid ""
 "Web Beans doesn't support deploying session beans, injection using "
-"<literal>@EJB</literal>, <literal>@Resource</literal>, or "
-"<literal>@PersistenceContext</literal> or using transactional events on "
-"Tomcat."
+"<literal>@EJB</literal>, or <literal>@PersistenceContext</literal> or using "
+"transactional events on Tomcat."
 msgstr ""
 
 #. Tag: para
@@ -121,7 +121,7 @@
 "Web Beans should be used as a web application library in Tomcat. You should "
 "place <literal>webbeans-tomcat.jar</literal> in <literal>WEB-INF/lib</"
 "literal>. <literal>webbeans-tomcat.jar</literal> is an \"uber-jar\" provided "
-"for your convenience. Instead, you could use it's component jars:"
+"for your convenience. Instead, you could use its component jars:"
 msgstr ""
 
 #. Tag: literal
@@ -177,7 +177,7 @@
 #, no-c-format
 msgid ""
 "You also need to explicitly specify the Tomcat servlet listener (used to "
-"boot Web Beans, and control it's interaction with requests) in <literal>web."
+"boot Web Beans, and control its interaction with requests) in <literal>web."
 "xml</literal>:"
 msgstr ""
 
@@ -186,7 +186,7 @@
 #, no-c-format
 msgid ""
 "<![CDATA[<listener>\n"
-"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-"
+"   <listener-class>org.jboss.webbeans.environment.servlet.Listener</listener-"
 "class>\n"
 "</listener>]]>"
 msgstr ""
@@ -237,13 +237,197 @@
 #: environments.xml:140
 #, no-c-format
 msgid ""
-"Tomcat doesn't only allows you to bind entries to <literal>java:comp/env</"
-"literal>, so the Manager will be available at <literal>java:comp/env/app/"
-"Manager</literal>"
+"Tomcat only allows you to bind entries to <literal>java:comp/env</literal>, "
+"so the Manager will be available at <literal>java:comp/env/app/Manager</"
+"literal>"
 msgstr ""
 
+#. Tag: para
+#: environments.xml:146
+#, no-c-format
+msgid ""
+"Web Beans also supports Servlet injection in Tomcat. To enable this, place "
+"the <literal>webbeans-tomcat-support.jar</literal> in <literal>$TOMCAT_HOME/"
+"lib</literal>, and add the following to your <literal>META-INF/context.xml</"
+"literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:153
+#, no-c-format
+msgid ""
+"<![CDATA[<Listener className=\"org.jboss.webbeans.environment.tomcat."
+"WebBeansLifecycleListener\" />]]>"
+msgstr ""
+
 #. Tag: title
-#: environments.xml:149
+#: environments.xml:158
 #, no-c-format
 msgid "Java SE"
 msgstr ""
+
+#. Tag: para
+#: environments.xml:160
+#, no-c-format
+msgid ""
+"Apart from improved integration of the Enterprise Java stack, Web Beans also "
+"provides a state of the art typesafe, stateful dependency injection "
+"framework. This is useful in a wide range of application types, enterprise "
+"or otherwise. To facilitate this, Web Beans provides a simple means for "
+"executing in the Java Standard Edition environment independently of any "
+"Enterprise Edition features."
+msgstr ""
+
+#. Tag: para
+#: environments.xml:168
+#, no-c-format
+msgid ""
+"When executing in the SE environment the following features of Web Beans are "
+"available:"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:174
+#, no-c-format
+msgid "Simple Web Beans (POJOs)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:179
+#, no-c-format
+msgid "Typesafe Dependency Injection"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:184
+#, no-c-format
+msgid "Application and Dependent Contexts"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:189
+#, no-c-format
+msgid "Binding Types"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:194
+#, no-c-format
+msgid "Stereotypes"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:199
+#, no-c-format
+msgid "Decorators"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:204
+#, no-c-format
+msgid "(TODO: Interceptors ?)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:209
+#, no-c-format
+msgid "Typesafe Event Model"
+msgstr ""
+
+#. Tag: title
+#: environments.xml:215
+#, no-c-format
+msgid "Web Beans SE Module"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:217
+#, no-c-format
+msgid ""
+"To make life easy for developers Web Beans provides a special module with a "
+"main method which will boot the Web Beans manager, automatically registering "
+"all simple Web Beans found on the classpath. This eliminates the need for "
+"application developers to write any bootstrapping code. The entry point for "
+"a Web Beans SE applications is a simple Web Bean which observes the standard "
+"<literal>@Deployed Manager</literal> event. The command line paramters can "
+"be injected using either of the following:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:226
+#, no-c-format
+msgid ""
+"<![CDATA[@Parameters List<String> params;\n"
+"@Parameters String[] paramsArray; // useful for compatability with existing "
+"classes]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:227
+#, no-c-format
+msgid "Here's an example of a simple Web Beans SE application:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:231
+#, no-c-format
+msgid ""
+"<![CDATA[@ApplicationScoped\n"
+"public class HelloWorld\n"
+"{\n"
+"    @Parameters List<String> parameters;\n"
+"\n"
+"    public void printHello( @Observes @Deployed Manager manager )\n"
+"    {\n"
+"        System.out.println( \"Hello \" + parameters.get(0) );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:233
+#, no-c-format
+msgid ""
+"Web Beans SE applications are started by running the following main method."
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:235
+#, no-c-format
+msgid "<![CDATA[java org.jboss.webbeans.environments.se.StartMain <args>]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:237
+#, no-c-format
+msgid ""
+"If you need to do any custom initialization of the Web Beans manager, for "
+"example registering custom contexts or initializing resources for your beans "
+"you can do so in response to the <literal>@Initialized Manager</literal> "
+"event. The following example registers a custom context:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:242
+#, no-c-format
+msgid ""
+"<![CDATA[public class PerformSetup\n"
+"{\n"
+"\n"
+"    public void setup( @Observes @Initialized Manager manager )\n"
+"    {\n"
+"        manager.addContext( ThreadContext.INSTANCE );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:246
+#, no-c-format
+msgid ""
+"The command line parameters do not become available for injection until the "
+"<literal>@Deployed Manager</literal> event is fired. If you need access to "
+"the parameters during initialization you can do so via the <literal>public "
+"static String getParameters()</literal> method in <literal>StartMain</"
+"literal>."
+msgstr ""

Modified: doc/trunk/reference/de-DE/producermethods.po
===================================================================
--- doc/trunk/reference/de-DE/producermethods.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/de-DE/producermethods.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: producermethods\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-02-23 08:08+1100\n"
 "Last-Translator: \n"
 "Language-Team:  <en at li.org>\n"
@@ -43,83 +43,29 @@
 msgid "According to the spec:"
 msgstr "Gemäß der Spezifikation:"
 
-#. Tag: para
-#: producermethods.xml:16
+#. Tag: chapter
+#: producermethods.xml:12
 #, no-c-format
 msgid ""
-"A Web Beans producer method acts as a source of objects to be injected, "
-"where:"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:20
-#, no-c-format
-msgid ""
-"the objects to be injected are not required to be instances of Web Beans,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:23
-#, no-c-format
-msgid "the concrete type of the objects to be injected may vary at runtime or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:26
-#, no-c-format
-msgid ""
-"the objects require some custom initialization that is not performed by the "
-"Web Bean constructor"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:33
-#, fuzzy, no-c-format
-msgid "For example, producer methods let us:"
-msgstr "Geltungsbereich einer Producer-Methode"
-
-#. Tag: para
-#: producermethods.xml:37
-#, no-c-format
-msgid "expose a JPA entity as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:40
-#, no-c-format
-msgid "expose any JDK class as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:43
-#, no-c-format
-msgid ""
-"define multiple Web Beans, with different scopes or initialization, for the "
-"same implementation class, or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:47
-#, no-c-format
-msgid "vary the implementation of an API type at runtime."
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:51
-#, no-c-format
-msgid ""
-"In particular, producer methods let us use runtime polymorphism with Web "
-"Beans. As we've seen, deployment types are a powerful solution to the "
-"problem of deployment-time polymorphism. But once the system is deployed, "
-"the Web Bean implementation is fixed. A producer method has no such "
-"limitation:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:56
-#, fuzzy, no-c-format
-msgid ""
-"<![CDATA[@SessionScoped\n"
+"<blockquote> <para>A Web Beans producer method acts as a source of objects "
+"to be injected, where:</para> <itemizedlist> <listitem> <para>the objects to "
+"be injected are not required to be instances of Web Beans,</para> </"
+"listitem> <listitem> <para>the concrete type of the objects to be injected "
+"may vary at runtime or</para> </listitem> <listitem> <para>the objects "
+"require some custom initialization that is not performed by the Web Bean "
+"constructor</para> </listitem> </itemizedlist> </blockquote> <para>For "
+"example, producer methods let us:</para> <itemizedlist> <listitem> "
+"<para>expose a JPA entity as a Web Bean,</para> </listitem> <listitem> "
+"<para>expose any JDK class as a Web Bean,</para> </listitem> <listitem> "
+"<para>define multiple Web Beans, with different scopes or initialization, "
+"for the same implementation class, or</para> </listitem> <listitem> "
+"<para>vary the implementation of an API type at runtime.</para> </listitem> "
+"</itemizedlist> <para>In particular, producer methods let us use runtime "
+"polymorphism with Web Beans. As we've seen, deployment types are a powerful "
+"solution to the problem of deployment-time polymorphism. But once the system "
+"is deployed, the Web Bean implementation is fixed. A producer method has no "
+"such limitation:</para> <programlisting role=\"JAVA\"><![CDATA"
+"[@SessionScoped\n"
 "public class Preferences {\n"
 "    \n"
 "    private PaymentStrategyType paymentStrategy;\n"
@@ -136,52 +82,60 @@
 "        } \n"
 "    }\n"
 "    \n"
-"}]]>"
+"}]]></programlisting> <para>Consider an injection point:</para> "
+"<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
+"paymentStrat;]]></programlisting> <para>This injection point has the same "
+"type and binding annotations as the producer method, so it resolves to the "
+"producer method using the usual Web Beans injection rules. The producer "
+"method will be called by the Web Bean manager to obtain an instance to "
+"service this injection point.</para>."
 msgstr ""
-"<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy(CreditCardPaymentStrategy ccps,\n"
-"                                          ChequePaymentStrategy cps,\n"
-"                                          PayPalPaymentStrategy ppps) {\n"
-"    switch (paymentStrategy) {\n"
-"        case CREDIT_CARD: return ccps;\n"
-"        case CHEQUE: return cps;\n"
-"        case PAYPAL: return ppps;\n"
-"        default: return null;\n"
-"    } \n"
-"}]]>"
-
-#. Tag: para
-#: producermethods.xml:58
-#, no-c-format
-msgid "Consider an injection point:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:60
-#, fuzzy, no-c-format
-msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
-msgstr ""
-"<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy() {\n"
+"<blockquote> <para>Eine Web Beans Producer-Methode fungiert als Quelle "
+"einzuspeisender Objekte wenn:</para> <itemizedlist> <listitem> <para>die "
+"einzuspeisenden Objekte keine Instanzen von Web Beans sein müssen,</para> </"
+"listitem> <listitem> <para>der konkrete Typ einzuspeisender Objekte zur "
+"Runtime variieren kann oder </para> </listitem> <listitem> <para>die Objekte "
+"eine bestimmte angepasste Initialisierung erfordern, die nicht vom Web Bean "
+"Konstruktor durchgeführt wird</para> </listitem> </itemizedlist> </"
+"blockquote> <para>Producer-Methoden lassen uns zum Beispiel:</para> "
+"<itemizedlist> <listitem> <para>eine JPA-Entity als ein Web Bean darlegen,</"
+"para> </listitem> <listitem> <para>eine beliebige JDK-Klasse als ein Web "
+"Bean darlegen,</para> </listitem> <listitem> <para>mehrere Web Beans mit "
+"unterschiedlichen Geltungsbereichen oder Initialisierung für diesselbe "
+"Implementierungsklasse definieren oder </para> </listitem> <listitem> "
+"<para>die Implementierung eines API-Typs zur Runtime variieren.</para> </"
+"listitem> </itemizedlist> <para>Insbesondere lassen uns Producer-Methoden "
+"Runtime-Polymorphie mit Web Beans verwenden. Wie wir bereits gesehen haben "
+"sind Deployment-Typen eine leistungsfähige Lösung zum Problem der "
+"Polymorphie zum Zeitpunkt des Deployment. Aber nachdem das System deployt "
+"ist, wird die Web Bean Implementierung behoben. Eine Producer-Methode "
+"besitzt keine solche Einschränkung:</para> <programlisting role=\"JAVA\"><!"
+"[CDATA[@SessionScoped\n"
+"public class Preferences {\n"
+"    \n"
+"    private PaymentStrategyType paymentStrategy;\n"
+"    \n"
 "    ...\n"
-"}]]>"
+"    \n"
+"    @Produces @Preferred \n"
+"    public PaymentStrategy getPaymentStrategy() {\n"
+"        switch (paymentStrategy) {\n"
+"            case CREDIT_CARD: return new CreditCardPaymentStrategy();\n"
+"            case CHEQUE: return new ChequePaymentStrategy();\n"
+"            case PAYPAL: return new PayPalPaymentStrategy();\n"
+"            default: return null;\n"
+"        } \n"
+"    }\n"
+"    \n"
+"}]]></programlisting> <para>Überlegen Sie einen Einspeisungspunkt:</para> "
+"<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
+"paymentStrat;]]></programlisting> <para>Dieser Einspeisungspunkt besitzt "
+"denselben Typ und diesselben Binding-Annotationen wie die Producer-Methode, "
+"so dass er unter Verwendung der üblichen Web Beans Einspeisungsregeln zur "
+"Producer-Methode auflöst. Die Producer-Methode wird vom Web Bean Manager "
+"aufgerufen um eine Instanz zu erhalten, um diesen Einspeisungspunkt zu "
+"bedienen.</para>."
 
-#. Tag: para
-#: producermethods.xml:62
-#, no-c-format
-msgid ""
-"This injection point has the same type and binding annotations as the "
-"producer method, so it resolves to the producer method using the usual Web "
-"Beans injection rules. The producer method will be called by the Web Bean "
-"manager to obtain an instance to service this injection point."
-msgstr ""
-
-#. Tag: chapter
-#: producermethods.xml:65
-#, no-c-format
-msgid "<chapter>.</chapter>"
-msgstr ""
-
 #. Tag: title
 #: producermethods.xml:68
 #, no-c-format
@@ -414,26 +368,13 @@
 "gelöscht bis das <literal>Preferences</literal>-Objekt gelöscht wird, meist "
 "am Ende der Session."
 
+#, fuzzy
+#~ msgid "For example, producer methods let us:"
+#~ msgstr "Geltungsbereich einer Producer-Methode"
+
+#, fuzzy
 #~ msgid ""
-#~ "<blockquote> <para>A Web Beans producer method acts as a source of "
-#~ "objects to be injected, where:</para> <itemizedlist> <listitem> <para>the "
-#~ "objects to be injected are not required to be instances of Web Beans,</"
-#~ "para> </listitem> <listitem> <para>the concrete type of the objects to be "
-#~ "injected may vary at runtime or</para> </listitem> <listitem> <para>the "
-#~ "objects require some custom initialization that is not performed by the "
-#~ "Web Bean constructor</para> </listitem> </itemizedlist> </blockquote> "
-#~ "<para>For example, producer methods let us:</para> <itemizedlist> "
-#~ "<listitem> <para>expose a JPA entity as a Web Bean,</para> </listitem> "
-#~ "<listitem> <para>expose any JDK class as a Web Bean,</para> </listitem> "
-#~ "<listitem> <para>define multiple Web Beans, with different scopes or "
-#~ "initialization, for the same implementation class, or</para> </listitem> "
-#~ "<listitem> <para>vary the implementation of an API type at runtime.</"
-#~ "para> </listitem> </itemizedlist> <para>In particular, producer methods "
-#~ "let us use runtime polymorphism with Web Beans. As we've seen, deployment "
-#~ "types are a powerful solution to the problem of deployment-time "
-#~ "polymorphism. But once the system is deployed, the Web Bean "
-#~ "implementation is fixed. A producer method has no such limitation:</para> "
-#~ "<programlisting role=\"JAVA\"><![CDATA[@SessionScoped\n"
+#~ "<![CDATA[@SessionScoped\n"
 #~ "public class Preferences {\n"
 #~ "    \n"
 #~ "    private PaymentStrategyType paymentStrategy;\n"
@@ -450,56 +391,25 @@
 #~ "        } \n"
 #~ "    }\n"
 #~ "    \n"
-#~ "}]]></programlisting> <para>Consider an injection point:</para> "
-#~ "<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
-#~ "paymentStrat;]]></programlisting> <para>This injection point has the same "
-#~ "type and binding annotations as the producer method, so it resolves to "
-#~ "the producer method using the usual Web Beans injection rules. The "
-#~ "producer method will be called by the Web Bean manager to obtain an "
-#~ "instance to service this injection point.</para>."
+#~ "}]]>"
 #~ msgstr ""
-#~ "<blockquote> <para>Eine Web Beans Producer-Methode fungiert als Quelle "
-#~ "einzuspeisender Objekte wenn:</para> <itemizedlist> <listitem> <para>die "
-#~ "einzuspeisenden Objekte keine Instanzen von Web Beans sein müssen,</para> "
-#~ "</listitem> <listitem> <para>der konkrete Typ einzuspeisender Objekte zur "
-#~ "Runtime variieren kann oder </para> </listitem> <listitem> <para>die "
-#~ "Objekte eine bestimmte angepasste Initialisierung erfordern, die nicht "
-#~ "vom Web Bean Konstruktor durchgeführt wird</para> </listitem> </"
-#~ "itemizedlist> </blockquote> <para>Producer-Methoden lassen uns zum "
-#~ "Beispiel:</para> <itemizedlist> <listitem> <para>eine JPA-Entity als ein "
-#~ "Web Bean darlegen,</para> </listitem> <listitem> <para>eine beliebige JDK-"
-#~ "Klasse als ein Web Bean darlegen,</para> </listitem> <listitem> "
-#~ "<para>mehrere Web Beans mit unterschiedlichen Geltungsbereichen oder "
-#~ "Initialisierung für diesselbe Implementierungsklasse definieren oder </"
-#~ "para> </listitem> <listitem> <para>die Implementierung eines API-Typs zur "
-#~ "Runtime variieren.</para> </listitem> </itemizedlist> <para>Insbesondere "
-#~ "lassen uns Producer-Methoden Runtime-Polymorphie mit Web Beans verwenden. "
-#~ "Wie wir bereits gesehen haben sind Deployment-Typen eine leistungsfähige "
-#~ "Lösung zum Problem der Polymorphie zum Zeitpunkt des Deployment. Aber "
-#~ "nachdem das System deployt ist, wird die Web Bean Implementierung "
-#~ "behoben. Eine Producer-Methode besitzt keine solche Einschränkung:</para> "
-#~ "<programlisting role=\"JAVA\"><![CDATA[@SessionScoped\n"
-#~ "public class Preferences {\n"
-#~ "    \n"
-#~ "    private PaymentStrategyType paymentStrategy;\n"
-#~ "    \n"
+#~ "<![CDATA[@Produces @Preferred @SessionScoped\n"
+#~ "public PaymentStrategy getPaymentStrategy(CreditCardPaymentStrategy "
+#~ "ccps,\n"
+#~ "                                          ChequePaymentStrategy cps,\n"
+#~ "                                          PayPalPaymentStrategy ppps) {\n"
+#~ "    switch (paymentStrategy) {\n"
+#~ "        case CREDIT_CARD: return ccps;\n"
+#~ "        case CHEQUE: return cps;\n"
+#~ "        case PAYPAL: return ppps;\n"
+#~ "        default: return null;\n"
+#~ "    } \n"
+#~ "}]]>"
+
+#, fuzzy
+#~ msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
+#~ msgstr ""
+#~ "<![CDATA[@Produces @Preferred @SessionScoped\n"
+#~ "public PaymentStrategy getPaymentStrategy() {\n"
 #~ "    ...\n"
-#~ "    \n"
-#~ "    @Produces @Preferred \n"
-#~ "    public PaymentStrategy getPaymentStrategy() {\n"
-#~ "        switch (paymentStrategy) {\n"
-#~ "            case CREDIT_CARD: return new CreditCardPaymentStrategy();\n"
-#~ "            case CHEQUE: return new ChequePaymentStrategy();\n"
-#~ "            case PAYPAL: return new PayPalPaymentStrategy();\n"
-#~ "            default: return null;\n"
-#~ "        } \n"
-#~ "    }\n"
-#~ "    \n"
-#~ "}]]></programlisting> <para>Überlegen Sie einen Einspeisungspunkt:</para> "
-#~ "<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
-#~ "paymentStrat;]]></programlisting> <para>Dieser Einspeisungspunkt besitzt "
-#~ "denselben Typ und diesselben Binding-Annotationen wie die Producer-"
-#~ "Methode, so dass er unter Verwendung der üblichen Web Beans "
-#~ "Einspeisungsregeln zur Producer-Methode auflöst. Die Producer-Methode "
-#~ "wird vom Web Bean Manager aufgerufen um eine Instanz zu erhalten, um "
-#~ "diesen Einspeisungspunkt zu bedienen.</para>."
+#~ "}]]>"

Modified: doc/trunk/reference/de-DE/ri-spi.po
===================================================================
--- doc/trunk/reference/de-DE/ri-spi.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/de-DE/ri-spi.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: ri-spi\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-03-05 14:40+1100\n"
 "Last-Translator: \n"
 "Language-Team:  <en at li.org>\n"
@@ -60,11 +60,11 @@
 
 #. Tag: para
 #: ri-spi.xml:26
-#, no-c-format
+#, fuzzy, no-c-format
 msgid ""
-"The Web Beans SPI is located in <literal>webbeans-ri-spi</literal> module, "
-"and packaged as <literal>webbeans-ri-spi.jar</literal>. Some SPIs are "
-"optional, if you need to override the default behavior, others are required."
+"The Web Beans SPI is located in <literal>webbeans-spi</literal> module, and "
+"packaged as <literal>webbeans-spi.jar</literal>. Some SPIs are optional, if "
+"you need to override the default behavior, others are required."
 msgstr ""
 "Das Web Beans SPI befindet sich im <literal>webbeans-ri-spi</literal>-Modul "
 "und ist als <literal>webbeans-ri-spi.jar</literal> verpackt. Einige SPIs "

Modified: doc/trunk/reference/de-DE/ri.po
===================================================================
--- doc/trunk/reference/de-DE/ri.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/de-DE/ri.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: ri\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-02-27 15:36+1100\n"
 "Last-Translator: \n"
 "Language-Team:  <en at li.org>\n"
@@ -599,8 +599,8 @@
 "<callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to "
 "<literal>.jsf</literal> pages to be handled by JSF </para> </callout> "
 "<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 "
+"giving our source files (facelets) an extension of <literal>.xhtml</literal> "
+"</para> </callout> <callout arearefs=\"session.timeout\"> <para> Configure a "
 "session timeout of 10 minutes </para> </callout> </calloutlist> </"
 "programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use "
 "Web Beans with any Servlet based web framework. </para> </note> <para> Let's "

Modified: doc/trunk/reference/es-ES/environments.po
===================================================================
--- doc/trunk/reference/es-ES/environments.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/es-ES/environments.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -3,9 +3,10 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection VERSION\n"
+"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection "
+"VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-03-28 17:09+0000\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -87,7 +88,7 @@
 msgstr ""
 
 #. Tag: para
-#: environments.xml:49 environments.xml:151
+#: environments.xml:49
 #, no-c-format
 msgid "TODO"
 msgstr ""
@@ -95,7 +96,7 @@
 #. Tag: title
 #: environments.xml:53
 #, no-c-format
-msgid "Tomcat"
+msgid "Tomcat (or any plain Servlet container)"
 msgstr ""
 
 #. Tag: para
@@ -109,9 +110,8 @@
 #, no-c-format
 msgid ""
 "Web Beans doesn't support deploying session beans, injection using "
-"<literal>@EJB</literal>, <literal>@Resource</literal>, or "
-"<literal>@PersistenceContext</literal> or using transactional events on "
-"Tomcat."
+"<literal>@EJB</literal>, or <literal>@PersistenceContext</literal> or using "
+"transactional events on Tomcat."
 msgstr ""
 
 #. Tag: para
@@ -121,7 +121,7 @@
 "Web Beans should be used as a web application library in Tomcat. You should "
 "place <literal>webbeans-tomcat.jar</literal> in <literal>WEB-INF/lib</"
 "literal>. <literal>webbeans-tomcat.jar</literal> is an \"uber-jar\" provided "
-"for your convenience. Instead, you could use it's component jars:"
+"for your convenience. Instead, you could use its component jars:"
 msgstr ""
 
 #. Tag: literal
@@ -177,7 +177,7 @@
 #, no-c-format
 msgid ""
 "You also need to explicitly specify the Tomcat servlet listener (used to "
-"boot Web Beans, and control it's interaction with requests) in <literal>web."
+"boot Web Beans, and control its interaction with requests) in <literal>web."
 "xml</literal>:"
 msgstr ""
 
@@ -186,7 +186,7 @@
 #, no-c-format
 msgid ""
 "<![CDATA[<listener>\n"
-"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-"
+"   <listener-class>org.jboss.webbeans.environment.servlet.Listener</listener-"
 "class>\n"
 "</listener>]]>"
 msgstr ""
@@ -237,13 +237,197 @@
 #: environments.xml:140
 #, no-c-format
 msgid ""
-"Tomcat doesn't only allows you to bind entries to <literal>java:comp/env</"
-"literal>, so the Manager will be available at <literal>java:comp/env/app/"
-"Manager</literal>"
+"Tomcat only allows you to bind entries to <literal>java:comp/env</literal>, "
+"so the Manager will be available at <literal>java:comp/env/app/Manager</"
+"literal>"
 msgstr ""
 
+#. Tag: para
+#: environments.xml:146
+#, no-c-format
+msgid ""
+"Web Beans also supports Servlet injection in Tomcat. To enable this, place "
+"the <literal>webbeans-tomcat-support.jar</literal> in <literal>$TOMCAT_HOME/"
+"lib</literal>, and add the following to your <literal>META-INF/context.xml</"
+"literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:153
+#, no-c-format
+msgid ""
+"<![CDATA[<Listener className=\"org.jboss.webbeans.environment.tomcat."
+"WebBeansLifecycleListener\" />]]>"
+msgstr ""
+
 #. Tag: title
-#: environments.xml:149
+#: environments.xml:158
 #, no-c-format
 msgid "Java SE"
 msgstr ""
+
+#. Tag: para
+#: environments.xml:160
+#, no-c-format
+msgid ""
+"Apart from improved integration of the Enterprise Java stack, Web Beans also "
+"provides a state of the art typesafe, stateful dependency injection "
+"framework. This is useful in a wide range of application types, enterprise "
+"or otherwise. To facilitate this, Web Beans provides a simple means for "
+"executing in the Java Standard Edition environment independently of any "
+"Enterprise Edition features."
+msgstr ""
+
+#. Tag: para
+#: environments.xml:168
+#, no-c-format
+msgid ""
+"When executing in the SE environment the following features of Web Beans are "
+"available:"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:174
+#, no-c-format
+msgid "Simple Web Beans (POJOs)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:179
+#, no-c-format
+msgid "Typesafe Dependency Injection"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:184
+#, no-c-format
+msgid "Application and Dependent Contexts"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:189
+#, no-c-format
+msgid "Binding Types"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:194
+#, no-c-format
+msgid "Stereotypes"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:199
+#, no-c-format
+msgid "Decorators"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:204
+#, no-c-format
+msgid "(TODO: Interceptors ?)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:209
+#, no-c-format
+msgid "Typesafe Event Model"
+msgstr ""
+
+#. Tag: title
+#: environments.xml:215
+#, no-c-format
+msgid "Web Beans SE Module"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:217
+#, no-c-format
+msgid ""
+"To make life easy for developers Web Beans provides a special module with a "
+"main method which will boot the Web Beans manager, automatically registering "
+"all simple Web Beans found on the classpath. This eliminates the need for "
+"application developers to write any bootstrapping code. The entry point for "
+"a Web Beans SE applications is a simple Web Bean which observes the standard "
+"<literal>@Deployed Manager</literal> event. The command line paramters can "
+"be injected using either of the following:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:226
+#, no-c-format
+msgid ""
+"<![CDATA[@Parameters List<String> params;\n"
+"@Parameters String[] paramsArray; // useful for compatability with existing "
+"classes]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:227
+#, no-c-format
+msgid "Here's an example of a simple Web Beans SE application:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:231
+#, no-c-format
+msgid ""
+"<![CDATA[@ApplicationScoped\n"
+"public class HelloWorld\n"
+"{\n"
+"    @Parameters List<String> parameters;\n"
+"\n"
+"    public void printHello( @Observes @Deployed Manager manager )\n"
+"    {\n"
+"        System.out.println( \"Hello \" + parameters.get(0) );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:233
+#, no-c-format
+msgid ""
+"Web Beans SE applications are started by running the following main method."
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:235
+#, no-c-format
+msgid "<![CDATA[java org.jboss.webbeans.environments.se.StartMain <args>]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:237
+#, no-c-format
+msgid ""
+"If you need to do any custom initialization of the Web Beans manager, for "
+"example registering custom contexts or initializing resources for your beans "
+"you can do so in response to the <literal>@Initialized Manager</literal> "
+"event. The following example registers a custom context:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:242
+#, no-c-format
+msgid ""
+"<![CDATA[public class PerformSetup\n"
+"{\n"
+"\n"
+"    public void setup( @Observes @Initialized Manager manager )\n"
+"    {\n"
+"        manager.addContext( ThreadContext.INSTANCE );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:246
+#, no-c-format
+msgid ""
+"The command line parameters do not become available for injection until the "
+"<literal>@Deployed Manager</literal> event is fired. If you need access to "
+"the parameters during initialization you can do so via the <literal>public "
+"static String getParameters()</literal> method in <literal>StartMain</"
+"literal>."
+msgstr ""

Modified: doc/trunk/reference/es-ES/producermethods.po
===================================================================
--- doc/trunk/reference/es-ES/producermethods.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/es-ES/producermethods.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: producermethods\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-01-19 17:00+1000\n"
 "Last-Translator: Gladys Guerrero Lozano <gguerrer at redhat.com>\n"
 "Language-Team: Spanish <fedora-trans-es at redhat.com>\n"
@@ -44,83 +44,29 @@
 msgid "According to the spec:"
 msgstr "Según las especificaciones:"
 
-#. Tag: para
-#: producermethods.xml:16
+#. Tag: chapter
+#: producermethods.xml:12
 #, no-c-format
 msgid ""
-"A Web Beans producer method acts as a source of objects to be injected, "
-"where:"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:20
-#, no-c-format
-msgid ""
-"the objects to be injected are not required to be instances of Web Beans,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:23
-#, no-c-format
-msgid "the concrete type of the objects to be injected may vary at runtime or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:26
-#, no-c-format
-msgid ""
-"the objects require some custom initialization that is not performed by the "
-"Web Bean constructor"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:33
-#, fuzzy, no-c-format
-msgid "For example, producer methods let us:"
-msgstr "Ámbito de un método de productor"
-
-#. Tag: para
-#: producermethods.xml:37
-#, no-c-format
-msgid "expose a JPA entity as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:40
-#, no-c-format
-msgid "expose any JDK class as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:43
-#, no-c-format
-msgid ""
-"define multiple Web Beans, with different scopes or initialization, for the "
-"same implementation class, or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:47
-#, no-c-format
-msgid "vary the implementation of an API type at runtime."
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:51
-#, no-c-format
-msgid ""
-"In particular, producer methods let us use runtime polymorphism with Web "
-"Beans. As we've seen, deployment types are a powerful solution to the "
-"problem of deployment-time polymorphism. But once the system is deployed, "
-"the Web Bean implementation is fixed. A producer method has no such "
-"limitation:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:56
-#, fuzzy, no-c-format
-msgid ""
-"<![CDATA[@SessionScoped\n"
+"<blockquote> <para>A Web Beans producer method acts as a source of objects "
+"to be injected, where:</para> <itemizedlist> <listitem> <para>the objects to "
+"be injected are not required to be instances of Web Beans,</para> </"
+"listitem> <listitem> <para>the concrete type of the objects to be injected "
+"may vary at runtime or</para> </listitem> <listitem> <para>the objects "
+"require some custom initialization that is not performed by the Web Bean "
+"constructor</para> </listitem> </itemizedlist> </blockquote> <para>For "
+"example, producer methods let us:</para> <itemizedlist> <listitem> "
+"<para>expose a JPA entity as a Web Bean,</para> </listitem> <listitem> "
+"<para>expose any JDK class as a Web Bean,</para> </listitem> <listitem> "
+"<para>define multiple Web Beans, with different scopes or initialization, "
+"for the same implementation class, or</para> </listitem> <listitem> "
+"<para>vary the implementation of an API type at runtime.</para> </listitem> "
+"</itemizedlist> <para>In particular, producer methods let us use runtime "
+"polymorphism with Web Beans. As we've seen, deployment types are a powerful "
+"solution to the problem of deployment-time polymorphism. But once the system "
+"is deployed, the Web Bean implementation is fixed. A producer method has no "
+"such limitation:</para> <programlisting role=\"JAVA\"><![CDATA"
+"[@SessionScoped\n"
 "public class Preferences {\n"
 "    \n"
 "    private PaymentStrategyType paymentStrategy;\n"
@@ -137,52 +83,60 @@
 "        } \n"
 "    }\n"
 "    \n"
-"}]]>"
+"}]]></programlisting> <para>Consider an injection point:</para> "
+"<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
+"paymentStrat;]]></programlisting> <para>This injection point has the same "
+"type and binding annotations as the producer method, so it resolves to the "
+"producer method using the usual Web Beans injection rules. The producer "
+"method will be called by the Web Bean manager to obtain an instance to "
+"service this injection point.</para>."
 msgstr ""
-"<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy(CreditCardPaymentStrategy ccps,\n"
-"                                          ChequePaymentStrategy cps,\n"
-"                                          PayPalPaymentStrategy ppps) {\n"
-"    switch (paymentStrategy) {\n"
-"        case CREDIT_CARD: return ccps;\n"
-"        case CHEQUE: return cps;\n"
-"        case PAYPAL: return ppps;\n"
-"        default: return null;\n"
-"    } \n"
-"}]]>"
-
-#. Tag: para
-#: producermethods.xml:58
-#, no-c-format
-msgid "Consider an injection point:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:60
-#, fuzzy, no-c-format
-msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
-msgstr ""
-"<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy() {\n"
+"<blockquote> <para>Un productor de Web Beans actúa como fuente de objetos a "
+"ser inyectados, donde:</para> <itemizedlist> <listitem> <para>los objetos "
+"que van a ser inyectados no necesitan ser instancias de Web Beans,</para> </"
+"listitem> <listitem> <para>el tipo concreto de objetos a ser inyectado puede "
+"variar en tiempo de ejecución o</para> </listitem> <listitem> <para>los "
+"objetos requieren alguna especificación de inicialización que no es "
+"realizada por el constructor de Web Bean</para> </listitem> </itemizedlist> "
+"</blockquote> <para>Por ejemplo, los métodos de productor nos permiten:</"
+"para> <itemizedlist> <listitem> <para>exponer una entidad JPA como un Web "
+"Bean,</para> </listitem> <listitem> <para>exponer cualquier clase JDK como "
+"un Web Bean,</para> </listitem> <listitem> <para>definir múltiples Web "
+"Beans, con diferentes ámbitos o inicialización para la misma clase de "
+"implementación, o</para> </listitem> <listitem> <para>variar la "
+"implementación de un tipo API en tiempo de ejecución.</para> </listitem> </"
+"itemizedlist> <para>En particular, los métodos de productor nos permiten "
+"utilizar polimorfismo de tiempo de ejecución con Web Beans. Como hemos "
+"visto, los tipos de despliegue son una solución potente para el problema del "
+"polimorfismo de tiempo de despliegue. Sin embargo, una vez que el sistema es "
+"desplegado, la implementación de Web Bean es corregida. El método de "
+"productor no tiene dicha limitación:</para> <programlisting role=\"JAVA\"><!"
+"[CDATA[@SessionScoped\n"
+"public class Preferences {\n"
+"    \n"
+"    private PaymentStrategyType paymentStrategy;\n"
+"    \n"
 "    ...\n"
-"}]]>"
+"    \n"
+"    @Produces @Preferred \n"
+"    public PaymentStrategy getPaymentStrategy() {\n"
+"        switch (paymentStrategy) {\n"
+"            case CREDIT_CARD: return new CreditCardPaymentStrategy();\n"
+"            case CHEQUE: return new ChequePaymentStrategy();\n"
+"            case PAYPAL: return new PayPalPaymentStrategy();\n"
+"            default: return null;\n"
+"        } \n"
+"    }\n"
+"    \n"
+"}]]></programlisting> <para>Consider an injection point:</para> "
+"<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
+"paymentStrat;]]></programlisting> <para>Este punto de inyección tiene el "
+"mismo tipo de anotaciones de enlace que el método de productor, por lo tanto "
+"apunta al método de productor mediante las reglas de inyección usuales de "
+"Web Beans. El método del productor será llamado por el administrador de Web "
+"Bean a fin de obtener una instancia para servir a este punto de inyección.</"
+"para>."
 
-#. Tag: para
-#: producermethods.xml:62
-#, no-c-format
-msgid ""
-"This injection point has the same type and binding annotations as the "
-"producer method, so it resolves to the producer method using the usual Web "
-"Beans injection rules. The producer method will be called by the Web Bean "
-"manager to obtain an instance to service this injection point."
-msgstr ""
-
-#. Tag: chapter
-#: producermethods.xml:65
-#, no-c-format
-msgid "<chapter>.</chapter>"
-msgstr ""
-
 #. Tag: title
 #: producermethods.xml:68
 #, no-c-format
@@ -411,26 +365,13 @@
 "contexto de sesión. El objeto dependiente no será destruido hasta que el "
 "objeto <literal>Preferencias</literal> sea destruido, al final de la sesión."
 
+#, fuzzy
+#~ msgid "For example, producer methods let us:"
+#~ msgstr "Ámbito de un método de productor"
+
+#, fuzzy
 #~ msgid ""
-#~ "<blockquote> <para>A Web Beans producer method acts as a source of "
-#~ "objects to be injected, where:</para> <itemizedlist> <listitem> <para>the "
-#~ "objects to be injected are not required to be instances of Web Beans,</"
-#~ "para> </listitem> <listitem> <para>the concrete type of the objects to be "
-#~ "injected may vary at runtime or</para> </listitem> <listitem> <para>the "
-#~ "objects require some custom initialization that is not performed by the "
-#~ "Web Bean constructor</para> </listitem> </itemizedlist> </blockquote> "
-#~ "<para>For example, producer methods let us:</para> <itemizedlist> "
-#~ "<listitem> <para>expose a JPA entity as a Web Bean,</para> </listitem> "
-#~ "<listitem> <para>expose any JDK class as a Web Bean,</para> </listitem> "
-#~ "<listitem> <para>define multiple Web Beans, with different scopes or "
-#~ "initialization, for the same implementation class, or</para> </listitem> "
-#~ "<listitem> <para>vary the implementation of an API type at runtime.</"
-#~ "para> </listitem> </itemizedlist> <para>In particular, producer methods "
-#~ "let us use runtime polymorphism with Web Beans. As we've seen, deployment "
-#~ "types are a powerful solution to the problem of deployment-time "
-#~ "polymorphism. But once the system is deployed, the Web Bean "
-#~ "implementation is fixed. A producer method has no such limitation:</para> "
-#~ "<programlisting role=\"JAVA\"><![CDATA[@SessionScoped\n"
+#~ "<![CDATA[@SessionScoped\n"
 #~ "public class Preferences {\n"
 #~ "    \n"
 #~ "    private PaymentStrategyType paymentStrategy;\n"
@@ -447,57 +388,25 @@
 #~ "        } \n"
 #~ "    }\n"
 #~ "    \n"
-#~ "}]]></programlisting> <para>Consider an injection point:</para> "
-#~ "<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
-#~ "paymentStrat;]]></programlisting> <para>This injection point has the same "
-#~ "type and binding annotations as the producer method, so it resolves to "
-#~ "the producer method using the usual Web Beans injection rules. The "
-#~ "producer method will be called by the Web Bean manager to obtain an "
-#~ "instance to service this injection point.</para>."
+#~ "}]]>"
 #~ msgstr ""
-#~ "<blockquote> <para>Un productor de Web Beans actúa como fuente de objetos "
-#~ "a ser inyectados, donde:</para> <itemizedlist> <listitem> <para>los "
-#~ "objetos que van a ser inyectados no necesitan ser instancias de Web Beans,"
-#~ "</para> </listitem> <listitem> <para>el tipo concreto de objetos a ser "
-#~ "inyectado puede variar en tiempo de ejecución o</para> </listitem> "
-#~ "<listitem> <para>los objetos requieren alguna especificación de "
-#~ "inicialización que no es realizada por el constructor de Web Bean</para> "
-#~ "</listitem> </itemizedlist> </blockquote> <para>Por ejemplo, los métodos "
-#~ "de productor nos permiten:</para> <itemizedlist> <listitem> <para>exponer "
-#~ "una entidad JPA como un Web Bean,</para> </listitem> <listitem> "
-#~ "<para>exponer cualquier clase JDK como un Web Bean,</para> </listitem> "
-#~ "<listitem> <para>definir múltiples Web Beans, con diferentes ámbitos o "
-#~ "inicialización para la misma clase de implementación, o</para> </"
-#~ "listitem> <listitem> <para>variar la implementación de un tipo API en "
-#~ "tiempo de ejecución.</para> </listitem> </itemizedlist> <para>En "
-#~ "particular, los métodos de productor nos permiten utilizar polimorfismo "
-#~ "de tiempo de ejecución con Web Beans. Como hemos visto, los tipos de "
-#~ "despliegue son una solución potente para el problema del polimorfismo de "
-#~ "tiempo de despliegue. Sin embargo, una vez que el sistema es desplegado, "
-#~ "la implementación de Web Bean es corregida. El método de productor no "
-#~ "tiene dicha limitación:</para> <programlisting role=\"JAVA\"><![CDATA"
-#~ "[@SessionScoped\n"
-#~ "public class Preferences {\n"
-#~ "    \n"
-#~ "    private PaymentStrategyType paymentStrategy;\n"
-#~ "    \n"
+#~ "<![CDATA[@Produces @Preferred @SessionScoped\n"
+#~ "public PaymentStrategy getPaymentStrategy(CreditCardPaymentStrategy "
+#~ "ccps,\n"
+#~ "                                          ChequePaymentStrategy cps,\n"
+#~ "                                          PayPalPaymentStrategy ppps) {\n"
+#~ "    switch (paymentStrategy) {\n"
+#~ "        case CREDIT_CARD: return ccps;\n"
+#~ "        case CHEQUE: return cps;\n"
+#~ "        case PAYPAL: return ppps;\n"
+#~ "        default: return null;\n"
+#~ "    } \n"
+#~ "}]]>"
+
+#, fuzzy
+#~ msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
+#~ msgstr ""
+#~ "<![CDATA[@Produces @Preferred @SessionScoped\n"
+#~ "public PaymentStrategy getPaymentStrategy() {\n"
 #~ "    ...\n"
-#~ "    \n"
-#~ "    @Produces @Preferred \n"
-#~ "    public PaymentStrategy getPaymentStrategy() {\n"
-#~ "        switch (paymentStrategy) {\n"
-#~ "            case CREDIT_CARD: return new CreditCardPaymentStrategy();\n"
-#~ "            case CHEQUE: return new ChequePaymentStrategy();\n"
-#~ "            case PAYPAL: return new PayPalPaymentStrategy();\n"
-#~ "            default: return null;\n"
-#~ "        } \n"
-#~ "    }\n"
-#~ "    \n"
-#~ "}]]></programlisting> <para>Consider an injection point:</para> "
-#~ "<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
-#~ "paymentStrat;]]></programlisting> <para>Este punto de inyección tiene el "
-#~ "mismo tipo de anotaciones de enlace que el método de productor, por lo "
-#~ "tanto apunta al método de productor mediante las reglas de inyección "
-#~ "usuales de Web Beans. El método del productor será llamado por el "
-#~ "administrador de Web Bean a fin de obtener una instancia para servir a "
-#~ "este punto de inyección.</para>."
+#~ "}]]>"

Modified: doc/trunk/reference/es-ES/ri-spi.po
===================================================================
--- doc/trunk/reference/es-ES/ri-spi.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/es-ES/ri-spi.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: ri-spi\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-01-20 10:15+1000\n"
 "Last-Translator: Gladys Guerrero Lozano <gguerrer at redhat.com>\n"
 "Language-Team: Spanish <fedora-trans-es at redhat.com>\n"
@@ -60,11 +60,11 @@
 
 #. Tag: para
 #: ri-spi.xml:26
-#, no-c-format
+#, fuzzy, no-c-format
 msgid ""
-"The Web Beans SPI is located in <literal>webbeans-ri-spi</literal> module, "
-"and packaged as <literal>webbeans-ri-spi.jar</literal>. Some SPIs are "
-"optional, if you need to override the default behavior, others are required."
+"The Web Beans SPI is located in <literal>webbeans-spi</literal> module, and "
+"packaged as <literal>webbeans-spi.jar</literal>. Some SPIs are optional, if "
+"you need to override the default behavior, others are required."
 msgstr ""
 "El SPI de Web Beans está ubicado en el módulo <literal>webbeans-ri-spi</"
 "literal>, empaquetado como <literal>webbeans-ri-spi.jar</literal>. Algunos "

Modified: doc/trunk/reference/es-ES/ri.po
===================================================================
--- doc/trunk/reference/es-ES/ri.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/es-ES/ri.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: ri\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-01-20 10:55+1000\n"
 "Last-Translator: Gladys Guerrero Lozano <gguerrer at redhat.com>\n"
 "Language-Team: Spanish <fedora-trans-es at redhat.com>\n"
@@ -594,8 +594,8 @@
 "<callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to "
 "<literal>.jsf</literal> pages to be handled by JSF </para> </callout> "
 "<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 "
+"giving our source files (facelets) an extension of <literal>.xhtml</literal> "
+"</para> </callout> <callout arearefs=\"session.timeout\"> <para> Configure a "
 "session timeout of 10 minutes </para> </callout> </calloutlist> </"
 "programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use "
 "Web Beans with any Servlet based web framework. </para> </note> <para> Let's "

Modified: doc/trunk/reference/fr-FR/environments.po
===================================================================
--- doc/trunk/reference/fr-FR/environments.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/fr-FR/environments.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -3,9 +3,10 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection VERSION\n"
+"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection "
+"VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-03-28 17:09+0000\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -87,7 +88,7 @@
 msgstr ""
 
 #. Tag: para
-#: environments.xml:49 environments.xml:151
+#: environments.xml:49
 #, no-c-format
 msgid "TODO"
 msgstr ""
@@ -95,7 +96,7 @@
 #. Tag: title
 #: environments.xml:53
 #, no-c-format
-msgid "Tomcat"
+msgid "Tomcat (or any plain Servlet container)"
 msgstr ""
 
 #. Tag: para
@@ -109,9 +110,8 @@
 #, no-c-format
 msgid ""
 "Web Beans doesn't support deploying session beans, injection using "
-"<literal>@EJB</literal>, <literal>@Resource</literal>, or "
-"<literal>@PersistenceContext</literal> or using transactional events on "
-"Tomcat."
+"<literal>@EJB</literal>, or <literal>@PersistenceContext</literal> or using "
+"transactional events on Tomcat."
 msgstr ""
 
 #. Tag: para
@@ -121,7 +121,7 @@
 "Web Beans should be used as a web application library in Tomcat. You should "
 "place <literal>webbeans-tomcat.jar</literal> in <literal>WEB-INF/lib</"
 "literal>. <literal>webbeans-tomcat.jar</literal> is an \"uber-jar\" provided "
-"for your convenience. Instead, you could use it's component jars:"
+"for your convenience. Instead, you could use its component jars:"
 msgstr ""
 
 #. Tag: literal
@@ -177,7 +177,7 @@
 #, no-c-format
 msgid ""
 "You also need to explicitly specify the Tomcat servlet listener (used to "
-"boot Web Beans, and control it's interaction with requests) in <literal>web."
+"boot Web Beans, and control its interaction with requests) in <literal>web."
 "xml</literal>:"
 msgstr ""
 
@@ -186,7 +186,7 @@
 #, no-c-format
 msgid ""
 "<![CDATA[<listener>\n"
-"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-"
+"   <listener-class>org.jboss.webbeans.environment.servlet.Listener</listener-"
 "class>\n"
 "</listener>]]>"
 msgstr ""
@@ -237,13 +237,197 @@
 #: environments.xml:140
 #, no-c-format
 msgid ""
-"Tomcat doesn't only allows you to bind entries to <literal>java:comp/env</"
-"literal>, so the Manager will be available at <literal>java:comp/env/app/"
-"Manager</literal>"
+"Tomcat only allows you to bind entries to <literal>java:comp/env</literal>, "
+"so the Manager will be available at <literal>java:comp/env/app/Manager</"
+"literal>"
 msgstr ""
 
+#. Tag: para
+#: environments.xml:146
+#, no-c-format
+msgid ""
+"Web Beans also supports Servlet injection in Tomcat. To enable this, place "
+"the <literal>webbeans-tomcat-support.jar</literal> in <literal>$TOMCAT_HOME/"
+"lib</literal>, and add the following to your <literal>META-INF/context.xml</"
+"literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:153
+#, no-c-format
+msgid ""
+"<![CDATA[<Listener className=\"org.jboss.webbeans.environment.tomcat."
+"WebBeansLifecycleListener\" />]]>"
+msgstr ""
+
 #. Tag: title
-#: environments.xml:149
+#: environments.xml:158
 #, no-c-format
 msgid "Java SE"
 msgstr ""
+
+#. Tag: para
+#: environments.xml:160
+#, no-c-format
+msgid ""
+"Apart from improved integration of the Enterprise Java stack, Web Beans also "
+"provides a state of the art typesafe, stateful dependency injection "
+"framework. This is useful in a wide range of application types, enterprise "
+"or otherwise. To facilitate this, Web Beans provides a simple means for "
+"executing in the Java Standard Edition environment independently of any "
+"Enterprise Edition features."
+msgstr ""
+
+#. Tag: para
+#: environments.xml:168
+#, no-c-format
+msgid ""
+"When executing in the SE environment the following features of Web Beans are "
+"available:"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:174
+#, no-c-format
+msgid "Simple Web Beans (POJOs)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:179
+#, no-c-format
+msgid "Typesafe Dependency Injection"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:184
+#, no-c-format
+msgid "Application and Dependent Contexts"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:189
+#, no-c-format
+msgid "Binding Types"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:194
+#, no-c-format
+msgid "Stereotypes"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:199
+#, no-c-format
+msgid "Decorators"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:204
+#, no-c-format
+msgid "(TODO: Interceptors ?)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:209
+#, no-c-format
+msgid "Typesafe Event Model"
+msgstr ""
+
+#. Tag: title
+#: environments.xml:215
+#, no-c-format
+msgid "Web Beans SE Module"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:217
+#, no-c-format
+msgid ""
+"To make life easy for developers Web Beans provides a special module with a "
+"main method which will boot the Web Beans manager, automatically registering "
+"all simple Web Beans found on the classpath. This eliminates the need for "
+"application developers to write any bootstrapping code. The entry point for "
+"a Web Beans SE applications is a simple Web Bean which observes the standard "
+"<literal>@Deployed Manager</literal> event. The command line paramters can "
+"be injected using either of the following:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:226
+#, no-c-format
+msgid ""
+"<![CDATA[@Parameters List<String> params;\n"
+"@Parameters String[] paramsArray; // useful for compatability with existing "
+"classes]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:227
+#, no-c-format
+msgid "Here's an example of a simple Web Beans SE application:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:231
+#, no-c-format
+msgid ""
+"<![CDATA[@ApplicationScoped\n"
+"public class HelloWorld\n"
+"{\n"
+"    @Parameters List<String> parameters;\n"
+"\n"
+"    public void printHello( @Observes @Deployed Manager manager )\n"
+"    {\n"
+"        System.out.println( \"Hello \" + parameters.get(0) );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:233
+#, no-c-format
+msgid ""
+"Web Beans SE applications are started by running the following main method."
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:235
+#, no-c-format
+msgid "<![CDATA[java org.jboss.webbeans.environments.se.StartMain <args>]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:237
+#, no-c-format
+msgid ""
+"If you need to do any custom initialization of the Web Beans manager, for "
+"example registering custom contexts or initializing resources for your beans "
+"you can do so in response to the <literal>@Initialized Manager</literal> "
+"event. The following example registers a custom context:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:242
+#, no-c-format
+msgid ""
+"<![CDATA[public class PerformSetup\n"
+"{\n"
+"\n"
+"    public void setup( @Observes @Initialized Manager manager )\n"
+"    {\n"
+"        manager.addContext( ThreadContext.INSTANCE );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:246
+#, no-c-format
+msgid ""
+"The command line parameters do not become available for injection until the "
+"<literal>@Deployed Manager</literal> event is fired. If you need access to "
+"the parameters during initialization you can do so via the <literal>public "
+"static String getParameters()</literal> method in <literal>StartMain</"
+"literal>."
+msgstr ""

Modified: doc/trunk/reference/fr-FR/producermethods.po
===================================================================
--- doc/trunk/reference/fr-FR/producermethods.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/fr-FR/producermethods.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -5,7 +5,7 @@
 msgstr ""
 "Project-Id-Version: master.xml \n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2008-12-19 20:26+0000\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -36,83 +36,29 @@
 msgid "According to the spec:"
 msgstr ""
 
-#. Tag: para
-#: producermethods.xml:16
+#. Tag: chapter
+#: producermethods.xml:12
 #, no-c-format
 msgid ""
-"A Web Beans producer method acts as a source of objects to be injected, "
-"where:"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:20
-#, no-c-format
-msgid ""
-"the objects to be injected are not required to be instances of Web Beans,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:23
-#, no-c-format
-msgid "the concrete type of the objects to be injected may vary at runtime or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:26
-#, no-c-format
-msgid ""
-"the objects require some custom initialization that is not performed by the "
-"Web Bean constructor"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:33
-#, no-c-format
-msgid "For example, producer methods let us:"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:37
-#, no-c-format
-msgid "expose a JPA entity as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:40
-#, no-c-format
-msgid "expose any JDK class as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:43
-#, no-c-format
-msgid ""
-"define multiple Web Beans, with different scopes or initialization, for the "
-"same implementation class, or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:47
-#, no-c-format
-msgid "vary the implementation of an API type at runtime."
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:51
-#, no-c-format
-msgid ""
-"In particular, producer methods let us use runtime polymorphism with Web "
-"Beans. As we've seen, deployment types are a powerful solution to the "
-"problem of deployment-time polymorphism. But once the system is deployed, "
-"the Web Bean implementation is fixed. A producer method has no such "
-"limitation:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:56
-#, no-c-format
-msgid ""
-"<![CDATA[@SessionScoped\n"
+"<blockquote> <para>A Web Beans producer method acts as a source of objects "
+"to be injected, where:</para> <itemizedlist> <listitem> <para>the objects to "
+"be injected are not required to be instances of Web Beans,</para> </"
+"listitem> <listitem> <para>the concrete type of the objects to be injected "
+"may vary at runtime or</para> </listitem> <listitem> <para>the objects "
+"require some custom initialization that is not performed by the Web Bean "
+"constructor</para> </listitem> </itemizedlist> </blockquote> <para>For "
+"example, producer methods let us:</para> <itemizedlist> <listitem> "
+"<para>expose a JPA entity as a Web Bean,</para> </listitem> <listitem> "
+"<para>expose any JDK class as a Web Bean,</para> </listitem> <listitem> "
+"<para>define multiple Web Beans, with different scopes or initialization, "
+"for the same implementation class, or</para> </listitem> <listitem> "
+"<para>vary the implementation of an API type at runtime.</para> </listitem> "
+"</itemizedlist> <para>In particular, producer methods let us use runtime "
+"polymorphism with Web Beans. As we've seen, deployment types are a powerful "
+"solution to the problem of deployment-time polymorphism. But once the system "
+"is deployed, the Web Bean implementation is fixed. A producer method has no "
+"such limitation:</para> <programlisting role=\"JAVA\"><![CDATA"
+"[@SessionScoped\n"
 "public class Preferences {\n"
 "    \n"
 "    private PaymentStrategyType paymentStrategy;\n"
@@ -129,37 +75,15 @@
 "        } \n"
 "    }\n"
 "    \n"
-"}]]>"
+"}]]></programlisting> <para>Consider an injection point:</para> "
+"<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
+"paymentStrat;]]></programlisting> <para>This injection point has the same "
+"type and binding annotations as the producer method, so it resolves to the "
+"producer method using the usual Web Beans injection rules. The producer "
+"method will be called by the Web Bean manager to obtain an instance to "
+"service this injection point.</para>."
 msgstr ""
 
-#. Tag: para
-#: producermethods.xml:58
-#, no-c-format
-msgid "Consider an injection point:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:60
-#, no-c-format
-msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:62
-#, no-c-format
-msgid ""
-"This injection point has the same type and binding annotations as the "
-"producer method, so it resolves to the producer method using the usual Web "
-"Beans injection rules. The producer method will be called by the Web Bean "
-"manager to obtain an instance to service this injection point."
-msgstr ""
-
-#. Tag: chapter
-#: producermethods.xml:65
-#, no-c-format
-msgid "<chapter>.</chapter>"
-msgstr ""
-
 #. Tag: title
 #: producermethods.xml:68
 #, no-c-format

Modified: doc/trunk/reference/fr-FR/ri-spi.po
===================================================================
--- doc/trunk/reference/fr-FR/ri-spi.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/fr-FR/ri-spi.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -5,7 +5,7 @@
 msgstr ""
 "Project-Id-Version: master.xml \n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2008-12-20 22:07+0000\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -50,9 +50,9 @@
 #: ri-spi.xml:26
 #, no-c-format
 msgid ""
-"The Web Beans SPI is located in <literal>webbeans-ri-spi</literal> module, "
-"and packaged as <literal>webbeans-ri-spi.jar</literal>. Some SPIs are "
-"optional, if you need to override the default behavior, others are required."
+"The Web Beans SPI is located in <literal>webbeans-spi</literal> module, and "
+"packaged as <literal>webbeans-spi.jar</literal>. Some SPIs are optional, if "
+"you need to override the default behavior, others are required."
 msgstr ""
 
 #. Tag: para

Modified: doc/trunk/reference/fr-FR/ri.po
===================================================================
--- doc/trunk/reference/fr-FR/ri.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/fr-FR/ri.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -5,7 +5,7 @@
 msgstr ""
 "Project-Id-Version: master.xml \n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2008-12-19 20:26+0000\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -501,8 +501,8 @@
 "<callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to "
 "<literal>.jsf</literal> pages to be handled by JSF </para> </callout> "
 "<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 "
+"giving our source files (facelets) an extension of <literal>.xhtml</literal> "
+"</para> </callout> <callout arearefs=\"session.timeout\"> <para> Configure a "
 "session timeout of 10 minutes </para> </callout> </calloutlist> </"
 "programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use "
 "Web Beans with any Servlet based web framework. </para> </note> <para> Let's "

Modified: doc/trunk/reference/ja-JP/environments.po
===================================================================
--- doc/trunk/reference/ja-JP/environments.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/ja-JP/environments.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -3,9 +3,10 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection VERSION\n"
+"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection "
+"VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-03-28 17:09+0000\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -87,7 +88,7 @@
 msgstr ""
 
 #. Tag: para
-#: environments.xml:49 environments.xml:151
+#: environments.xml:49
 #, no-c-format
 msgid "TODO"
 msgstr ""
@@ -95,7 +96,7 @@
 #. Tag: title
 #: environments.xml:53
 #, no-c-format
-msgid "Tomcat"
+msgid "Tomcat (or any plain Servlet container)"
 msgstr ""
 
 #. Tag: para
@@ -109,9 +110,8 @@
 #, no-c-format
 msgid ""
 "Web Beans doesn't support deploying session beans, injection using "
-"<literal>@EJB</literal>, <literal>@Resource</literal>, or "
-"<literal>@PersistenceContext</literal> or using transactional events on "
-"Tomcat."
+"<literal>@EJB</literal>, or <literal>@PersistenceContext</literal> or using "
+"transactional events on Tomcat."
 msgstr ""
 
 #. Tag: para
@@ -121,7 +121,7 @@
 "Web Beans should be used as a web application library in Tomcat. You should "
 "place <literal>webbeans-tomcat.jar</literal> in <literal>WEB-INF/lib</"
 "literal>. <literal>webbeans-tomcat.jar</literal> is an \"uber-jar\" provided "
-"for your convenience. Instead, you could use it's component jars:"
+"for your convenience. Instead, you could use its component jars:"
 msgstr ""
 
 #. Tag: literal
@@ -177,7 +177,7 @@
 #, no-c-format
 msgid ""
 "You also need to explicitly specify the Tomcat servlet listener (used to "
-"boot Web Beans, and control it's interaction with requests) in <literal>web."
+"boot Web Beans, and control its interaction with requests) in <literal>web."
 "xml</literal>:"
 msgstr ""
 
@@ -186,7 +186,7 @@
 #, no-c-format
 msgid ""
 "<![CDATA[<listener>\n"
-"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-"
+"   <listener-class>org.jboss.webbeans.environment.servlet.Listener</listener-"
 "class>\n"
 "</listener>]]>"
 msgstr ""
@@ -237,13 +237,197 @@
 #: environments.xml:140
 #, no-c-format
 msgid ""
-"Tomcat doesn't only allows you to bind entries to <literal>java:comp/env</"
-"literal>, so the Manager will be available at <literal>java:comp/env/app/"
-"Manager</literal>"
+"Tomcat only allows you to bind entries to <literal>java:comp/env</literal>, "
+"so the Manager will be available at <literal>java:comp/env/app/Manager</"
+"literal>"
 msgstr ""
 
+#. Tag: para
+#: environments.xml:146
+#, no-c-format
+msgid ""
+"Web Beans also supports Servlet injection in Tomcat. To enable this, place "
+"the <literal>webbeans-tomcat-support.jar</literal> in <literal>$TOMCAT_HOME/"
+"lib</literal>, and add the following to your <literal>META-INF/context.xml</"
+"literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:153
+#, no-c-format
+msgid ""
+"<![CDATA[<Listener className=\"org.jboss.webbeans.environment.tomcat."
+"WebBeansLifecycleListener\" />]]>"
+msgstr ""
+
 #. Tag: title
-#: environments.xml:149
+#: environments.xml:158
 #, no-c-format
 msgid "Java SE"
 msgstr ""
+
+#. Tag: para
+#: environments.xml:160
+#, no-c-format
+msgid ""
+"Apart from improved integration of the Enterprise Java stack, Web Beans also "
+"provides a state of the art typesafe, stateful dependency injection "
+"framework. This is useful in a wide range of application types, enterprise "
+"or otherwise. To facilitate this, Web Beans provides a simple means for "
+"executing in the Java Standard Edition environment independently of any "
+"Enterprise Edition features."
+msgstr ""
+
+#. Tag: para
+#: environments.xml:168
+#, no-c-format
+msgid ""
+"When executing in the SE environment the following features of Web Beans are "
+"available:"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:174
+#, no-c-format
+msgid "Simple Web Beans (POJOs)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:179
+#, no-c-format
+msgid "Typesafe Dependency Injection"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:184
+#, no-c-format
+msgid "Application and Dependent Contexts"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:189
+#, no-c-format
+msgid "Binding Types"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:194
+#, no-c-format
+msgid "Stereotypes"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:199
+#, no-c-format
+msgid "Decorators"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:204
+#, no-c-format
+msgid "(TODO: Interceptors ?)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:209
+#, no-c-format
+msgid "Typesafe Event Model"
+msgstr ""
+
+#. Tag: title
+#: environments.xml:215
+#, no-c-format
+msgid "Web Beans SE Module"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:217
+#, no-c-format
+msgid ""
+"To make life easy for developers Web Beans provides a special module with a "
+"main method which will boot the Web Beans manager, automatically registering "
+"all simple Web Beans found on the classpath. This eliminates the need for "
+"application developers to write any bootstrapping code. The entry point for "
+"a Web Beans SE applications is a simple Web Bean which observes the standard "
+"<literal>@Deployed Manager</literal> event. The command line paramters can "
+"be injected using either of the following:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:226
+#, no-c-format
+msgid ""
+"<![CDATA[@Parameters List<String> params;\n"
+"@Parameters String[] paramsArray; // useful for compatability with existing "
+"classes]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:227
+#, no-c-format
+msgid "Here's an example of a simple Web Beans SE application:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:231
+#, no-c-format
+msgid ""
+"<![CDATA[@ApplicationScoped\n"
+"public class HelloWorld\n"
+"{\n"
+"    @Parameters List<String> parameters;\n"
+"\n"
+"    public void printHello( @Observes @Deployed Manager manager )\n"
+"    {\n"
+"        System.out.println( \"Hello \" + parameters.get(0) );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:233
+#, no-c-format
+msgid ""
+"Web Beans SE applications are started by running the following main method."
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:235
+#, no-c-format
+msgid "<![CDATA[java org.jboss.webbeans.environments.se.StartMain <args>]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:237
+#, no-c-format
+msgid ""
+"If you need to do any custom initialization of the Web Beans manager, for "
+"example registering custom contexts or initializing resources for your beans "
+"you can do so in response to the <literal>@Initialized Manager</literal> "
+"event. The following example registers a custom context:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:242
+#, no-c-format
+msgid ""
+"<![CDATA[public class PerformSetup\n"
+"{\n"
+"\n"
+"    public void setup( @Observes @Initialized Manager manager )\n"
+"    {\n"
+"        manager.addContext( ThreadContext.INSTANCE );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:246
+#, no-c-format
+msgid ""
+"The command line parameters do not become available for injection until the "
+"<literal>@Deployed Manager</literal> event is fired. If you need access to "
+"the parameters during initialization you can do so via the <literal>public "
+"static String getParameters()</literal> method in <literal>StartMain</"
+"literal>."
+msgstr ""

Modified: doc/trunk/reference/ja-JP/producermethods.po
===================================================================
--- doc/trunk/reference/ja-JP/producermethods.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/ja-JP/producermethods.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -5,7 +5,7 @@
 msgstr ""
 "Project-Id-Version: master.xml \n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2008-12-19 20:26+0000\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -36,83 +36,29 @@
 msgid "According to the spec:"
 msgstr ""
 
-#. Tag: para
-#: producermethods.xml:16
+#. Tag: chapter
+#: producermethods.xml:12
 #, no-c-format
 msgid ""
-"A Web Beans producer method acts as a source of objects to be injected, "
-"where:"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:20
-#, no-c-format
-msgid ""
-"the objects to be injected are not required to be instances of Web Beans,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:23
-#, no-c-format
-msgid "the concrete type of the objects to be injected may vary at runtime or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:26
-#, no-c-format
-msgid ""
-"the objects require some custom initialization that is not performed by the "
-"Web Bean constructor"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:33
-#, no-c-format
-msgid "For example, producer methods let us:"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:37
-#, no-c-format
-msgid "expose a JPA entity as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:40
-#, no-c-format
-msgid "expose any JDK class as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:43
-#, no-c-format
-msgid ""
-"define multiple Web Beans, with different scopes or initialization, for the "
-"same implementation class, or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:47
-#, no-c-format
-msgid "vary the implementation of an API type at runtime."
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:51
-#, no-c-format
-msgid ""
-"In particular, producer methods let us use runtime polymorphism with Web "
-"Beans. As we've seen, deployment types are a powerful solution to the "
-"problem of deployment-time polymorphism. But once the system is deployed, "
-"the Web Bean implementation is fixed. A producer method has no such "
-"limitation:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:56
-#, no-c-format
-msgid ""
-"<![CDATA[@SessionScoped\n"
+"<blockquote> <para>A Web Beans producer method acts as a source of objects "
+"to be injected, where:</para> <itemizedlist> <listitem> <para>the objects to "
+"be injected are not required to be instances of Web Beans,</para> </"
+"listitem> <listitem> <para>the concrete type of the objects to be injected "
+"may vary at runtime or</para> </listitem> <listitem> <para>the objects "
+"require some custom initialization that is not performed by the Web Bean "
+"constructor</para> </listitem> </itemizedlist> </blockquote> <para>For "
+"example, producer methods let us:</para> <itemizedlist> <listitem> "
+"<para>expose a JPA entity as a Web Bean,</para> </listitem> <listitem> "
+"<para>expose any JDK class as a Web Bean,</para> </listitem> <listitem> "
+"<para>define multiple Web Beans, with different scopes or initialization, "
+"for the same implementation class, or</para> </listitem> <listitem> "
+"<para>vary the implementation of an API type at runtime.</para> </listitem> "
+"</itemizedlist> <para>In particular, producer methods let us use runtime "
+"polymorphism with Web Beans. As we've seen, deployment types are a powerful "
+"solution to the problem of deployment-time polymorphism. But once the system "
+"is deployed, the Web Bean implementation is fixed. A producer method has no "
+"such limitation:</para> <programlisting role=\"JAVA\"><![CDATA"
+"[@SessionScoped\n"
 "public class Preferences {\n"
 "    \n"
 "    private PaymentStrategyType paymentStrategy;\n"
@@ -129,37 +75,15 @@
 "        } \n"
 "    }\n"
 "    \n"
-"}]]>"
+"}]]></programlisting> <para>Consider an injection point:</para> "
+"<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
+"paymentStrat;]]></programlisting> <para>This injection point has the same "
+"type and binding annotations as the producer method, so it resolves to the "
+"producer method using the usual Web Beans injection rules. The producer "
+"method will be called by the Web Bean manager to obtain an instance to "
+"service this injection point.</para>."
 msgstr ""
 
-#. Tag: para
-#: producermethods.xml:58
-#, no-c-format
-msgid "Consider an injection point:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:60
-#, no-c-format
-msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:62
-#, no-c-format
-msgid ""
-"This injection point has the same type and binding annotations as the "
-"producer method, so it resolves to the producer method using the usual Web "
-"Beans injection rules. The producer method will be called by the Web Bean "
-"manager to obtain an instance to service this injection point."
-msgstr ""
-
-#. Tag: chapter
-#: producermethods.xml:65
-#, no-c-format
-msgid "<chapter>.</chapter>"
-msgstr ""
-
 #. Tag: title
 #: producermethods.xml:68
 #, no-c-format

Modified: doc/trunk/reference/ja-JP/ri-spi.po
===================================================================
--- doc/trunk/reference/ja-JP/ri-spi.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/ja-JP/ri-spi.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -5,7 +5,7 @@
 msgstr ""
 "Project-Id-Version: master.xml \n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2008-12-20 22:07+0000\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -50,9 +50,9 @@
 #: ri-spi.xml:26
 #, no-c-format
 msgid ""
-"The Web Beans SPI is located in <literal>webbeans-ri-spi</literal> module, "
-"and packaged as <literal>webbeans-ri-spi.jar</literal>. Some SPIs are "
-"optional, if you need to override the default behavior, others are required."
+"The Web Beans SPI is located in <literal>webbeans-spi</literal> module, and "
+"packaged as <literal>webbeans-spi.jar</literal>. Some SPIs are optional, if "
+"you need to override the default behavior, others are required."
 msgstr ""
 
 #. Tag: para

Modified: doc/trunk/reference/ja-JP/ri.po
===================================================================
--- doc/trunk/reference/ja-JP/ri.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/ja-JP/ri.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -5,7 +5,7 @@
 msgstr ""
 "Project-Id-Version: master.xml \n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2008-12-19 20:26+0000\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -501,8 +501,8 @@
 "<callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to "
 "<literal>.jsf</literal> pages to be handled by JSF </para> </callout> "
 "<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 "
+"giving our source files (facelets) an extension of <literal>.xhtml</literal> "
+"</para> </callout> <callout arearefs=\"session.timeout\"> <para> Configure a "
 "session timeout of 10 minutes </para> </callout> </calloutlist> </"
 "programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use "
 "Web Beans with any Servlet based web framework. </para> </note> <para> Let's "

Modified: doc/trunk/reference/ko-KR/environments.po
===================================================================
--- doc/trunk/reference/ko-KR/environments.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/ko-KR/environments.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -3,9 +3,10 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection VERSION\n"
+"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection "
+"VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-03-28 17:09+0000\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -87,7 +88,7 @@
 msgstr ""
 
 #. Tag: para
-#: environments.xml:49 environments.xml:151
+#: environments.xml:49
 #, no-c-format
 msgid "TODO"
 msgstr ""
@@ -95,7 +96,7 @@
 #. Tag: title
 #: environments.xml:53
 #, no-c-format
-msgid "Tomcat"
+msgid "Tomcat (or any plain Servlet container)"
 msgstr ""
 
 #. Tag: para
@@ -109,9 +110,8 @@
 #, no-c-format
 msgid ""
 "Web Beans doesn't support deploying session beans, injection using "
-"<literal>@EJB</literal>, <literal>@Resource</literal>, or "
-"<literal>@PersistenceContext</literal> or using transactional events on "
-"Tomcat."
+"<literal>@EJB</literal>, or <literal>@PersistenceContext</literal> or using "
+"transactional events on Tomcat."
 msgstr ""
 
 #. Tag: para
@@ -121,7 +121,7 @@
 "Web Beans should be used as a web application library in Tomcat. You should "
 "place <literal>webbeans-tomcat.jar</literal> in <literal>WEB-INF/lib</"
 "literal>. <literal>webbeans-tomcat.jar</literal> is an \"uber-jar\" provided "
-"for your convenience. Instead, you could use it's component jars:"
+"for your convenience. Instead, you could use its component jars:"
 msgstr ""
 
 #. Tag: literal
@@ -177,7 +177,7 @@
 #, no-c-format
 msgid ""
 "You also need to explicitly specify the Tomcat servlet listener (used to "
-"boot Web Beans, and control it's interaction with requests) in <literal>web."
+"boot Web Beans, and control its interaction with requests) in <literal>web."
 "xml</literal>:"
 msgstr ""
 
@@ -186,7 +186,7 @@
 #, no-c-format
 msgid ""
 "<![CDATA[<listener>\n"
-"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-"
+"   <listener-class>org.jboss.webbeans.environment.servlet.Listener</listener-"
 "class>\n"
 "</listener>]]>"
 msgstr ""
@@ -237,13 +237,197 @@
 #: environments.xml:140
 #, no-c-format
 msgid ""
-"Tomcat doesn't only allows you to bind entries to <literal>java:comp/env</"
-"literal>, so the Manager will be available at <literal>java:comp/env/app/"
-"Manager</literal>"
+"Tomcat only allows you to bind entries to <literal>java:comp/env</literal>, "
+"so the Manager will be available at <literal>java:comp/env/app/Manager</"
+"literal>"
 msgstr ""
 
+#. Tag: para
+#: environments.xml:146
+#, no-c-format
+msgid ""
+"Web Beans also supports Servlet injection in Tomcat. To enable this, place "
+"the <literal>webbeans-tomcat-support.jar</literal> in <literal>$TOMCAT_HOME/"
+"lib</literal>, and add the following to your <literal>META-INF/context.xml</"
+"literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:153
+#, no-c-format
+msgid ""
+"<![CDATA[<Listener className=\"org.jboss.webbeans.environment.tomcat."
+"WebBeansLifecycleListener\" />]]>"
+msgstr ""
+
 #. Tag: title
-#: environments.xml:149
+#: environments.xml:158
 #, no-c-format
 msgid "Java SE"
 msgstr ""
+
+#. Tag: para
+#: environments.xml:160
+#, no-c-format
+msgid ""
+"Apart from improved integration of the Enterprise Java stack, Web Beans also "
+"provides a state of the art typesafe, stateful dependency injection "
+"framework. This is useful in a wide range of application types, enterprise "
+"or otherwise. To facilitate this, Web Beans provides a simple means for "
+"executing in the Java Standard Edition environment independently of any "
+"Enterprise Edition features."
+msgstr ""
+
+#. Tag: para
+#: environments.xml:168
+#, no-c-format
+msgid ""
+"When executing in the SE environment the following features of Web Beans are "
+"available:"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:174
+#, no-c-format
+msgid "Simple Web Beans (POJOs)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:179
+#, no-c-format
+msgid "Typesafe Dependency Injection"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:184
+#, no-c-format
+msgid "Application and Dependent Contexts"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:189
+#, no-c-format
+msgid "Binding Types"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:194
+#, no-c-format
+msgid "Stereotypes"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:199
+#, no-c-format
+msgid "Decorators"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:204
+#, no-c-format
+msgid "(TODO: Interceptors ?)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:209
+#, no-c-format
+msgid "Typesafe Event Model"
+msgstr ""
+
+#. Tag: title
+#: environments.xml:215
+#, no-c-format
+msgid "Web Beans SE Module"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:217
+#, no-c-format
+msgid ""
+"To make life easy for developers Web Beans provides a special module with a "
+"main method which will boot the Web Beans manager, automatically registering "
+"all simple Web Beans found on the classpath. This eliminates the need for "
+"application developers to write any bootstrapping code. The entry point for "
+"a Web Beans SE applications is a simple Web Bean which observes the standard "
+"<literal>@Deployed Manager</literal> event. The command line paramters can "
+"be injected using either of the following:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:226
+#, no-c-format
+msgid ""
+"<![CDATA[@Parameters List<String> params;\n"
+"@Parameters String[] paramsArray; // useful for compatability with existing "
+"classes]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:227
+#, no-c-format
+msgid "Here's an example of a simple Web Beans SE application:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:231
+#, no-c-format
+msgid ""
+"<![CDATA[@ApplicationScoped\n"
+"public class HelloWorld\n"
+"{\n"
+"    @Parameters List<String> parameters;\n"
+"\n"
+"    public void printHello( @Observes @Deployed Manager manager )\n"
+"    {\n"
+"        System.out.println( \"Hello \" + parameters.get(0) );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:233
+#, no-c-format
+msgid ""
+"Web Beans SE applications are started by running the following main method."
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:235
+#, no-c-format
+msgid "<![CDATA[java org.jboss.webbeans.environments.se.StartMain <args>]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:237
+#, no-c-format
+msgid ""
+"If you need to do any custom initialization of the Web Beans manager, for "
+"example registering custom contexts or initializing resources for your beans "
+"you can do so in response to the <literal>@Initialized Manager</literal> "
+"event. The following example registers a custom context:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:242
+#, no-c-format
+msgid ""
+"<![CDATA[public class PerformSetup\n"
+"{\n"
+"\n"
+"    public void setup( @Observes @Initialized Manager manager )\n"
+"    {\n"
+"        manager.addContext( ThreadContext.INSTANCE );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:246
+#, no-c-format
+msgid ""
+"The command line parameters do not become available for injection until the "
+"<literal>@Deployed Manager</literal> event is fired. If you need access to "
+"the parameters during initialization you can do so via the <literal>public "
+"static String getParameters()</literal> method in <literal>StartMain</"
+"literal>."
+msgstr ""

Modified: doc/trunk/reference/ko-KR/producermethods.po
===================================================================
--- doc/trunk/reference/ko-KR/producermethods.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/ko-KR/producermethods.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: producermethods\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-01-23 11:12+1000\n"
 "Last-Translator: Eunju Kim <eukim at redhat.com>\n"
 "Language-Team: Korean <ko at li.org>\n"
@@ -47,83 +47,29 @@
 msgid "According to the spec:"
 msgstr "spec에 의하면: "
 
-#. Tag: para
-#: producermethods.xml:16
+#. Tag: chapter
+#: producermethods.xml:12
 #, no-c-format
 msgid ""
-"A Web Beans producer method acts as a source of objects to be injected, "
-"where:"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:20
-#, no-c-format
-msgid ""
-"the objects to be injected are not required to be instances of Web Beans,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:23
-#, no-c-format
-msgid "the concrete type of the objects to be injected may vary at runtime or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:26
-#, no-c-format
-msgid ""
-"the objects require some custom initialization that is not performed by the "
-"Web Bean constructor"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:33
-#, fuzzy, no-c-format
-msgid "For example, producer methods let us:"
-msgstr "생산자 방식의 범위 "
-
-#. Tag: para
-#: producermethods.xml:37
-#, no-c-format
-msgid "expose a JPA entity as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:40
-#, no-c-format
-msgid "expose any JDK class as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:43
-#, no-c-format
-msgid ""
-"define multiple Web Beans, with different scopes or initialization, for the "
-"same implementation class, or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:47
-#, no-c-format
-msgid "vary the implementation of an API type at runtime."
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:51
-#, no-c-format
-msgid ""
-"In particular, producer methods let us use runtime polymorphism with Web "
-"Beans. As we've seen, deployment types are a powerful solution to the "
-"problem of deployment-time polymorphism. But once the system is deployed, "
-"the Web Bean implementation is fixed. A producer method has no such "
-"limitation:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:56
-#, fuzzy, no-c-format
-msgid ""
-"<![CDATA[@SessionScoped\n"
+"<blockquote> <para>A Web Beans producer method acts as a source of objects "
+"to be injected, where:</para> <itemizedlist> <listitem> <para>the objects to "
+"be injected are not required to be instances of Web Beans,</para> </"
+"listitem> <listitem> <para>the concrete type of the objects to be injected "
+"may vary at runtime or</para> </listitem> <listitem> <para>the objects "
+"require some custom initialization that is not performed by the Web Bean "
+"constructor</para> </listitem> </itemizedlist> </blockquote> <para>For "
+"example, producer methods let us:</para> <itemizedlist> <listitem> "
+"<para>expose a JPA entity as a Web Bean,</para> </listitem> <listitem> "
+"<para>expose any JDK class as a Web Bean,</para> </listitem> <listitem> "
+"<para>define multiple Web Beans, with different scopes or initialization, "
+"for the same implementation class, or</para> </listitem> <listitem> "
+"<para>vary the implementation of an API type at runtime.</para> </listitem> "
+"</itemizedlist> <para>In particular, producer methods let us use runtime "
+"polymorphism with Web Beans. As we've seen, deployment types are a powerful "
+"solution to the problem of deployment-time polymorphism. But once the system "
+"is deployed, the Web Bean implementation is fixed. A producer method has no "
+"such limitation:</para> <programlisting role=\"JAVA\"><![CDATA"
+"[@SessionScoped\n"
 "public class Preferences {\n"
 "    \n"
 "    private PaymentStrategyType paymentStrategy;\n"
@@ -140,52 +86,53 @@
 "        } \n"
 "    }\n"
 "    \n"
-"}]]>"
+"}]]></programlisting> <para>Consider an injection point:</para> "
+"<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
+"paymentStrat;]]></programlisting> <para>This injection point has the same "
+"type and binding annotations as the producer method, so it resolves to the "
+"producer method using the usual Web Beans injection rules. The producer "
+"method will be called by the Web Bean manager to obtain an instance to "
+"service this injection point.</para>."
 msgstr ""
-"<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy(CreditCardPaymentStrategy ccps,\n"
-"                                          ChequePaymentStrategy cps,\n"
-"                                          PayPalPaymentStrategy ppps) {\n"
-"    switch (paymentStrategy) {\n"
-"        case CREDIT_CARD: return ccps;\n"
-"        case CHEQUE: return cps;\n"
-"        case PAYPAL: return ppps;\n"
-"        default: return null;\n"
-"    } \n"
-"}]]>"
-
-#. Tag: para
-#: producermethods.xml:58
-#, no-c-format
-msgid "Consider an injection point:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:60
-#, fuzzy, no-c-format
-msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
-msgstr ""
-"<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy() {\n"
+"<blockquote> <para> Web Beans 생산자 방식은 삽입될 객체 소스로 작동합니다, 여"
+"기서 </para> <itemizedlist> <listitem> <para> 삽입될 객체는 Web Beans의 인스"
+"턴스가 될 필요가 없습니다,</para> </listitem> <listitem> <para> 삽입되야 할 "
+"객체의 구체적 타입은 런타임 시 달라질 수 있습니다 </para> </listitem> "
+"<listitem> <para> 사용자 정의 초기화가 필요한 객체는 Web Bean 생성자에 의해 "
+"실행되지 않습니다</para> </listitem> </itemizedlist> </blockquote> <para> 예"
+"를 들어, 생산자 방식은 다음을 허용합니다: </para> <itemizedlist> <listitem> "
+"<para>Web Bean으로서 JPA 엔티티 노출,</para> </listitem> <listitem> "
+"<para>Web Bean으로서 JDK 클래스 노출,</para> </listitem> <listitem> <para>동"
+"일한 구현 클래스에 대해 다른 범위 또는 초기화를 사용하여 여러 Web Beans를 정"
+"의, </para> </listitem> <listitem> <para>런타임 시 다양한 API 유형 구현.</"
+"para> </listitem> </itemizedlist> <para> 특히, 생산자 방식은 Web Beans를 사용"
+"하여 런타임 다형성을 사용하게 합니다. 이미 알고 있듯이, 배치 유형은 배치 시"
+"간 다형성 문제의 강력한 해결책입니다. 하지만 일단 시스템이 운용되면 Web Bean "
+"구현은 고정됩니다. 생산자 방식은 이러한 한계를 갖지 않습니다:</para> "
+"<programlisting role=\"JAVA\"><![CDATA[@SessionScoped\n"
+"public class Preferences {\n"
+"    \n"
+"    private PaymentStrategyType paymentStrategy;\n"
+"    \n"
 "    ...\n"
-"}]]>"
+"    \n"
+"    @Produces @Preferred \n"
+"    public PaymentStrategy getPaymentStrategy() {\n"
+"        switch (paymentStrategy) {\n"
+"            case CREDIT_CARD: return new CreditCardPaymentStrategy();\n"
+"            case CHEQUE: return new ChequePaymentStrategy();\n"
+"            case PAYPAL: return new PayPalPaymentStrategy();\n"
+"            default: return null;\n"
+"        } \n"
+"    }\n"
+"    \n"
+"}]]></programlisting> <para>삽입 지점 고려:</para> <programlisting role="
+"\"JAVA\"><![CDATA[@Preferred PaymentStrategy paymentStrat;]]></"
+"programlisting> <para> 이러한 삽입 지점은 동일한 유형을 갖으며 생산자 방식으"
+"로 어노테이션을 바인딩하므로, 일반적인 Web Beans 삽입 규칙을 사용하여 생산자 "
+"방식을 해결합니다. 생산자 방식은 Web Bean 관리자에 의해 호출되어 이러한 삽입 "
+"지점을 서비스하기 위해 인스턴스를 획득합니다.</para>.  "
 
-#. Tag: para
-#: producermethods.xml:62
-#, no-c-format
-msgid ""
-"This injection point has the same type and binding annotations as the "
-"producer method, so it resolves to the producer method using the usual Web "
-"Beans injection rules. The producer method will be called by the Web Bean "
-"manager to obtain an instance to service this injection point."
-msgstr ""
-
-#. Tag: chapter
-#: producermethods.xml:65
-#, no-c-format
-msgid "<chapter>.</chapter>"
-msgstr ""
-
 #. Tag: title
 #: producermethods.xml:68
 #, no-c-format
@@ -411,26 +358,13 @@
 "에 <literal>Preferences</literal> 객체가 삭제될 때 까지 삭제되지 않습니"
 "다.      "
 
+#, fuzzy
+#~ msgid "For example, producer methods let us:"
+#~ msgstr "생산자 방식의 범위 "
+
+#, fuzzy
 #~ msgid ""
-#~ "<blockquote> <para>A Web Beans producer method acts as a source of "
-#~ "objects to be injected, where:</para> <itemizedlist> <listitem> <para>the "
-#~ "objects to be injected are not required to be instances of Web Beans,</"
-#~ "para> </listitem> <listitem> <para>the concrete type of the objects to be "
-#~ "injected may vary at runtime or</para> </listitem> <listitem> <para>the "
-#~ "objects require some custom initialization that is not performed by the "
-#~ "Web Bean constructor</para> </listitem> </itemizedlist> </blockquote> "
-#~ "<para>For example, producer methods let us:</para> <itemizedlist> "
-#~ "<listitem> <para>expose a JPA entity as a Web Bean,</para> </listitem> "
-#~ "<listitem> <para>expose any JDK class as a Web Bean,</para> </listitem> "
-#~ "<listitem> <para>define multiple Web Beans, with different scopes or "
-#~ "initialization, for the same implementation class, or</para> </listitem> "
-#~ "<listitem> <para>vary the implementation of an API type at runtime.</"
-#~ "para> </listitem> </itemizedlist> <para>In particular, producer methods "
-#~ "let us use runtime polymorphism with Web Beans. As we've seen, deployment "
-#~ "types are a powerful solution to the problem of deployment-time "
-#~ "polymorphism. But once the system is deployed, the Web Bean "
-#~ "implementation is fixed. A producer method has no such limitation:</para> "
-#~ "<programlisting role=\"JAVA\"><![CDATA[@SessionScoped\n"
+#~ "<![CDATA[@SessionScoped\n"
 #~ "public class Preferences {\n"
 #~ "    \n"
 #~ "    private PaymentStrategyType paymentStrategy;\n"
@@ -447,50 +381,25 @@
 #~ "        } \n"
 #~ "    }\n"
 #~ "    \n"
-#~ "}]]></programlisting> <para>Consider an injection point:</para> "
-#~ "<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
-#~ "paymentStrat;]]></programlisting> <para>This injection point has the same "
-#~ "type and binding annotations as the producer method, so it resolves to "
-#~ "the producer method using the usual Web Beans injection rules. The "
-#~ "producer method will be called by the Web Bean manager to obtain an "
-#~ "instance to service this injection point.</para>."
+#~ "}]]>"
 #~ msgstr ""
-#~ "<blockquote> <para> Web Beans 생산자 방식은 삽입될 객체 소스로 작동합니"
-#~ "다, 여기서 </para> <itemizedlist> <listitem> <para> 삽입될 객체는 Web "
-#~ "Beans의 인스턴스가 될 필요가 없습니다,</para> </listitem> <listitem> "
-#~ "<para> 삽입되야 할 객체의 구체적 타입은 런타임 시 달라질 수 있습니다 </"
-#~ "para> </listitem> <listitem> <para> 사용자 정의 초기화가 필요한 객체는 "
-#~ "Web Bean 생성자에 의해 실행되지 않습니다</para> </listitem> </"
-#~ "itemizedlist> </blockquote> <para> 예를 들어, 생산자 방식은 다음을 허용합"
-#~ "니다: </para> <itemizedlist> <listitem> <para>Web Bean으로서 JPA 엔티티 노"
-#~ "출,</para> </listitem> <listitem> <para>Web Bean으로서 JDK 클래스 노출,</"
-#~ "para> </listitem> <listitem> <para>동일한 구현 클래스에 대해 다른 범위 또"
-#~ "는 초기화를 사용하여 여러 Web Beans를 정의, </para> </listitem> "
-#~ "<listitem> <para>런타임 시 다양한 API 유형 구현.</para> </listitem> </"
-#~ "itemizedlist> <para> 특히, 생산자 방식은 Web Beans를 사용하여 런타임 다형"
-#~ "성을 사용하게 합니다. 이미 알고 있듯이, 배치 유형은 배치 시간 다형성 문제"
-#~ "의 강력한 해결책입니다. 하지만 일단 시스템이 운용되면 Web Bean 구현은 고정"
-#~ "됩니다. 생산자 방식은 이러한 한계를 갖지 않습니다:</para> <programlisting "
-#~ "role=\"JAVA\"><![CDATA[@SessionScoped\n"
-#~ "public class Preferences {\n"
-#~ "    \n"
-#~ "    private PaymentStrategyType paymentStrategy;\n"
-#~ "    \n"
+#~ "<![CDATA[@Produces @Preferred @SessionScoped\n"
+#~ "public PaymentStrategy getPaymentStrategy(CreditCardPaymentStrategy "
+#~ "ccps,\n"
+#~ "                                          ChequePaymentStrategy cps,\n"
+#~ "                                          PayPalPaymentStrategy ppps) {\n"
+#~ "    switch (paymentStrategy) {\n"
+#~ "        case CREDIT_CARD: return ccps;\n"
+#~ "        case CHEQUE: return cps;\n"
+#~ "        case PAYPAL: return ppps;\n"
+#~ "        default: return null;\n"
+#~ "    } \n"
+#~ "}]]>"
+
+#, fuzzy
+#~ msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
+#~ msgstr ""
+#~ "<![CDATA[@Produces @Preferred @SessionScoped\n"
+#~ "public PaymentStrategy getPaymentStrategy() {\n"
 #~ "    ...\n"
-#~ "    \n"
-#~ "    @Produces @Preferred \n"
-#~ "    public PaymentStrategy getPaymentStrategy() {\n"
-#~ "        switch (paymentStrategy) {\n"
-#~ "            case CREDIT_CARD: return new CreditCardPaymentStrategy();\n"
-#~ "            case CHEQUE: return new ChequePaymentStrategy();\n"
-#~ "            case PAYPAL: return new PayPalPaymentStrategy();\n"
-#~ "            default: return null;\n"
-#~ "        } \n"
-#~ "    }\n"
-#~ "    \n"
-#~ "}]]></programlisting> <para>삽입 지점 고려:</para> <programlisting role="
-#~ "\"JAVA\"><![CDATA[@Preferred PaymentStrategy paymentStrat;]]></"
-#~ "programlisting> <para> 이러한 삽입 지점은 동일한 유형을 갖으며 생산자 방식"
-#~ "으로 어노테이션을 바인딩하므로, 일반적인 Web Beans 삽입 규칙을 사용하여 생"
-#~ "산자 방식을 해결합니다. 생산자 방식은 Web Bean 관리자에 의해 호출되어 이러"
-#~ "한 삽입 지점을 서비스하기 위해 인스턴스를 획득합니다.</para>.  "
+#~ "}]]>"

Modified: doc/trunk/reference/ko-KR/ri-spi.po
===================================================================
--- doc/trunk/reference/ko-KR/ri-spi.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/ko-KR/ri-spi.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: ri-spi\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-01-19 13:32+1000\n"
 "Last-Translator: Eunju Kim <eukim at redhat.com>\n"
 "Language-Team: Korean <ko at li.org>\n"
@@ -68,11 +68,11 @@
 
 #. Tag: para
 #: ri-spi.xml:26
-#, no-c-format
+#, fuzzy, no-c-format
 msgid ""
-"The Web Beans SPI is located in <literal>webbeans-ri-spi</literal> module, "
-"and packaged as <literal>webbeans-ri-spi.jar</literal>. Some SPIs are "
-"optional, if you need to override the default behavior, others are required."
+"The Web Beans SPI is located in <literal>webbeans-spi</literal> module, and "
+"packaged as <literal>webbeans-spi.jar</literal>. Some SPIs are optional, if "
+"you need to override the default behavior, others are required."
 msgstr ""
 "Web Beans SPI는 <literal>webbeans-ri-spi</literal> 모듈에 위치하고 있으며 "
 "<literal>webbeans-ri-spi.jar</literal>로 패키징되어 있습니다. 일부 SPI는 옵"

Modified: doc/trunk/reference/ko-KR/ri.po
===================================================================
--- doc/trunk/reference/ko-KR/ri.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/ko-KR/ri.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: ri\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-01-23 11:14+1000\n"
 "Last-Translator: Eunju Kim <eukim at redhat.com>\n"
 "Language-Team: Korean <ko at li.org>\n"
@@ -597,8 +597,8 @@
 "<callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to "
 "<literal>.jsf</literal> pages to be handled by JSF </para> </callout> "
 "<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 "
+"giving our source files (facelets) an extension of <literal>.xhtml</literal> "
+"</para> </callout> <callout arearefs=\"session.timeout\"> <para> Configure a "
 "session timeout of 10 minutes </para> </callout> </calloutlist> </"
 "programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use "
 "Web Beans with any Servlet based web framework. </para> </note> <para> Let's "

Modified: doc/trunk/reference/pot/Author_Group.pot
===================================================================
--- doc/trunk/reference/pot/Author_Group.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/Author_Group.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/Book_Info.pot
===================================================================
--- doc/trunk/reference/pot/Book_Info.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/Book_Info.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/decorators.pot
===================================================================
--- doc/trunk/reference/pot/decorators.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/decorators.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/ee.pot
===================================================================
--- doc/trunk/reference/pot/ee.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/ee.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/environments.pot
===================================================================
--- doc/trunk/reference/pot/environments.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/environments.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"
@@ -88,7 +88,7 @@
 msgstr ""
 
 #. Tag: para
-#: environments.xml:49 environments.xml:151
+#: environments.xml:49
 #, no-c-format
 msgid "TODO"
 msgstr ""
@@ -96,7 +96,7 @@
 #. Tag: title
 #: environments.xml:53
 #, no-c-format
-msgid "Tomcat"
+msgid "Tomcat (or any plain Servlet container)"
 msgstr ""
 
 #. Tag: para
@@ -110,9 +110,8 @@
 #, no-c-format
 msgid ""
 "Web Beans doesn't support deploying session beans, injection using "
-"<literal>@EJB</literal>, <literal>@Resource</literal>, or "
-"<literal>@PersistenceContext</literal> or using transactional events on "
-"Tomcat."
+"<literal>@EJB</literal>, or <literal>@PersistenceContext</literal> or using "
+"transactional events on Tomcat."
 msgstr ""
 
 #. Tag: para
@@ -122,7 +121,7 @@
 "Web Beans should be used as a web application library in Tomcat. You should "
 "place <literal>webbeans-tomcat.jar</literal> in <literal>WEB-INF/lib</"
 "literal>. <literal>webbeans-tomcat.jar</literal> is an \"uber-jar\" provided "
-"for your convenience. Instead, you could use it's component jars:"
+"for your convenience. Instead, you could use its component jars:"
 msgstr ""
 
 #. Tag: literal
@@ -178,7 +177,7 @@
 #, no-c-format
 msgid ""
 "You also need to explicitly specify the Tomcat servlet listener (used to "
-"boot Web Beans, and control it's interaction with requests) in <literal>web."
+"boot Web Beans, and control its interaction with requests) in <literal>web."
 "xml</literal>:"
 msgstr ""
 
@@ -187,7 +186,7 @@
 #, no-c-format
 msgid ""
 "<![CDATA[<listener>\n"
-"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-"
+"   <listener-class>org.jboss.webbeans.environment.servlet.Listener</listener-"
 "class>\n"
 "</listener>]]>"
 msgstr ""
@@ -238,13 +237,197 @@
 #: environments.xml:140
 #, no-c-format
 msgid ""
-"Tomcat doesn't only allows you to bind entries to <literal>java:comp/env</"
-"literal>, so the Manager will be available at <literal>java:comp/env/app/"
-"Manager</literal>"
+"Tomcat only allows you to bind entries to <literal>java:comp/env</literal>, "
+"so the Manager will be available at <literal>java:comp/env/app/Manager</"
+"literal>"
 msgstr ""
 
+#. Tag: para
+#: environments.xml:146
+#, no-c-format
+msgid ""
+"Web Beans also supports Servlet injection in Tomcat. To enable this, place "
+"the <literal>webbeans-tomcat-support.jar</literal> in <literal>$TOMCAT_HOME/"
+"lib</literal>, and add the following to your <literal>META-INF/context.xml</"
+"literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:153
+#, no-c-format
+msgid ""
+"<![CDATA[<Listener className=\"org.jboss.webbeans.environment.tomcat."
+"WebBeansLifecycleListener\" />]]>"
+msgstr ""
+
 #. Tag: title
-#: environments.xml:149
+#: environments.xml:158
 #, no-c-format
 msgid "Java SE"
 msgstr ""
+
+#. Tag: para
+#: environments.xml:160
+#, no-c-format
+msgid ""
+"Apart from improved integration of the Enterprise Java stack, Web Beans also "
+"provides a state of the art typesafe, stateful dependency injection "
+"framework. This is useful in a wide range of application types, enterprise "
+"or otherwise. To facilitate this, Web Beans provides a simple means for "
+"executing in the Java Standard Edition environment independently of any "
+"Enterprise Edition features."
+msgstr ""
+
+#. Tag: para
+#: environments.xml:168
+#, no-c-format
+msgid ""
+"When executing in the SE environment the following features of Web Beans are "
+"available:"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:174
+#, no-c-format
+msgid "Simple Web Beans (POJOs)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:179
+#, no-c-format
+msgid "Typesafe Dependency Injection"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:184
+#, no-c-format
+msgid "Application and Dependent Contexts"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:189
+#, no-c-format
+msgid "Binding Types"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:194
+#, no-c-format
+msgid "Stereotypes"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:199
+#, no-c-format
+msgid "Decorators"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:204
+#, no-c-format
+msgid "(TODO: Interceptors ?)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:209
+#, no-c-format
+msgid "Typesafe Event Model"
+msgstr ""
+
+#. Tag: title
+#: environments.xml:215
+#, no-c-format
+msgid "Web Beans SE Module"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:217
+#, no-c-format
+msgid ""
+"To make life easy for developers Web Beans provides a special module with a "
+"main method which will boot the Web Beans manager, automatically registering "
+"all simple Web Beans found on the classpath. This eliminates the need for "
+"application developers to write any bootstrapping code. The entry point for "
+"a Web Beans SE applications is a simple Web Bean which observes the standard "
+"<literal>@Deployed Manager</literal> event. The command line paramters can "
+"be injected using either of the following:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:226
+#, no-c-format
+msgid ""
+"<![CDATA[@Parameters List<String> params;\n"
+"@Parameters String[] paramsArray; // useful for compatability with existing "
+"classes]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:227
+#, no-c-format
+msgid "Here's an example of a simple Web Beans SE application:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:231
+#, no-c-format
+msgid ""
+"<![CDATA[@ApplicationScoped\n"
+"public class HelloWorld\n"
+"{\n"
+"    @Parameters List<String> parameters;\n"
+"\n"
+"    public void printHello( @Observes @Deployed Manager manager )\n"
+"    {\n"
+"        System.out.println( \"Hello \" + parameters.get(0) );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:233
+#, no-c-format
+msgid ""
+"Web Beans SE applications are started by running the following main method."
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:235
+#, no-c-format
+msgid "<![CDATA[java org.jboss.webbeans.environments.se.StartMain <args>]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:237
+#, no-c-format
+msgid ""
+"If you need to do any custom initialization of the Web Beans manager, for "
+"example registering custom contexts or initializing resources for your beans "
+"you can do so in response to the <literal>@Initialized Manager</literal> "
+"event. The following example registers a custom context:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:242
+#, no-c-format
+msgid ""
+"<![CDATA[public class PerformSetup\n"
+"{\n"
+"\n"
+"    public void setup( @Observes @Initialized Manager manager )\n"
+"    {\n"
+"        manager.addContext( ThreadContext.INSTANCE );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:246
+#, no-c-format
+msgid ""
+"The command line parameters do not become available for injection until the "
+"<literal>@Deployed Manager</literal> event is fired. If you need access to "
+"the parameters during initialization you can do so via the <literal>public "
+"static String getParameters()</literal> method in <literal>StartMain</"
+"literal>."
+msgstr ""

Modified: doc/trunk/reference/pot/events.pot
===================================================================
--- doc/trunk/reference/pot/events.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/events.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/example.pot
===================================================================
--- doc/trunk/reference/pot/example.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/example.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/extend.pot
===================================================================
--- doc/trunk/reference/pot/extend.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/extend.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/extensions.pot
===================================================================
--- doc/trunk/reference/pot/extensions.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/extensions.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/injection.pot
===================================================================
--- doc/trunk/reference/pot/injection.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/injection.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/interceptors.pot
===================================================================
--- doc/trunk/reference/pot/interceptors.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/interceptors.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/intro.pot
===================================================================
--- doc/trunk/reference/pot/intro.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/intro.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/master.pot
===================================================================
--- doc/trunk/reference/pot/master.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/master.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/next.pot
===================================================================
--- doc/trunk/reference/pot/next.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/next.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/part1.pot
===================================================================
--- doc/trunk/reference/pot/part1.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/part1.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/part2.pot
===================================================================
--- doc/trunk/reference/pot/part2.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/part2.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/part3.pot
===================================================================
--- doc/trunk/reference/pot/part3.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/part3.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/part4.pot
===================================================================
--- doc/trunk/reference/pot/part4.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/part4.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/part5.pot
===================================================================
--- doc/trunk/reference/pot/part5.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/part5.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/producermethods.pot
===================================================================
--- doc/trunk/reference/pot/producermethods.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/producermethods.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"
@@ -37,83 +37,29 @@
 msgid "According to the spec:"
 msgstr ""
 
-#. Tag: para
-#: producermethods.xml:16
+#. Tag: chapter
+#: producermethods.xml:12
 #, no-c-format
 msgid ""
-"A Web Beans producer method acts as a source of objects to be injected, "
-"where:"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:20
-#, no-c-format
-msgid ""
-"the objects to be injected are not required to be instances of Web Beans,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:23
-#, no-c-format
-msgid "the concrete type of the objects to be injected may vary at runtime or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:26
-#, no-c-format
-msgid ""
-"the objects require some custom initialization that is not performed by the "
-"Web Bean constructor"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:33
-#, no-c-format
-msgid "For example, producer methods let us:"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:37
-#, no-c-format
-msgid "expose a JPA entity as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:40
-#, no-c-format
-msgid "expose any JDK class as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:43
-#, no-c-format
-msgid ""
-"define multiple Web Beans, with different scopes or initialization, for the "
-"same implementation class, or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:47
-#, no-c-format
-msgid "vary the implementation of an API type at runtime."
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:51
-#, no-c-format
-msgid ""
-"In particular, producer methods let us use runtime polymorphism with Web "
-"Beans. As we've seen, deployment types are a powerful solution to the "
-"problem of deployment-time polymorphism. But once the system is deployed, "
-"the Web Bean implementation is fixed. A producer method has no such "
-"limitation:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:56
-#, no-c-format
-msgid ""
-"<![CDATA[@SessionScoped\n"
+"<blockquote> <para>A Web Beans producer method acts as a source of objects "
+"to be injected, where:</para> <itemizedlist> <listitem> <para>the objects to "
+"be injected are not required to be instances of Web Beans,</para> </"
+"listitem> <listitem> <para>the concrete type of the objects to be injected "
+"may vary at runtime or</para> </listitem> <listitem> <para>the objects "
+"require some custom initialization that is not performed by the Web Bean "
+"constructor</para> </listitem> </itemizedlist> </blockquote> <para>For "
+"example, producer methods let us:</para> <itemizedlist> <listitem> "
+"<para>expose a JPA entity as a Web Bean,</para> </listitem> <listitem> "
+"<para>expose any JDK class as a Web Bean,</para> </listitem> <listitem> "
+"<para>define multiple Web Beans, with different scopes or initialization, "
+"for the same implementation class, or</para> </listitem> <listitem> "
+"<para>vary the implementation of an API type at runtime.</para> </listitem> "
+"</itemizedlist> <para>In particular, producer methods let us use runtime "
+"polymorphism with Web Beans. As we've seen, deployment types are a powerful "
+"solution to the problem of deployment-time polymorphism. But once the system "
+"is deployed, the Web Bean implementation is fixed. A producer method has no "
+"such limitation:</para> <programlisting role=\"JAVA\"><![CDATA"
+"[@SessionScoped\n"
 "public class Preferences {\n"
 "    \n"
 "    private PaymentStrategyType paymentStrategy;\n"
@@ -130,37 +76,15 @@
 "        } \n"
 "    }\n"
 "    \n"
-"}]]>"
+"}]]></programlisting> <para>Consider an injection point:</para> "
+"<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
+"paymentStrat;]]></programlisting> <para>This injection point has the same "
+"type and binding annotations as the producer method, so it resolves to the "
+"producer method using the usual Web Beans injection rules. The producer "
+"method will be called by the Web Bean manager to obtain an instance to "
+"service this injection point.</para>."
 msgstr ""
 
-#. Tag: para
-#: producermethods.xml:58
-#, no-c-format
-msgid "Consider an injection point:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:60
-#, no-c-format
-msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:62
-#, no-c-format
-msgid ""
-"This injection point has the same type and binding annotations as the "
-"producer method, so it resolves to the producer method using the usual Web "
-"Beans injection rules. The producer method will be called by the Web Bean "
-"manager to obtain an instance to service this injection point."
-msgstr ""
-
-#. Tag: chapter
-#: producermethods.xml:65
-#, no-c-format
-msgid "<chapter>.</chapter>"
-msgstr ""
-
 #. Tag: title
 #: producermethods.xml:68
 #, no-c-format

Modified: doc/trunk/reference/pot/ri-spi.pot
===================================================================
--- doc/trunk/reference/pot/ri-spi.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/ri-spi.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"
@@ -51,9 +51,9 @@
 #: ri-spi.xml:26
 #, no-c-format
 msgid ""
-"The Web Beans SPI is located in <literal>webbeans-ri-spi</literal> module, "
-"and packaged as <literal>webbeans-ri-spi.jar</literal>. Some SPIs are "
-"optional, if you need to override the default behavior, others are required."
+"The Web Beans SPI is located in <literal>webbeans-spi</literal> module, and "
+"packaged as <literal>webbeans-spi.jar</literal>. Some SPIs are optional, if "
+"you need to override the default behavior, others are required."
 msgstr ""
 
 #. Tag: para

Modified: doc/trunk/reference/pot/ri.pot
===================================================================
--- doc/trunk/reference/pot/ri.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/ri.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"
@@ -502,8 +502,8 @@
 "<callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to "
 "<literal>.jsf</literal> pages to be handled by JSF </para> </callout> "
 "<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 "
+"giving our source files (facelets) an extension of <literal>.xhtml</literal> "
+"</para> </callout> <callout arearefs=\"session.timeout\"> <para> Configure a "
 "session timeout of 10 minutes </para> </callout> </calloutlist> </"
 "programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use "
 "Web Beans with any Servlet based web framework. </para> </note> <para> Let's "

Modified: doc/trunk/reference/pot/scopescontexts.pot
===================================================================
--- doc/trunk/reference/pot/scopescontexts.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/scopescontexts.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/specialization.pot
===================================================================
--- doc/trunk/reference/pot/specialization.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/specialization.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/stereotypes.pot
===================================================================
--- doc/trunk/reference/pot/stereotypes.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/stereotypes.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pot/xml.pot
===================================================================
--- doc/trunk/reference/pot/xml.pot	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pot/xml.pot	2009-04-15 19:06:46 UTC (rev 2423)
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"

Modified: doc/trunk/reference/pt-BR/environments.po
===================================================================
--- doc/trunk/reference/pt-BR/environments.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pt-BR/environments.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -3,9 +3,10 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection VERSION\n"
+"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection "
+"VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-04-10 09:57-0300\n"
 "Last-Translator: João Paulo Viragine <joao.viragine at redhat.com>\n"
 "Language-Team: none\n"
@@ -28,14 +29,28 @@
 #. Tag: para
 #: environments.xml:9
 #, no-c-format
-msgid "No special configuration of your application, beyond adding either <literal>META-INF/beans.xml</literal> or <literal>WEB-INF/beans.xml</literal> is needed."
-msgstr "Além da adição de <literal>META-INF/beans.xml</literal> ou <literal>WEB-INF/beans.xml</literal>, nenhuma outra configuração especial na sua aplicação é necessária."
+msgid ""
+"No special configuration of your application, beyond adding either "
+"<literal>META-INF/beans.xml</literal> or <literal>WEB-INF/beans.xml</"
+"literal> is needed."
+msgstr ""
+"Além da adição de <literal>META-INF/beans.xml</literal> ou <literal>WEB-INF/"
+"beans.xml</literal>, nenhuma outra configuração especial na sua aplicação é "
+"necessária."
 
 #. Tag: para
 #: environments.xml:15
 #, no-c-format
-msgid "If you are using JBoss AS 5.0.1.GA then you'll need to install Web Beans as an extra. First we need to tell Web Beans where JBoss is located. Edit <literal>jboss-as/build.properties</literal> and set the <literal>jboss.home</literal> property. For example:"
-msgstr "Se você estiver usando o JBoss AS 5.0.1.GA, então  precisará instalar a Web Beans como um extra. Primeiro, precisamos  dizer à Web Beans onde o JBoss está localizado. Editar o  <literal>jboss-as/build.properties</literal> e definir a propriedade <literal>jboss.home</literal>. Por exemplo:"
+msgid ""
+"If you are using JBoss AS 5.0.1.GA then you'll need to install Web Beans as "
+"an extra. First we need to tell Web Beans where JBoss is located. Edit "
+"<literal>jboss-as/build.properties</literal> and set the <literal>jboss."
+"home</literal> property. For example:"
+msgstr ""
+"Se você estiver usando o JBoss AS 5.0.1.GA, então  precisará instalar a Web "
+"Beans como um extra. Primeiro, precisamos  dizer à Web Beans onde o JBoss "
+"está localizado. Editar o  <literal>jboss-as/build.properties</literal> e "
+"definir a propriedade <literal>jboss.home</literal>. Por exemplo:"
 
 #. Tag: programlisting
 #: environments.xml:22
@@ -62,14 +77,24 @@
 #. Tag: para
 #: environments.xml:31
 #, no-c-format
-msgid "A new deployer, <literal>webbeans.deployer</literal> is added to JBoss AS. This adds supports for JSR-299 deployments to JBoss AS, and allows Web Beans to query the EJB3 container and discover which EJBs are installed in your application."
-msgstr "Um novo deployer <literal>webbeans.deployer</literal> é adicionado ao JBoss AS. Isso adiciona suporte a implantações JSR-299 no JBoss AS e permite à Web Beans consultar o EJB3 container e descobrir quais EJBs estão instalados na sua aplicação."
+msgid ""
+"A new deployer, <literal>webbeans.deployer</literal> is added to JBoss AS. "
+"This adds supports for JSR-299 deployments to JBoss AS, and allows Web Beans "
+"to query the EJB3 container and discover which EJBs are installed in your "
+"application."
+msgstr ""
+"Um novo deployer <literal>webbeans.deployer</literal> é adicionado ao JBoss "
+"AS. Isso adiciona suporte a implantações JSR-299 no JBoss AS e permite à Web "
+"Beans consultar o EJB3 container e descobrir quais EJBs estão instalados na "
+"sua aplicação."
 
 #. Tag: para
 #: environments.xml:40
 #, no-c-format
 msgid "Web Beans is built into all releases of JBoss AS from 5.1 onwards."
-msgstr "A Web Beans está embutida em todas as versões do JBoss AS a partir da versão 5.1."
+msgstr ""
+"A Web Beans está embutida em todas as versões do JBoss AS a partir da versão "
+"5.1."
 
 #. Tag: title
 #: environments.xml:47
@@ -79,7 +104,6 @@
 
 #. Tag: para
 #: environments.xml:49
-#: environments.xml:151
 #, no-c-format
 msgid "TODO"
 msgstr "TODO"
@@ -87,8 +111,8 @@
 #. Tag: title
 #: environments.xml:53
 #, no-c-format
-msgid "Tomcat"
-msgstr "Tomcat"
+msgid "Tomcat (or any plain Servlet container)"
+msgstr ""
 
 #. Tag: para
 #: environments.xml:55
@@ -98,15 +122,30 @@
 
 #. Tag: para
 #: environments.xml:58
-#, no-c-format
-msgid "Web Beans doesn't support deploying session beans, injection using <literal>@EJB</literal>, <literal>@Resource</literal>, or <literal>@PersistenceContext</literal> or using transactional events on Tomcat."
-msgstr "A Web Beans não suporta a implantação de session beans, injeção utilizando <literal>@EJB</literal>, <literal>@Resource</literal>, ou <literal>@PersistenceContext</literal>, ou eventos transacionais no Tomcat."
+#, fuzzy, no-c-format
+msgid ""
+"Web Beans doesn't support deploying session beans, injection using "
+"<literal>@EJB</literal>, or <literal>@PersistenceContext</literal> or using "
+"transactional events on Tomcat."
+msgstr ""
+"A Web Beans não suporta a implantação de session beans, injeção utilizando "
+"<literal>@EJB</literal>, <literal>@Resource</literal>, ou "
+"<literal>@PersistenceContext</literal>, ou eventos transacionais no Tomcat."
 
 #. Tag: para
 #: environments.xml:66
-#, no-c-format
-msgid "Web Beans should be used as a web application library in Tomcat. You should place <literal>webbeans-tomcat.jar</literal> in <literal>WEB-INF/lib</literal>. <literal>webbeans-tomcat.jar</literal> is an \"uber-jar\" provided for your convenience. Instead, you could use it's component jars:"
-msgstr "A Web Beans deveria ser utilizada como uma bibilioteca de aplicação web no Tomcat. Você deve colocar o <literal>webbeans-tomcat.jar</literal> em <literal>WEB-INF/lib</literal>. <literal>webbeans-tomcat.jar</literal> é um \"hiper-jar\", disponível para a sua conveniência. Em vez disso, você pode utilizar os componentes do jars:"
+#, fuzzy, no-c-format
+msgid ""
+"Web Beans should be used as a web application library in Tomcat. You should "
+"place <literal>webbeans-tomcat.jar</literal> in <literal>WEB-INF/lib</"
+"literal>. <literal>webbeans-tomcat.jar</literal> is an \"uber-jar\" provided "
+"for your convenience. Instead, you could use its component jars:"
+msgstr ""
+"A Web Beans deveria ser utilizada como uma bibilioteca de aplicação web no "
+"Tomcat. Você deve colocar o <literal>webbeans-tomcat.jar</literal> em "
+"<literal>WEB-INF/lib</literal>. <literal>webbeans-tomcat.jar</literal> é um "
+"\"hiper-jar\", disponível para a sua conveniência. Em vez disso, você pode "
+"utilizar os componentes do jars:"
 
 #. Tag: literal
 #: environments.xml:77
@@ -158,27 +197,41 @@
 
 #. Tag: para
 #: environments.xml:117
-#, no-c-format
-msgid "You also need to explicitly specify the Tomcat servlet listener (used to boot Web Beans, and control it's interaction with requests) in <literal>web.xml</literal>:"
-msgstr "Você também precisa especificar explicitamente o Tomcat servlet listener (utilizado para \"bootar\" a Web Beans e controlar a interação com as requisições) no <literal>web.xml</literal>:"
+#, fuzzy, no-c-format
+msgid ""
+"You also need to explicitly specify the Tomcat servlet listener (used to "
+"boot Web Beans, and control its interaction with requests) in <literal>web."
+"xml</literal>:"
+msgstr ""
+"Você também precisa especificar explicitamente o Tomcat servlet listener "
+"(utilizado para \"bootar\" a Web Beans e controlar a interação com as "
+"requisições) no <literal>web.xml</literal>:"
 
 #. Tag: programlisting
 #: environments.xml:123
-#, no-c-format
+#, fuzzy, no-c-format
 msgid ""
 "<![CDATA[<listener>\n"
-"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-class>\n"
+"   <listener-class>org.jboss.webbeans.environment.servlet.Listener</listener-"
+"class>\n"
 "</listener>]]>"
 msgstr ""
 "<![CDATA[<listener>\n"
-"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-class>\n"
+"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-"
+"class>\n"
 "</listener>]]>"
 
 #. Tag: para
 #: environments.xml:125
 #, no-c-format
-msgid "Tomcat has a read-only JNDI, so Web Beans can't automatically bind the Manager. To bind the Manager into JNDI, you should add the following to your <literal>META-INF/context.xml</literal>:"
-msgstr "O Tomcat tem um JNDI apenas de leitura. Assim, a Web Beans não pode vincular automaticamente o Manager. Para vincular o Manager no JNDI, você deve adicionar o seguinte ao seu <literal>META-INF/context.xml</literal>:"
+msgid ""
+"Tomcat has a read-only JNDI, so Web Beans can't automatically bind the "
+"Manager. To bind the Manager into JNDI, you should add the following to your "
+"<literal>META-INF/context.xml</literal>:"
+msgstr ""
+"O Tomcat tem um JNDI apenas de leitura. Assim, a Web Beans não pode vincular "
+"automaticamente o Manager. Para vincular o Manager no JNDI, você deve "
+"adicionar o seguinte ao seu <literal>META-INF/context.xml</literal>:"
 
 #. Tag: programlisting
 #: environments.xml:131
@@ -199,8 +252,12 @@
 #. Tag: para
 #: environments.xml:133
 #, no-c-format
-msgid "and make it available to your deployment by adding this to <literal>web.xml</literal>:"
-msgstr "e torná-lo disponível para a sua implantação, acrescentando-o ao <literal>web.xml</literal>:"
+msgid ""
+"and make it available to your deployment by adding this to <literal>web.xml</"
+"literal>:"
+msgstr ""
+"e torná-lo disponível para a sua implantação, acrescentando-o ao "
+"<literal>web.xml</literal>:"
 
 #. Tag: programlisting
 #: environments.xml:138
@@ -226,13 +283,209 @@
 
 #. Tag: para
 #: environments.xml:140
+#, fuzzy, no-c-format
+msgid ""
+"Tomcat only allows you to bind entries to <literal>java:comp/env</literal>, "
+"so the Manager will be available at <literal>java:comp/env/app/Manager</"
+"literal>"
+msgstr ""
+"O Tomcat não só permite a você vincular as entradas para <literal>java:comp/"
+"env</literal>, assim que o Manager estará disponível em <literal>java:comp/"
+"env/app/Manager</literal>"
+
+#. Tag: para
+#: environments.xml:146
 #, no-c-format
-msgid "Tomcat doesn't only allows you to bind entries to <literal>java:comp/env</literal>, so the Manager will be available at <literal>java:comp/env/app/Manager</literal>"
-msgstr "O Tomcat não só permite a você vincular as entradas para <literal>java:comp/env</literal>, assim que o Manager estará disponível em <literal>java:comp/env/app/Manager</literal>"
+msgid ""
+"Web Beans also supports Servlet injection in Tomcat. To enable this, place "
+"the <literal>webbeans-tomcat-support.jar</literal> in <literal>$TOMCAT_HOME/"
+"lib</literal>, and add the following to your <literal>META-INF/context.xml</"
+"literal>:"
+msgstr ""
 
+#. Tag: programlisting
+#: environments.xml:153
+#, fuzzy, no-c-format
+msgid ""
+"<![CDATA[<Listener className=\"org.jboss.webbeans.environment.tomcat."
+"WebBeansLifecycleListener\" />]]>"
+msgstr ""
+"<![CDATA[<listener>\n"
+"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-"
+"class>\n"
+"</listener>]]>"
+
 #. Tag: title
-#: environments.xml:149
+#: environments.xml:158
 #, no-c-format
 msgid "Java SE"
 msgstr "Java SE"
 
+#. Tag: para
+#: environments.xml:160
+#, no-c-format
+msgid ""
+"Apart from improved integration of the Enterprise Java stack, Web Beans also "
+"provides a state of the art typesafe, stateful dependency injection "
+"framework. This is useful in a wide range of application types, enterprise "
+"or otherwise. To facilitate this, Web Beans provides a simple means for "
+"executing in the Java Standard Edition environment independently of any "
+"Enterprise Edition features."
+msgstr ""
+
+#. Tag: para
+#: environments.xml:168
+#, no-c-format
+msgid ""
+"When executing in the SE environment the following features of Web Beans are "
+"available:"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:174
+#, no-c-format
+msgid "Simple Web Beans (POJOs)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:179
+#, no-c-format
+msgid "Typesafe Dependency Injection"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:184
+#, no-c-format
+msgid "Application and Dependent Contexts"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:189
+#, no-c-format
+msgid "Binding Types"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:194
+#, no-c-format
+msgid "Stereotypes"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:199
+#, no-c-format
+msgid "Decorators"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:204
+#, no-c-format
+msgid "(TODO: Interceptors ?)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:209
+#, no-c-format
+msgid "Typesafe Event Model"
+msgstr ""
+
+#. Tag: title
+#: environments.xml:215
+#, no-c-format
+msgid "Web Beans SE Module"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:217
+#, no-c-format
+msgid ""
+"To make life easy for developers Web Beans provides a special module with a "
+"main method which will boot the Web Beans manager, automatically registering "
+"all simple Web Beans found on the classpath. This eliminates the need for "
+"application developers to write any bootstrapping code. The entry point for "
+"a Web Beans SE applications is a simple Web Bean which observes the standard "
+"<literal>@Deployed Manager</literal> event. The command line paramters can "
+"be injected using either of the following:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:226
+#, no-c-format
+msgid ""
+"<![CDATA[@Parameters List<String> params;\n"
+"@Parameters String[] paramsArray; // useful for compatability with existing "
+"classes]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:227
+#, no-c-format
+msgid "Here's an example of a simple Web Beans SE application:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:231
+#, no-c-format
+msgid ""
+"<![CDATA[@ApplicationScoped\n"
+"public class HelloWorld\n"
+"{\n"
+"    @Parameters List<String> parameters;\n"
+"\n"
+"    public void printHello( @Observes @Deployed Manager manager )\n"
+"    {\n"
+"        System.out.println( \"Hello \" + parameters.get(0) );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:233
+#, no-c-format
+msgid ""
+"Web Beans SE applications are started by running the following main method."
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:235
+#, no-c-format
+msgid "<![CDATA[java org.jboss.webbeans.environments.se.StartMain <args>]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:237
+#, no-c-format
+msgid ""
+"If you need to do any custom initialization of the Web Beans manager, for "
+"example registering custom contexts or initializing resources for your beans "
+"you can do so in response to the <literal>@Initialized Manager</literal> "
+"event. The following example registers a custom context:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:242
+#, no-c-format
+msgid ""
+"<![CDATA[public class PerformSetup\n"
+"{\n"
+"\n"
+"    public void setup( @Observes @Initialized Manager manager )\n"
+"    {\n"
+"        manager.addContext( ThreadContext.INSTANCE );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:246
+#, no-c-format
+msgid ""
+"The command line parameters do not become available for injection until the "
+"<literal>@Deployed Manager</literal> event is fired. If you need access to "
+"the parameters during initialization you can do so via the <literal>public "
+"static String getParameters()</literal> method in <literal>StartMain</"
+"literal>."
+msgstr ""
+
+#~ msgid "Tomcat"
+#~ msgstr "Tomcat"

Modified: doc/trunk/reference/pt-BR/producermethods.po
===================================================================
--- doc/trunk/reference/pt-BR/producermethods.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pt-BR/producermethods.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -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-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-04-10 16:06-0300\n"
 "Last-Translator: João Paulo Viragine <joao.viragine at redhat.com>\n"
 "Language-Team: none\n"
@@ -22,8 +22,18 @@
 #. Tag: para
 #: producermethods.xml:7
 #, no-c-format
-msgid "Producer methods let us overcome certain limitations that arise when the Web Bean manager, instead of the application, is responsible for instantiating objects. They're also the easiest way to integrate objects which are not Web Beans into the Web Beans environment. (We'll meet a second approach in <xref linkend=\"xml\"/>.)"
-msgstr "Métodos produtores permitem superarmos certas limitações que surgem quando o gerenciador do Web Bean, em vez da aplicação, é responsável por instanciar objetos. Eles são também a forma mais fácil de integrar os objetos que não são Web Beans ao ambiente Web Beans. (Veremos uma segunda abordagem em <xref linkend=\"xml\"/>.)"
+msgid ""
+"Producer methods let us overcome certain limitations that arise when the Web "
+"Bean manager, instead of the application, is responsible for instantiating "
+"objects. They're also the easiest way to integrate objects which are not Web "
+"Beans into the Web Beans environment. (We'll meet a second approach in <xref "
+"linkend=\"xml\"/>.)"
+msgstr ""
+"Métodos produtores permitem superarmos certas limitações que surgem quando o "
+"gerenciador do Web Bean, em vez da aplicação, é responsável por instanciar "
+"objetos. Eles são também a forma mais fácil de integrar os objetos que não "
+"são Web Beans ao ambiente Web Beans. (Veremos uma segunda abordagem em <xref "
+"linkend=\"xml\"/>.)"
 
 #. Tag: para
 #: producermethods.xml:12
@@ -31,71 +41,29 @@
 msgid "According to the spec:"
 msgstr "De acordo com a especificação:"
 
-#. Tag: para
-#: producermethods.xml:16
+#. Tag: chapter
+#: producermethods.xml:12
 #, no-c-format
-msgid "A Web Beans producer method acts as a source of objects to be injected, where:"
-msgstr "Um método produtor Web Beans funciona como uma fonte de objetos a ser injetado, quando:"
-
-#. Tag: para
-#: producermethods.xml:20
-#, no-c-format
-msgid "the objects to be injected are not required to be instances of Web Beans,"
-msgstr "os objetos a serem injetados não forem obrigados a ser instâncias de Web Beans,"
-
-#. Tag: para
-#: producermethods.xml:23
-#, no-c-format
-msgid "the concrete type of the objects to be injected may vary at runtime or"
-msgstr "o tipo concreto dos objetos a serem injetados pode variar em tempo de execução ou"
-
-#. Tag: para
-#: producermethods.xml:26
-#, no-c-format
-msgid "the objects require some custom initialization that is not performed by the Web Bean constructor"
-msgstr "os objetos requerem alguma inicialização personalizada que não é realizada pelo construtor do Web Bean"
-
-#. Tag: para
-#: producermethods.xml:33
-#, no-c-format
-msgid "For example, producer methods let us:"
-msgstr "Por exemplo, métodos produtores permitem:"
-
-#. Tag: para
-#: producermethods.xml:37
-#, no-c-format
-msgid "expose a JPA entity as a Web Bean,"
-msgstr "expor uma entidade JPA como um Web Bean,"
-
-#. Tag: para
-#: producermethods.xml:40
-#, no-c-format
-msgid "expose any JDK class as a Web Bean,"
-msgstr "expor qualquer classe do JDK como um Web Bean,"
-
-#. Tag: para
-#: producermethods.xml:43
-#, no-c-format
-msgid "define multiple Web Beans, with different scopes or initialization, for the same implementation class, or"
-msgstr "definir vários Web Beans, com diferentes escopos ou inicialização, para a mesma implementação da classe, ou"
-
-#. Tag: para
-#: producermethods.xml:47
-#, no-c-format
-msgid "vary the implementation of an API type at runtime."
-msgstr "variar a implementação de um tipo da API em tempo de execução."
-
-#. Tag: para
-#: producermethods.xml:51
-#, no-c-format
-msgid "In particular, producer methods let us use runtime polymorphism with Web Beans. As we've seen, deployment types are a powerful solution to the problem of deployment-time polymorphism. But once the system is deployed, the Web Bean implementation is fixed. A producer method has no such limitation:"
-msgstr "Em particular, métodos produtores permite-nos utilizar o polimorfismo em tempo de execução com Web Beans. Como vimos, os tipo de implantação são uma poderosa solução para o problema do polimorfismo em tempo de implantação. Mas, uma vez que o sistema está implantado, a implementação do Web Bean é fixada. Um método produtor não tem essa limitação:"
-
-#. Tag: programlisting
-#: producermethods.xml:56
-#, no-c-format
 msgid ""
-"<![CDATA[@SessionScoped\n"
+"<blockquote> <para>A Web Beans producer method acts as a source of objects "
+"to be injected, where:</para> <itemizedlist> <listitem> <para>the objects to "
+"be injected are not required to be instances of Web Beans,</para> </"
+"listitem> <listitem> <para>the concrete type of the objects to be injected "
+"may vary at runtime or</para> </listitem> <listitem> <para>the objects "
+"require some custom initialization that is not performed by the Web Bean "
+"constructor</para> </listitem> </itemizedlist> </blockquote> <para>For "
+"example, producer methods let us:</para> <itemizedlist> <listitem> "
+"<para>expose a JPA entity as a Web Bean,</para> </listitem> <listitem> "
+"<para>expose any JDK class as a Web Bean,</para> </listitem> <listitem> "
+"<para>define multiple Web Beans, with different scopes or initialization, "
+"for the same implementation class, or</para> </listitem> <listitem> "
+"<para>vary the implementation of an API type at runtime.</para> </listitem> "
+"</itemizedlist> <para>In particular, producer methods let us use runtime "
+"polymorphism with Web Beans. As we've seen, deployment types are a powerful "
+"solution to the problem of deployment-time polymorphism. But once the system "
+"is deployed, the Web Bean implementation is fixed. A producer method has no "
+"such limitation:</para> <programlisting role=\"JAVA\"><![CDATA"
+"[@SessionScoped\n"
 "public class Preferences {\n"
 "    \n"
 "    private PaymentStrategyType paymentStrategy;\n"
@@ -112,51 +80,15 @@
 "        } \n"
 "    }\n"
 "    \n"
-"}]]>"
+"}]]></programlisting> <para>Consider an injection point:</para> "
+"<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
+"paymentStrat;]]></programlisting> <para>This injection point has the same "
+"type and binding annotations as the producer method, so it resolves to the "
+"producer method using the usual Web Beans injection rules. The producer "
+"method will be called by the Web Bean manager to obtain an instance to "
+"service this injection point.</para>."
 msgstr ""
-"<![CDATA[@SessionScoped\n"
-"public class Preferences {\n"
-"    \n"
-"    private PaymentStrategyType paymentStrategy;\n"
-"    \n"
-"    ...\n"
-"    \n"
-"    @Produces @Preferred \n"
-"    public PaymentStrategy getPaymentStrategy() {\n"
-"        switch (paymentStrategy) {\n"
-"            case CREDIT_CARD: return new CreditCardPaymentStrategy();\n"
-"            case CHEQUE: return new ChequePaymentStrategy();\n"
-"            case PAYPAL: return new PayPalPaymentStrategy();\n"
-"            default: return null;\n"
-"        } \n"
-"    }\n"
-"    \n"
-"}]]>"
 
-#. Tag: para
-#: producermethods.xml:58
-#, no-c-format
-msgid "Consider an injection point:"
-msgstr "Considere o ponto de injeção:"
-
-#. Tag: programlisting
-#: producermethods.xml:60
-#, no-c-format
-msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
-msgstr "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
-
-#. Tag: para
-#: producermethods.xml:62
-#, no-c-format
-msgid "This injection point has the same type and binding annotations as the producer method, so it resolves to the producer method using the usual Web Beans injection rules. The producer method will be called by the Web Bean manager to obtain an instance to service this injection point."
-msgstr "Esse ponto de injeção tem o mesmo tipo e anotações de binding que o método produtor. Assim, resolve para o método produtor utilizando as regras de injeção da Web Beans. O método produtor será invocado pelo gerenciador do Bean Web para obter uma instância para servir esse ponto de injeção."
-
-#. Tag: chapter
-#: producermethods.xml:65
-#, no-c-format
-msgid "<chapter>.</chapter>"
-msgstr "<chapter>.</chapter>"
-
 #. Tag: title
 #: producermethods.xml:68
 #, no-c-format
@@ -166,14 +98,28 @@
 #. Tag: para
 #: producermethods.xml:70
 #, no-c-format
-msgid "The scope of the producer method defaults to <literal>@Dependent</literal>, and so it will be called <emphasis>every time</emphasis> the Web Bean manager injects this field or any other field that resolves to the same producer method. Thus, there could be multiple instances of the <literal>PaymentStrategy</literal> object for each user session."
-msgstr "O escopo padrão dos métodos produtores é <literal>@Dependent</literal>, e, por isso ,serão chamados <emphasis>toda vez</emphasis> que o gerenciador do Web Bean injetar esse atributo ou qualquer outro atributo que resolve para o mesmo método produtor. Assim, pode haver várias instâncias do objeto <literal>PaymentStrategy</literal> para cada sessão do usuário."
+msgid ""
+"The scope of the producer method defaults to <literal>@Dependent</literal>, "
+"and so it will be called <emphasis>every time</emphasis> the Web Bean "
+"manager injects this field or any other field that resolves to the same "
+"producer method. Thus, there could be multiple instances of the "
+"<literal>PaymentStrategy</literal> object for each user session."
+msgstr ""
+"O escopo padrão dos métodos produtores é <literal>@Dependent</literal>, e, "
+"por isso ,serão chamados <emphasis>toda vez</emphasis> que o gerenciador do "
+"Web Bean injetar esse atributo ou qualquer outro atributo que resolve para o "
+"mesmo método produtor. Assim, pode haver várias instâncias do objeto "
+"<literal>PaymentStrategy</literal> para cada sessão do usuário."
 
 #. Tag: para
 #: producermethods.xml:75
 #, no-c-format
-msgid "To change this behavior, we can add a <literal>@SessionScoped</literal> annotation to the method."
-msgstr "Para mudar esse comportamento, nós podemos adicionar a anotação <literal>@SessionScoped</literal> ao método."
+msgid ""
+"To change this behavior, we can add a <literal>@SessionScoped</literal> "
+"annotation to the method."
+msgstr ""
+"Para mudar esse comportamento, nós podemos adicionar a anotação "
+"<literal>@SessionScoped</literal> ao método."
 
 #. Tag: programlisting
 #: producermethods.xml:78
@@ -192,8 +138,14 @@
 #. Tag: para
 #: producermethods.xml:80
 #, no-c-format
-msgid "Now, when the producer method is called, the returned <literal>PaymentStrategy</literal> will be bound to the session context. The producer method won't be called again in the same session."
-msgstr "Agora, quando o método produtor é chamado, o <literal>PaymentStrategy</literal> retornado será associado ao contexto sessão. O método produtor não será invocado novamente na mesma sessão."
+msgid ""
+"Now, when the producer method is called, the returned "
+"<literal>PaymentStrategy</literal> will be bound to the session context. The "
+"producer method won't be called again in the same session."
+msgstr ""
+"Agora, quando o método produtor é chamado, o <literal>PaymentStrategy</"
+"literal> retornado será associado ao contexto sessão. O método produtor não "
+"será invocado novamente na mesma sessão."
 
 #. Tag: title
 #: producermethods.xml:87
@@ -204,14 +156,28 @@
 #. Tag: para
 #: producermethods.xml:89
 #, no-c-format
-msgid "There's one potential problem with the code above. The implementations of <literal>CreditCardPaymentStrategy</literal> are instantiated using the Java <literal>new</literal> operator. Objects instantiated directly by the application can't take advantage of dependency injection and don't have interceptors."
-msgstr "Existe um problema potencial com o código acima. As implementações de <literal>CreditCardPaymentStrategy</literal> são instanciadas utilizando o operador de Java <literal>new</literal>. Objetos instanciados diretamente pela aplicação não usufruem da injeção de dependência e não possuem interceptadores."
+msgid ""
+"There's one potential problem with the code above. The implementations of "
+"<literal>CreditCardPaymentStrategy</literal> are instantiated using the Java "
+"<literal>new</literal> operator. Objects instantiated directly by the "
+"application can't take advantage of dependency injection and don't have "
+"interceptors."
+msgstr ""
+"Existe um problema potencial com o código acima. As implementações de "
+"<literal>CreditCardPaymentStrategy</literal> são instanciadas utilizando o "
+"operador de Java <literal>new</literal>. Objetos instanciados diretamente "
+"pela aplicação não usufruem da injeção de dependência e não possuem "
+"interceptadores."
 
 #. Tag: para
 #: producermethods.xml:94
 #, no-c-format
-msgid "If this isn't what we want we can use dependency injection into the producer method to obtain Web Bean instances:"
-msgstr "Se  não é isso  o que queremos, podemos utilizar a injeção de dependência no método produtor para obter instâncias do Web Bean:"
+msgid ""
+"If this isn't what we want we can use dependency injection into the producer "
+"method to obtain Web Bean instances:"
+msgstr ""
+"Se  não é isso  o que queremos, podemos utilizar a injeção de dependência no "
+"método produtor para obter instâncias do Web Bean:"
 
 #. Tag: programlisting
 #: producermethods.xml:97
@@ -244,20 +210,50 @@
 #. Tag: para
 #: producermethods.xml:99
 #, no-c-format
-msgid "Wait, what if <literal>CreditCardPaymentStrategy</literal> is a request scoped Web Bean? Then the producer method has the effect of \"promoting\" the current request scoped instance into session scope. This is almost certainly a bug! The request scoped object will be destroyed by the Web Bean manager before the session ends, but the reference to the object will be left \"hanging\" in the session scope. This error will <emphasis>not</emphasis> be detected by the Web Bean manager, so please take extra care when returning Web Bean instances from producer methods!"
-msgstr "Espere, o que se <literal>CreditCardPaymentStrategy</literal> é um Web Bean de escopo de requisição? Então o método produtor tem o efeito de \"promover\" a instância atual no escopo de requisição para o escopo de sessão. Isso certamente é um erro! O objeto no escopo de requisição será destruído pelo gerenciador do Web Bean antes de terminar a sessão, mas a referência ao objeto será deixada \"presa\" no escopo sessão. Esse erro <emphasis>não</emphasis> será detectado pelo gerenciador do Web Bean. Por isso, tome cuidado quando retornar instâncias de Web Bean em métodos produtores!"
+msgid ""
+"Wait, what if <literal>CreditCardPaymentStrategy</literal> is a request "
+"scoped Web Bean? Then the producer method has the effect of \"promoting\" "
+"the current request scoped instance into session scope. This is almost "
+"certainly a bug! The request scoped object will be destroyed by the Web Bean "
+"manager before the session ends, but the reference to the object will be "
+"left \"hanging\" in the session scope. This error will <emphasis>not</"
+"emphasis> be detected by the Web Bean manager, so please take extra care "
+"when returning Web Bean instances from producer methods!"
+msgstr ""
+"Espere, o que se <literal>CreditCardPaymentStrategy</literal> é um Web Bean "
+"de escopo de requisição? Então o método produtor tem o efeito de \"promover"
+"\" a instância atual no escopo de requisição para o escopo de sessão. Isso "
+"certamente é um erro! O objeto no escopo de requisição será destruído pelo "
+"gerenciador do Web Bean antes de terminar a sessão, mas a referência ao "
+"objeto será deixada \"presa\" no escopo sessão. Esse erro <emphasis>não</"
+"emphasis> será detectado pelo gerenciador do Web Bean. Por isso, tome "
+"cuidado quando retornar instâncias de Web Bean em métodos produtores!"
 
 #. Tag: para
 #: producermethods.xml:107
 #, no-c-format
-msgid "There's at least three ways we could go about fixing this bug. We could change the scope of the <literal>CreditCardPaymentStrategy</literal> implementation, but this would affect other clients of that Web Bean. A better option would be to change the scope of the producer method to <literal>@Dependent</literal> or <literal>@RequestScoped</literal>."
-msgstr "Existem pelo menos três maneiras de corrigirmos esse erro. Podemos alterar o escopo da implementação do <literal>CreditCardPaymentStrategy</literal>, mas isso poderia afetar outros clientes desse Web Bean. A mehor opção seria alterar o escopo do médoto produtor para <literal>@Dependent</literal> ou <literal>@RequestScoped</literal>."
+msgid ""
+"There's at least three ways we could go about fixing this bug. We could "
+"change the scope of the <literal>CreditCardPaymentStrategy</literal> "
+"implementation, but this would affect other clients of that Web Bean. A "
+"better option would be to change the scope of the producer method to "
+"<literal>@Dependent</literal> or <literal>@RequestScoped</literal>."
+msgstr ""
+"Existem pelo menos três maneiras de corrigirmos esse erro. Podemos alterar o "
+"escopo da implementação do <literal>CreditCardPaymentStrategy</literal>, mas "
+"isso poderia afetar outros clientes desse Web Bean. A mehor opção seria "
+"alterar o escopo do médoto produtor para <literal>@Dependent</literal> ou "
+"<literal>@RequestScoped</literal>."
 
 #. Tag: para
 #: producermethods.xml:113
 #, no-c-format
-msgid "But a more common solution is to use the special <literal>@New</literal> binding annotation."
-msgstr "Mas, uma solução mais comum é utilizar a anotação especial de binding <literal>@New</literal>"
+msgid ""
+"But a more common solution is to use the special <literal>@New</literal> "
+"binding annotation."
+msgstr ""
+"Mas, uma solução mais comum é utilizar a anotação especial de binding "
+"<literal>@New</literal>"
 
 #. Tag: title
 #: producermethods.xml:119
@@ -276,9 +272,11 @@
 #, no-c-format
 msgid ""
 "<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy(@New CreditCardPaymentStrategy ccps,\n"
+"public PaymentStrategy getPaymentStrategy(@New CreditCardPaymentStrategy "
+"ccps,\n"
 "                                          @New ChequePaymentStrategy cps,\n"
-"                                          @New PayPalPaymentStrategy ppps) {\n"
+"                                          @New PayPalPaymentStrategy ppps) "
+"{\n"
 "    switch (paymentStrategy) {\n"
 "        case CREDIT_CARD: return ccps;\n"
 "        case CHEQUE: return cps;\n"
@@ -288,9 +286,11 @@
 "}]]>"
 msgstr ""
 "<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy(@New CreditCardPaymentStrategy ccps,\n"
+"public PaymentStrategy getPaymentStrategy(@New CreditCardPaymentStrategy "
+"ccps,\n"
 "                                          @New ChequePaymentStrategy cps,\n"
-"                                          @New PayPalPaymentStrategy ppps) {\n"
+"                                          @New PayPalPaymentStrategy ppps) "
+"{\n"
 "    switch (paymentStrategy) {\n"
 "        case CREDIT_CARD: return ccps;\n"
 "        case CHEQUE: return cps;\n"
@@ -302,6 +302,134 @@
 #. Tag: para
 #: producermethods.xml:125
 #, no-c-format
-msgid "Then a new <emphasis>dependent</emphasis> instance of <literal>CreditCardPaymentStrategy</literal> will be created, passed to the producer method, returned by the producer method and finally bound to the session context. The dependent object won't be destroyed until the <literal>Preferences</literal> object is destroyed, at the end of the session."
-msgstr "Assim a nova instância <emphasis>dependente</emphasis> de <literal>CreditCardPaymentStrategy</literal> será criada, passada para o método produtor, retornada pelo método produtor e, finalmente, associada ao contexto de sessão. O objeto dependente não será destruído até que o objeto <literal>Preferences</literal> seja destruído, no término da sessão."
+msgid ""
+"Then a new <emphasis>dependent</emphasis> instance of "
+"<literal>CreditCardPaymentStrategy</literal> will be created, passed to the "
+"producer method, returned by the producer method and finally bound to the "
+"session context. The dependent object won't be destroyed until the "
+"<literal>Preferences</literal> object is destroyed, at the end of the "
+"session."
+msgstr ""
+"Assim a nova instância <emphasis>dependente</emphasis> de "
+"<literal>CreditCardPaymentStrategy</literal> será criada, passada para o "
+"método produtor, retornada pelo método produtor e, finalmente, associada ao "
+"contexto de sessão. O objeto dependente não será destruído até que o objeto "
+"<literal>Preferences</literal> seja destruído, no término da sessão."
 
+#~ msgid ""
+#~ "A Web Beans producer method acts as a source of objects to be injected, "
+#~ "where:"
+#~ msgstr ""
+#~ "Um método produtor Web Beans funciona como uma fonte de objetos a ser "
+#~ "injetado, quando:"
+
+#~ msgid ""
+#~ "the objects to be injected are not required to be instances of Web Beans,"
+#~ msgstr ""
+#~ "os objetos a serem injetados não forem obrigados a ser instâncias de Web "
+#~ "Beans,"
+
+#~ msgid ""
+#~ "the concrete type of the objects to be injected may vary at runtime or"
+#~ msgstr ""
+#~ "o tipo concreto dos objetos a serem injetados pode variar em tempo de "
+#~ "execução ou"
+
+#~ msgid ""
+#~ "the objects require some custom initialization that is not performed by "
+#~ "the Web Bean constructor"
+#~ msgstr ""
+#~ "os objetos requerem alguma inicialização personalizada que não é "
+#~ "realizada pelo construtor do Web Bean"
+
+#~ msgid "For example, producer methods let us:"
+#~ msgstr "Por exemplo, métodos produtores permitem:"
+
+#~ msgid "expose a JPA entity as a Web Bean,"
+#~ msgstr "expor uma entidade JPA como um Web Bean,"
+
+#~ msgid "expose any JDK class as a Web Bean,"
+#~ msgstr "expor qualquer classe do JDK como um Web Bean,"
+
+#~ msgid ""
+#~ "define multiple Web Beans, with different scopes or initialization, for "
+#~ "the same implementation class, or"
+#~ msgstr ""
+#~ "definir vários Web Beans, com diferentes escopos ou inicialização, para a "
+#~ "mesma implementação da classe, ou"
+
+#~ msgid "vary the implementation of an API type at runtime."
+#~ msgstr "variar a implementação de um tipo da API em tempo de execução."
+
+#~ msgid ""
+#~ "In particular, producer methods let us use runtime polymorphism with Web "
+#~ "Beans. As we've seen, deployment types are a powerful solution to the "
+#~ "problem of deployment-time polymorphism. But once the system is deployed, "
+#~ "the Web Bean implementation is fixed. A producer method has no such "
+#~ "limitation:"
+#~ msgstr ""
+#~ "Em particular, métodos produtores permite-nos utilizar o polimorfismo em "
+#~ "tempo de execução com Web Beans. Como vimos, os tipo de implantação são "
+#~ "uma poderosa solução para o problema do polimorfismo em tempo de "
+#~ "implantação. Mas, uma vez que o sistema está implantado, a implementação "
+#~ "do Web Bean é fixada. Um método produtor não tem essa limitação:"
+
+#~ msgid ""
+#~ "<![CDATA[@SessionScoped\n"
+#~ "public class Preferences {\n"
+#~ "    \n"
+#~ "    private PaymentStrategyType paymentStrategy;\n"
+#~ "    \n"
+#~ "    ...\n"
+#~ "    \n"
+#~ "    @Produces @Preferred \n"
+#~ "    public PaymentStrategy getPaymentStrategy() {\n"
+#~ "        switch (paymentStrategy) {\n"
+#~ "            case CREDIT_CARD: return new CreditCardPaymentStrategy();\n"
+#~ "            case CHEQUE: return new ChequePaymentStrategy();\n"
+#~ "            case PAYPAL: return new PayPalPaymentStrategy();\n"
+#~ "            default: return null;\n"
+#~ "        } \n"
+#~ "    }\n"
+#~ "    \n"
+#~ "}]]>"
+#~ msgstr ""
+#~ "<![CDATA[@SessionScoped\n"
+#~ "public class Preferences {\n"
+#~ "    \n"
+#~ "    private PaymentStrategyType paymentStrategy;\n"
+#~ "    \n"
+#~ "    ...\n"
+#~ "    \n"
+#~ "    @Produces @Preferred \n"
+#~ "    public PaymentStrategy getPaymentStrategy() {\n"
+#~ "        switch (paymentStrategy) {\n"
+#~ "            case CREDIT_CARD: return new CreditCardPaymentStrategy();\n"
+#~ "            case CHEQUE: return new ChequePaymentStrategy();\n"
+#~ "            case PAYPAL: return new PayPalPaymentStrategy();\n"
+#~ "            default: return null;\n"
+#~ "        } \n"
+#~ "    }\n"
+#~ "    \n"
+#~ "}]]>"
+
+#~ msgid "Consider an injection point:"
+#~ msgstr "Considere o ponto de injeção:"
+
+#~ msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
+#~ msgstr "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
+
+#~ msgid ""
+#~ "This injection point has the same type and binding annotations as the "
+#~ "producer method, so it resolves to the producer method using the usual "
+#~ "Web Beans injection rules. The producer method will be called by the Web "
+#~ "Bean manager to obtain an instance to service this injection point."
+#~ msgstr ""
+#~ "Esse ponto de injeção tem o mesmo tipo e anotações de binding que o "
+#~ "método produtor. Assim, resolve para o método produtor utilizando as "
+#~ "regras de injeção da Web Beans. O método produtor será invocado pelo "
+#~ "gerenciador do Bean Web para obter uma instância para servir esse ponto "
+#~ "de injeção."
+
+#~ msgid "<chapter>.</chapter>"
+#~ msgstr "<chapter>.</chapter>"

Modified: doc/trunk/reference/pt-BR/ri-spi.po
===================================================================
--- doc/trunk/reference/pt-BR/ri-spi.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pt-BR/ri-spi.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -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-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-04-06 08:33-0300\n"
 "Last-Translator: João Paulo Viragine <joao.viragine at redhat.com>\n"
 "Language-Team: none\n"
@@ -22,13 +22,22 @@
 #. Tag: para
 #: ri-spi.xml:6
 #, no-c-format
-msgid "Currently the Web Beans RI only runs in JBoss AS 5; integrating the RI into other EE environments (for example another application server like Glassfish), into a servlet container (like Tomcat), or with an Embedded EJB3.1 implementation is fairly easy. In this Appendix we will briefly discuss the steps needed."
+msgid ""
+"Currently the Web Beans RI only runs in JBoss AS 5; integrating the RI into "
+"other EE environments (for example another application server like "
+"Glassfish), into a servlet container (like Tomcat), or with an Embedded "
+"EJB3.1 implementation is fairly easy. In this Appendix we will briefly "
+"discuss the steps needed."
 msgstr ""
 
 #. Tag: para
 #: ri-spi.xml:15
 #, no-c-format
-msgid "It should be possible to run Web Beans in an SE environment, but you'll to do more work, adding your own contexts and lifecycle. The Web Beans RI currently doesn't expose lifecycle extension points, so you would have to code directly against Web Beans RI classes."
+msgid ""
+"It should be possible to run Web Beans in an SE environment, but you'll to "
+"do more work, adding your own contexts and lifecycle. The Web Beans RI "
+"currently doesn't expose lifecycle extension points, so you would have to "
+"code directly against Web Beans RI classes."
 msgstr ""
 
 #. Tag: title
@@ -40,14 +49,21 @@
 #. Tag: para
 #: ri-spi.xml:26
 #, no-c-format
-msgid "The Web Beans SPI is located in <literal>webbeans-ri-spi</literal> module, and packaged as <literal>webbeans-ri-spi.jar</literal>. Some SPIs are optional, if you need to override the default behavior, others are required."
+msgid ""
+"The Web Beans SPI is located in <literal>webbeans-spi</literal> module, and "
+"packaged as <literal>webbeans-spi.jar</literal>. Some SPIs are optional, if "
+"you need to override the default behavior, others are required."
 msgstr ""
 
 #. Tag: para
 #: ri-spi.xml:33
 #, no-c-format
-msgid "All interfaces in the SPI support the decorator pattern and provide a <literal>Forwarding</literal> class."
-msgstr "Todas as interfaces na SPI suportam o padrão decorator e provêm a classe <literal>Forwarding</literal>."
+msgid ""
+"All interfaces in the SPI support the decorator pattern and provide a "
+"<literal>Forwarding</literal> class."
+msgstr ""
+"Todas as interfaces na SPI suportam o padrão decorator e provêm a classe "
+"<literal>Forwarding</literal>."
 
 #. Tag: title
 #: ri-spi.xml:39
@@ -61,7 +77,8 @@
 msgid ""
 "<![CDATA[public interface WebBeanDiscovery {\n"
 "   /**\n"
-"    * Gets list of all classes in classpath archives with web-beans.xml files\n"
+"    * Gets list of all classes in classpath archives with web-beans.xml "
+"files\n"
 "    * \n"
 "    * @return An iterable over the classes \n"
 "    */\n"
@@ -78,7 +95,8 @@
 msgstr ""
 "<![CDATA[public interface WebBeanDiscovery {\n"
 "   /**\n"
-"    * Gets list of all classes in classpath archives with web-beans.xml files\n"
+"    * Gets list of all classes in classpath archives with web-beans.xml "
+"files\n"
 "    * \n"
 "    * @return An iterable over the classes \n"
 "    */\n"
@@ -96,7 +114,10 @@
 #. Tag: para
 #: ri-spi.xml:43
 #, no-c-format
-msgid "The discovery of Web Bean classes and <literal>web-bean.xml</literal> files is self-explanatory (the algorithm is described in Section 11.1 of the JSR-299 specification, and isn't repeated here)."
+msgid ""
+"The discovery of Web Bean classes and <literal>web-bean.xml</literal> files "
+"is self-explanatory (the algorithm is described in Section 11.1 of the JSR-"
+"299 specification, and isn't repeated here)."
 msgstr ""
 
 #. Tag: title
@@ -108,7 +129,11 @@
 #. Tag: para
 #: ri-spi.xml:54
 #, no-c-format
-msgid "The Web Beans RI also delegates EJB3 bean discovery to the container so that it doesn't have to scan for EJB3 annotations or parse <literal>ejb-jar.xml</literal>. For each EJB in the application an EJBDescriptor should be discovered:"
+msgid ""
+"The Web Beans RI also delegates EJB3 bean discovery to the container so that "
+"it doesn't have to scan for EJB3 annotations or parse <literal>ejb-jar.xml</"
+"literal>. For each EJB in the application an EJBDescriptor should be "
+"discovered:"
 msgstr ""
 
 #. Tag: programlisting
@@ -153,14 +178,16 @@
 "    * \n"
 "    * @return An iterator over the local business interfaces\n"
 "    */\n"
-"   public Iterable<BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces();\n"
+"   public Iterable<BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces"
+"();\n"
 "   \n"
 "   /**\n"
 "    * Gets the remote business interfaces of the EJB\n"
 "    * \n"
 "    * @return An iterator over the remote business interfaces\n"
 "    */\n"
-"   public Iterable<BusinessInterfaceDescriptor<?>> getRemoteBusinessInterfaces();\n"
+"   public Iterable<BusinessInterfaceDescriptor<?>> "
+"getRemoteBusinessInterfaces();\n"
 "   \n"
 "   /**\n"
 "    * Get the remove methods of the EJB\n"
@@ -221,14 +248,16 @@
 "    * \n"
 "    * @return An iterator over the local business interfaces\n"
 "    */\n"
-"   public Iterable<BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces();\n"
+"   public Iterable<BusinessInterfaceDescriptor<?>> getLocalBusinessInterfaces"
+"();\n"
 "   \n"
 "   /**\n"
 "    * Gets the remote business interfaces of the EJB\n"
 "    * \n"
 "    * @return An iterator over the remote business interfaces\n"
 "    */\n"
-"   public Iterable<BusinessInterfaceDescriptor<?>> getRemoteBusinessInterfaces();\n"
+"   public Iterable<BusinessInterfaceDescriptor<?>> "
+"getRemoteBusinessInterfaces();\n"
 "   \n"
 "   /**\n"
 "    * Get the remove methods of the EJB\n"
@@ -278,13 +307,25 @@
 #. Tag: para
 #: ri-spi.xml:65
 #, no-c-format
-msgid "The <literal>EjbDescriptor</literal> is fairly self-explanatory, and should return the relevant metadata as defined in the EJB specification. In addition to these two interfaces, there is <literal>BusinessInterfaceDescriptor</literal> which represents a local business interface (encapsulating the interface class and jndi name used to look up an instance of the EJB)."
+msgid ""
+"The <literal>EjbDescriptor</literal> is fairly self-explanatory, and should "
+"return the relevant metadata as defined in the EJB specification. In "
+"addition to these two interfaces, there is "
+"<literal>BusinessInterfaceDescriptor</literal> which represents a local "
+"business interface (encapsulating the interface class and jndi name used to "
+"look up an instance of the EJB)."
 msgstr ""
 
 #. Tag: para
 #: ri-spi.xml:74
 #, no-c-format
-msgid "The resolution of <literal>@EJB</literal> and <literal>@Resource</literal> is delegated to the container. You must provide an implementation of <literal>org.jboss.webbeans.ejb.spi.EjbServices</literal> which provides these operations. Web Beans passes in the <literal>javax.inject.manager.InjectionPoint</literal> the resolution is for, as well as the <literal>NamingContext</literal> in use for each resolution request."
+msgid ""
+"The resolution of <literal>@EJB</literal> and <literal>@Resource</literal> "
+"is delegated to the container. You must provide an implementation of "
+"<literal>org.jboss.webbeans.ejb.spi.EjbServices</literal> which provides "
+"these operations. Web Beans passes in the <literal>javax.inject.manager."
+"InjectionPoint</literal> the resolution is for, as well as the "
+"<literal>NamingContext</literal> in use for each resolution request."
 msgstr ""
 
 #. Tag: title
@@ -296,14 +337,21 @@
 #. Tag: para
 #: ri-spi.xml:100
 #, no-c-format
-msgid "Just as resolution of <literal>@EJB</literal> is delegated to the container, so is resolution of <literal>@PersistenceContext</literal>."
+msgid ""
+"Just as resolution of <literal>@EJB</literal> is delegated to the container, "
+"so is resolution of <literal>@PersistenceContext</literal>."
 msgstr ""
 
 #. Tag: para
 #: ri-spi.xml:106
 #, no-c-format
-msgid "OPEN ISSUE: Web Beans also requires the container to provide a list of entities in the deployment, so that they aren't discovered as simple beans."
-msgstr "Questão aberta: Web Beans também exige que o container forneça uma lista de entidades na implantação, de forma que eles não são descobertos como web beans simples."
+msgid ""
+"OPEN ISSUE: Web Beans also requires the container to provide a list of "
+"entities in the deployment, so that they aren't discovered as simple beans."
+msgstr ""
+"Questão aberta: Web Beans também exige que o container forneça uma lista de "
+"entidades na implantação, de forma que eles não são descobertos como web "
+"beans simples."
 
 #. Tag: title
 #: ri-spi.xml:114
@@ -314,8 +362,14 @@
 #. Tag: para
 #: ri-spi.xml:116
 #, no-c-format
-msgid "The Web Beans RI must delegate JTA activities to the container. The SPI provides a couple hooks to easily achieve this with the <literal>TransactionServices</literal> interface."
-msgstr "A Web Beans RI deve delegar as atividades JTA para o container. A SPI fornece vários ganchos para facilmente conseguir isso com a interface <literal>TransactionServices</literal>."
+msgid ""
+"The Web Beans RI must delegate JTA activities to the container. The SPI "
+"provides a couple hooks to easily achieve this with the "
+"<literal>TransactionServices</literal> interface."
+msgstr ""
+"A Web Beans RI deve delegar as atividades JTA para o container. A SPI "
+"fornece vários ganchos para facilmente conseguir isso com a interface "
+"<literal>TransactionServices</literal>."
 
 #. Tag: programlisting
 #: ri-spi.xml:122
@@ -339,10 +393,12 @@
 "    * @see javax.transaction.Synchronization\n"
 "    * @param synchronizedObserver\n"
 "    */\n"
-"   public void registerSynchronization(Synchronization synchronizedObserver);\n"
+"   public void registerSynchronization(Synchronization "
+"synchronizedObserver);\n"
 "\n"
 "   /**\n"
-"    * Queries the status of the current execution to see if a transaction is\n"
+"    * Queries the status of the current execution to see if a transaction "
+"is\n"
 "    * currently active.\n"
 "    * \n"
 "    * @return true if a transaction is active\n"
@@ -368,10 +424,12 @@
 "    * @see javax.transaction.Synchronization\n"
 "    * @param synchronizedObserver\n"
 "    */\n"
-"   public void registerSynchronization(Synchronization synchronizedObserver);\n"
+"   public void registerSynchronization(Synchronization "
+"synchronizedObserver);\n"
 "\n"
 "   /**\n"
-"    * Queries the status of the current execution to see if a transaction is\n"
+"    * Queries the status of the current execution to see if a transaction "
+"is\n"
 "    * currently active.\n"
 "    * \n"
 "    * @return true if a transaction is active\n"
@@ -382,19 +440,31 @@
 #. Tag: para
 #: ri-spi.xml:124
 #, no-c-format
-msgid "The enumeration <literal>Status</literal> is a convenience for implementors to be able to keep track of whether a synchronization is supposed to notify an observer only when the transaction is successful, or after a failure, or regardless of the status of the transaction."
+msgid ""
+"The enumeration <literal>Status</literal> is a convenience for implementors "
+"to be able to keep track of whether a synchronization is supposed to notify "
+"an observer only when the transaction is successful, or after a failure, or "
+"regardless of the status of the transaction."
 msgstr ""
 
 #. Tag: para
 #: ri-spi.xml:131
 #, no-c-format
-msgid "Any <literal>javax.transaction.Synchronization</literal> implementation may be passed to the <literal>registerSynchronization()</literal> method and the SPI implementation should immediately register the synchronization with the JTA transaction manager used for the EJBs."
+msgid ""
+"Any <literal>javax.transaction.Synchronization</literal> implementation may "
+"be passed to the <literal>registerSynchronization()</literal> method and the "
+"SPI implementation should immediately register the synchronization with the "
+"JTA transaction manager used for the EJBs."
 msgstr ""
 
 #. Tag: para
 #: ri-spi.xml:138
 #, no-c-format
-msgid "To make it easier to determine whether or not a transaction is currently active for the requesting thread, the <literal>isTransactionActive()</literal> method can be used. The SPI implementation should query the same JTA transaction manager used for the EJBs."
+msgid ""
+"To make it easier to determine whether or not a transaction is currently "
+"active for the requesting thread, the <literal>isTransactionActive()</"
+"literal> method can be used. The SPI implementation should query the same "
+"JTA transaction manager used for the EJBs."
 msgstr ""
 
 #. Tag: title
@@ -406,7 +476,12 @@
 #. Tag: para
 #: ri-spi.xml:149
 #, no-c-format
-msgid "Web Beans expects the Application Server or other container to provide the storage for each application's context. The <literal>org.jboss.webbeans.context.api.BeanStore</literal> should be implemented to provide an application scoped storage. You may find <literal>org.jboss.webbeans.context.api.helpers.ConcurrentHashMapBeanStore</literal> useful."
+msgid ""
+"Web Beans expects the Application Server or other container to provide the "
+"storage for each application's context. The <literal>org.jboss.webbeans."
+"context.api.BeanStore</literal> should be implemented to provide an "
+"application scoped storage. You may find <literal>org.jboss.webbeans.context."
+"api.helpers.ConcurrentHashMapBeanStore</literal> useful."
 msgstr ""
 
 #. Tag: title
@@ -418,43 +493,69 @@
 #. Tag: para
 #: ri-spi.xml:163
 #, no-c-format
-msgid "The <literal>org.jboss.webbeans.bootstrap.api.Bootstrap</literal> interface defines the bootstrap for Web Beans. To boot Web Beans, you must obtain an instance of <literal>org.jboss.webbeans.bootstrap.WebBeansBootstrap</literal> (which implements <literal>Boostrap</literal>), tell it about the SPIs in use, and then request the container start."
+msgid ""
+"The <literal>org.jboss.webbeans.bootstrap.api.Bootstrap</literal> interface "
+"defines the bootstrap for Web Beans. To boot Web Beans, you must obtain an "
+"instance of <literal>org.jboss.webbeans.bootstrap.WebBeansBootstrap</"
+"literal> (which implements <literal>Boostrap</literal>), tell it about the "
+"SPIs in use, and then request the container start."
 msgstr ""
 
 #. Tag: para
 #: ri-spi.xml:172
 #, no-c-format
-msgid "The bootstrap is split into phases, bootstrap initialization and boot and shutdown. Initialization will create a manager, and add the standard (specification defined) contexts. Bootstrap will discover EJBs, classes and XML; add beans defined using annotations; add beans defined using XML; and validate all beans."
+msgid ""
+"The bootstrap is split into phases, bootstrap initialization and boot and "
+"shutdown. Initialization will create a manager, and add the standard "
+"(specification defined) contexts. Bootstrap will discover EJBs, classes and "
+"XML; add beans defined using annotations; add beans defined using XML; and "
+"validate all beans."
 msgstr ""
 
 #. Tag: para
 #: ri-spi.xml:180
 #, no-c-format
-msgid "The bootstrap supports multiple environments. Different environments require different services to be present (for example servlet doesn't require transaction, EJB or JPA services). By default an EE environment is assumed, but you can adjust the environment by calling <literal>bootstrap.setEnvironment()</literal>."
+msgid ""
+"The bootstrap supports multiple environments. Different environments require "
+"different services to be present (for example servlet doesn't require "
+"transaction, EJB or JPA services). By default an EE environment is assumed, "
+"but you can adjust the environment by calling <literal>bootstrap."
+"setEnvironment()</literal>."
 msgstr ""
 
 #. Tag: para
 #: ri-spi.xml:188
 #, no-c-format
-msgid "To initialize the bootstrap you call <literal>Bootstrap.initialize()</literal>. Before calling <literal>initialize()</literal>, you must register any services required by your environment. You can do this by calling <literal>bootstrap.getServices().add(JpaServices.class, new MyJpaServices())</literal>. You must also provide the application context bean store."
+msgid ""
+"To initialize the bootstrap you call <literal>Bootstrap.initialize()</"
+"literal>. Before calling <literal>initialize()</literal>, you must register "
+"any services required by your environment. You can do this by calling "
+"<literal>bootstrap.getServices().add(JpaServices.class, new MyJpaServices())"
+"</literal>. You must also provide the application context bean store."
 msgstr ""
 
 #. Tag: para
 #: ri-spi.xml:197
 #, no-c-format
-msgid "Having called <literal>initialize()</literal>, the <literal>Manager</literal> can be obtained by calling <literal>Bootstrap.getManager()</literal>."
+msgid ""
+"Having called <literal>initialize()</literal>, the <literal>Manager</"
+"literal> can be obtained by calling <literal>Bootstrap.getManager()</"
+"literal>."
 msgstr ""
 
 #. Tag: para
 #: ri-spi.xml:203
 #, no-c-format
 msgid "To boot the container you call <literal>Bootstrap.boot()</literal>."
-msgstr "Para iniciar o container é chamado <literal>Bootstrap.boot()</literal>."
+msgstr ""
+"Para iniciar o container é chamado <literal>Bootstrap.boot()</literal>."
 
 #. Tag: para
 #: ri-spi.xml:207
 #, no-c-format
-msgid "To shutdown the container you call <literal>Bootstrap.shutdown()</literal>. This allows the container to perform any cleanup operations needed."
+msgid ""
+"To shutdown the container you call <literal>Bootstrap.shutdown()</literal>. "
+"This allows the container to perform any cleanup operations needed."
 msgstr ""
 
 #. Tag: title
@@ -466,7 +567,11 @@
 #. Tag: para
 #: ri-spi.xml:218
 #, no-c-format
-msgid "The Web Beans RI implements JNDI binding and lookup according to standards, however you may want to alter the binding and lookup (for example in an environment where JNDI isn't available). To do this, implement <literal>org.jboss.webbeans.resources.spi.NamingContext</literal>:"
+msgid ""
+"The Web Beans RI implements JNDI binding and lookup according to standards, "
+"however you may want to alter the binding and lookup (for example in an "
+"environment where JNDI isn't available). To do this, implement <literal>org."
+"jboss.webbeans.resources.spi.NamingContext</literal>:"
 msgstr ""
 
 #. Tag: programlisting
@@ -526,7 +631,12 @@
 #. Tag: para
 #: ri-spi.xml:233
 #, no-c-format
-msgid "The Web Beans RI needs to load classes and resources from the classpath at various times. By default, they are loaded from the same classloader that was used to load the RI, however this may not be correct for some environments. If this is case, you can implement <literal>org.jboss.webbeans.spi.ResourceLoader</literal>:"
+msgid ""
+"The Web Beans RI needs to load classes and resources from the classpath at "
+"various times. By default, they are loaded from the same classloader that "
+"was used to load the RI, however this may not be correct for some "
+"environments. If this is case, you can implement <literal>org.jboss.webbeans."
+"spi.ResourceLoader</literal>:"
 msgstr ""
 
 #. Tag: programlisting
@@ -602,19 +712,28 @@
 #. Tag: para
 #: ri-spi.xml:248
 #, no-c-format
-msgid "Java EE / Servlet does not provide any hooks which can be used to provide injection into Servlets, so Web Beans provides an API to allow the container to request JSR-299 injection for a Servlet."
+msgid ""
+"Java EE / Servlet does not provide any hooks which can be used to provide "
+"injection into Servlets, so Web Beans provides an API to allow the container "
+"to request JSR-299 injection for a Servlet."
 msgstr ""
 
 #. Tag: para
 #: ri-spi.xml:254
 #, no-c-format
-msgid "To be compliant with JSR-299, the container should request servlet injection for each newly instantiated servlet after the constructor returns and before the servlet is placed into service."
+msgid ""
+"To be compliant with JSR-299, the container should request servlet injection "
+"for each newly instantiated servlet after the constructor returns and before "
+"the servlet is placed into service."
 msgstr ""
 
 #. Tag: para
 #: ri-spi.xml:260
 #, no-c-format
-msgid "To perform injection on a servlet call <literal>WebBeansManager.injectServlet()</literal>. The manager can be obtained from <literal>Bootstrap.getManager()</literal>."
+msgid ""
+"To perform injection on a servlet call <literal>WebBeansManager.injectServlet"
+"()</literal>. The manager can be obtained from <literal>Bootstrap.getManager"
+"()</literal>."
 msgstr ""
 
 #. Tag: title
@@ -626,7 +745,9 @@
 #. Tag: para
 #: ri-spi.xml:273
 #, no-c-format
-msgid "There are a number of requirements that the Web Beans RI places on the container for correct functioning that fall outside implementation of APIs"
+msgid ""
+"There are a number of requirements that the Web Beans RI places on the "
+"container for correct functioning that fall outside implementation of APIs"
 msgstr ""
 
 #. Tag: term
@@ -638,7 +759,11 @@
 #. Tag: para
 #: ri-spi.xml:285
 #, no-c-format
-msgid "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."
+msgid ""
+"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
@@ -650,13 +775,22 @@
 #. Tag: para
 #: ri-spi.xml:298
 #, 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."
+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: para
 #: ri-spi.xml:307
 #, no-c-format
-msgid "If you are integrating the Web Beans into a JSF environment you must register <literal>org.jboss.webbeans.servlet.ConversationPropagationFilter</literal> as a Servlet listener, either automatically, or through user configuration, for each Web Beans application which uses JSF. This filter can be registered for all Servlet deployment safely."
+msgid ""
+"If you are integrating the Web Beans into a JSF environment you must "
+"register <literal>org.jboss.webbeans.servlet.ConversationPropagationFilter</"
+"literal> as a Servlet listener, either automatically, or through user "
+"configuration, for each Web Beans application which uses JSF. This filter "
+"can be registered for all Servlet deployment safely."
 msgstr ""
 
 #. Tag: term
@@ -668,13 +802,20 @@
 #. Tag: para
 #: ri-spi.xml:323
 #, 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."
+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: para
 #: ri-spi.xml:333
 #, no-c-format
-msgid "You must register the <literal>SessionBeanInterceptor</literal> as the inner most interceptor in the stack for all EJBs."
+msgid ""
+"You must register the <literal>SessionBeanInterceptor</literal> as the inner "
+"most interceptor in the stack for all EJBs."
 msgstr ""
 
 #. Tag: term
@@ -686,58 +827,72 @@
 #. Tag: para
 #: ri-spi.xml:345
 #, 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-core.jar</literal> into the applications isolated classloader. It cannot be loaded from a shared classloader."
+msgid ""
+"If you are integrating the Web Beans into an environment that supports "
+"deployment of applications, you must insert the <literal>webbeans-core.jar</"
+"literal> into the applications isolated classloader. It cannot be loaded "
+"from a shared classloader."
 msgstr ""
 
 #~ msgid "EJB Discovery"
 #~ msgstr "Descoberta de EJB (EJB Discovery)"
+
 #~ msgid ""
 #~ "org.jboss.webbeans.bootstrap.spi.WebBeanDiscovery= \\ \n"
 #~ "   org.jboss.webbeans.integration.jbossas.WebBeanDiscoveryImpl"
 #~ msgstr ""
 #~ "org.jboss.webbeans.bootstrap.spi.WebBeanDiscovery= \\ \n"
 #~ "   org.jboss.webbeans.integration.jbossas.WebBeanDiscoveryImpl"
+
 #~ msgid ""
 #~ "<![CDATA[public WebBeanDiscoveryImpl(ServletContext servletContext) {}]]>"
 #~ msgstr ""
 #~ "<![CDATA[public WebBeanDiscoveryImpl(ServletContext servletContext) {}]]>"
+
 #~ msgid ""
 #~ "org.jboss.webbeans.bootstrap.spi.EjbDiscovery= \\\n"
 #~ "   org.jboss.webbeans.integration.jbossas.EjbDiscoveryImpl"
 #~ msgstr ""
 #~ "org.jboss.webbeans.bootstrap.spi.EjbDiscovery= \\\n"
 #~ "   org.jboss.webbeans.integration.jbossas.EjbDiscoveryImpl"
+
 #~ msgid ""
 #~ "<![CDATA[public EjbDiscoveryImpl(ServletContext servletContext) {}]]>"
 #~ msgstr ""
 #~ "<![CDATA[public EjbDiscoveryImpl(ServletContext servletContext) {}]]>"
+
 #~ msgid "and tell the RI to use it:"
 #~ msgstr "e informar para a RI usá-lo:"
+
 #~ msgid ""
 #~ "org.jboss.webbeans.resources.spi.NamingContext=com.acme.MyNamingContext"
 #~ msgstr ""
 #~ "org.jboss.webbeans.resources.spi.NamingContext=com.acme.MyNamingContext"
+
 #~ msgid "<![CDATA[public MyNamingContext(ServletContext servletContext) {}]]>"
 #~ msgstr ""
 #~ "<![CDATA[public MyNamingContext(ServletContext servletContext) {}]]>"
+
 #~ msgid ""
 #~ "The servlet context can be used to allow your implementation of "
 #~ "<literal>NamingContext</literal> to interact with the container."
 #~ msgstr ""
 #~ "O contexto servlet pode ser utilizado para permitir a implementação de "
 #~ "<literal>NamingContext</literal> para interagir com o container."
+
 #~ msgid ""
 #~ "org.jboss.webbeans.resources.spi.ResourceLoader=com.acme.ResourceLoader"
 #~ msgstr ""
 #~ "org.jboss.webbeans.resources.spi.ResourceLoader=com.acme.ResourceLoader"
+
 #~ msgid ""
 #~ "<![CDATA[public MyResourceLoader(ServletContext servletContext) {}]]>"
 #~ msgstr ""
 #~ "<![CDATA[public MyResourceLoader(ServletContext servletContext) {}]]>"
+
 #~ msgid ""
 #~ "The servlet context can be used to allow your implementation of "
 #~ "<literal>ResourceLoader</literal> to interact with the container."
 #~ msgstr ""
 #~ "O contexto servlet pode ser utilizado para permitir a implementação de "
 #~ "<literal>ResourceLoader</literal> para interagir com o container."
-

Modified: doc/trunk/reference/pt-BR/ri.po
===================================================================
--- doc/trunk/reference/pt-BR/ri.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/pt-BR/ri.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -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-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-04-10 16:32-0300\n"
 "Last-Translator: João Paulo Viragine <joao.viragine at redhat.com>\n"
 "Language-Team: none\n"
@@ -22,14 +22,36 @@
 #. Tag: para
 #: ri.xml:6
 #, no-c-format
-msgid "The Web Beans is being developed at <ulink url=\"http://seamframework.org/WebBeans\">the Seam project</ulink>. You can download the latest developer release of Web Beans from the <ulink url=\"http://seamframework.org/Download\">the downloads page</ulink>."
-msgstr "A Web Beans está sendo desenvolvida no <ulink url=\"http://seamframework.org/WebBeans\">projeto Seam</ulink>. Você pode baixar a última versão da Web Beans na <ulink url=\"http://seamframework.org/Download\">página de downloads</ulink>."
+msgid ""
+"The Web Beans is being developed at <ulink url=\"http://seamframework.org/"
+"WebBeans\">the Seam project</ulink>. You can download the latest developer "
+"release of Web Beans from the <ulink url=\"http://seamframework.org/Download"
+"\">the downloads page</ulink>."
+msgstr ""
+"A Web Beans está sendo desenvolvida no <ulink url=\"http://seamframework.org/"
+"WebBeans\">projeto Seam</ulink>. Você pode baixar a última versão da Web "
+"Beans na <ulink url=\"http://seamframework.org/Download\">página de "
+"downloads</ulink>."
 
 #. Tag: para
 #: ri.xml:13
 #, no-c-format
-msgid "Web Beans comes with a two deployable example applications: <literal>webbeans-numberguess</literal>, a war example, containing only simple beans, and <literal>webbeans-translator</literal> an ear example, containing enterprise beans. There are also two variations on the numberguess example, the tomcat example (suitable for deployment to Tomcat) and the jsf2 example, which you can use if you are running JSF2. To run the examples you'll need the following:"
-msgstr "A Web Beans vem com duas aplicações de exemplo: <literal>webbeans-numberguess</literal> - um war, contendo apenas beans simples (simple beans)  e <literal>webbeans-translator</literal>, e um ear, contendo beans corporativos (enterprise beans) -. Existem ,ainda, duas variações do exemplo numberguess: o exemplo tomcat (adequado para a implantação no Tomcat) e o exemplo jsf2, que você pode usar se estiver utilizando JSF2. Para executar os exemplos, você precisará do seguinte:"
+msgid ""
+"Web Beans comes with a two deployable example applications: "
+"<literal>webbeans-numberguess</literal>, a war example, containing only "
+"simple beans, and <literal>webbeans-translator</literal> an ear example, "
+"containing enterprise beans. There are also two variations on the "
+"numberguess example, the tomcat example (suitable for deployment to Tomcat) "
+"and the jsf2 example, which you can use if you are running JSF2. To run the "
+"examples you'll need the following:"
+msgstr ""
+"A Web Beans vem com duas aplicações de exemplo: <literal>webbeans-"
+"numberguess</literal> - um war, contendo apenas beans simples (simple "
+"beans)  e <literal>webbeans-translator</literal>, e um ear, contendo beans "
+"corporativos (enterprise beans) -. Existem ,ainda, duas variações do exemplo "
+"numberguess: o exemplo tomcat (adequado para a implantação no Tomcat) e o "
+"exemplo jsf2, que você pode usar se estiver utilizando JSF2. Para executar "
+"os exemplos, você precisará do seguinte:"
 
 #. Tag: para
 #: ri.xml:25
@@ -64,8 +86,13 @@
 #. Tag: para
 #: ri.xml:41
 #, no-c-format
-msgid "You'll need to download JBoss AS 5.0.1.GA from <ulink url=\"http://www.jboss.org/jbossas/downloads/\">jboss.org</ulink>, and unzip it. For example:"
-msgstr "Você precisará fazer o download do JBoss AS 5.0.1.GA em <ulink url=\"http://www.jboss.org/jbossas/downloads/\">jboss.org</ulink> e descompactá-lo. Por exemplo:\""
+msgid ""
+"You'll need to download JBoss AS 5.0.1.GA from <ulink url=\"http://www.jboss."
+"org/jbossas/downloads/\">jboss.org</ulink>, and unzip it. For example:"
+msgstr ""
+"Você precisará fazer o download do JBoss AS 5.0.1.GA em <ulink url=\"http://"
+"www.jboss.org/jbossas/downloads/\">jboss.org</ulink> e descompactá-lo. Por "
+"exemplo:\""
 
 #. Tag: programlisting
 #: ri.xml:47
@@ -78,15 +105,17 @@
 "$ unzip ~/jboss-5.0.1.GA.zip]]>"
 
 #. Tag: para
-#: ri.xml:49
-#: ri.xml:170
+#: ri.xml:49 ri.xml:170
 #, no-c-format
-msgid "Next, download Web Beans from <ulink url=\"http://seamframework.org/Download\">seamframework.org</ulink>, and unzip it. For example"
-msgstr "Depois, faça o download da Web Beans em <ulink url=\"http://seamframework.org/Download\">seamframework.org</ulink> e descompacte-o. Por exemplo"
+msgid ""
+"Next, download Web Beans from <ulink url=\"http://seamframework.org/Download"
+"\">seamframework.org</ulink>, and unzip it. For example"
+msgstr ""
+"Depois, faça o download da Web Beans em <ulink url=\"http://seamframework."
+"org/Download\">seamframework.org</ulink> e descompacte-o. Por exemplo"
 
 #. Tag: programlisting
-#: ri.xml:55
-#: ri.xml:176
+#: ri.xml:55 ri.xml:176
 #, no-c-format
 msgid ""
 "<![CDATA[$ cd ~/\n"
@@ -98,8 +127,14 @@
 #. Tag: para
 #: ri.xml:58
 #, no-c-format
-msgid "Next, we need to tell Web Beans where JBoss is located. Edit <literal>jboss-as/build.properties</literal> and set the <literal>jboss.home</literal> property. For example:"
-msgstr "Em seguida, temos de dizer aos Web Beans onde o JBoss está localizado. Editar o <literal>jboss-as/build.properties</literal> e definir a propriedade <literal>jboss.home</literal>. Por exemplo:"
+msgid ""
+"Next, we need to tell Web Beans where JBoss is located. Edit <literal>jboss-"
+"as/build.properties</literal> and set the <literal>jboss.home</literal> "
+"property. For example:"
+msgstr ""
+"Em seguida, temos de dizer aos Web Beans onde o JBoss está localizado. "
+"Editar o <literal>jboss-as/build.properties</literal> e definir a "
+"propriedade <literal>jboss.home</literal>. Por exemplo:"
 
 #. Tag: programlisting
 #: ri.xml:64
@@ -110,8 +145,12 @@
 #. Tag: para
 #: ri.xml:66
 #, no-c-format
-msgid "To install Web Beans, you'll need Ant 1.7.0 installed, and the <literal>ANT_HOME</literal> environment variable set. For example:"
-msgstr "Para instalar a Web Beans, você precisará do Ant 1.7.0 instalado e a variável de ambiente <literal>ANT_HOME</literal> setada. Por exemplo:"
+msgid ""
+"To install Web Beans, you'll need Ant 1.7.0 installed, and the "
+"<literal>ANT_HOME</literal> environment variable set. For example:"
+msgstr ""
+"Para instalar a Web Beans, você precisará do Ant 1.7.0 instalado e a "
+"variável de ambiente <literal>ANT_HOME</literal> setada. Por exemplo:"
 
 #. Tag: programlisting
 #: ri.xml:71
@@ -126,8 +165,12 @@
 #. Tag: para
 #: ri.xml:73
 #, no-c-format
-msgid "Then, you can install the update. The update script will use Maven to download Web Beans automatically."
-msgstr "Então, você pode instalar a atualização. O script de atualização  utilizará o Maven para fazer o download da Web Beans automaticamente."
+msgid ""
+"Then, you can install the update. The update script will use Maven to "
+"download Web Beans automatically."
+msgstr ""
+"Então, você pode instalar a atualização. O script de atualização  utilizará "
+"o Maven para fazer o download da Web Beans automaticamente."
 
 #. Tag: programlisting
 #: ri.xml:78
@@ -143,31 +186,42 @@
 #: ri.xml:80
 #, no-c-format
 msgid "Now, you're ready to deploy your first example!"
-msgstr "Agora, você está pronto para fazer a publicação do seu primeiro exemplo!"
+msgstr ""
+"Agora, você está pronto para fazer a publicação do seu primeiro exemplo!"
 
 #. Tag: para
 #: ri.xml:85
 #, no-c-format
-msgid "The build scripts for the examples offer a number of targets for JBoss AS, these are:"
-msgstr "Os scripts para criar os exemplos oferecem uma série de alvos para JBoss AS, entre eles:"
+msgid ""
+"The build scripts for the examples offer a number of targets for JBoss AS, "
+"these are:"
+msgstr ""
+"Os scripts para criar os exemplos oferecem uma série de alvos para JBoss AS, "
+"entre eles:"
 
 #. Tag: para
 #: ri.xml:91
 #, no-c-format
 msgid "<literal>ant restart</literal> - deploy the example in exploded format"
-msgstr "<literal>ant restart</literal> - implanta o exemplo no formato explodido"
+msgstr ""
+"<literal>ant restart</literal> - implanta o exemplo no formato explodido"
 
 #. Tag: para
 #: ri.xml:97
 #, no-c-format
-msgid "<literal>ant explode</literal> - update an exploded example, without restarting the deployment"
-msgstr "<literal>ant explode</literal> - atualiza o exemplo explodido, sem reiniciar "
+msgid ""
+"<literal>ant explode</literal> - update an exploded example, without "
+"restarting the deployment"
+msgstr ""
+"<literal>ant explode</literal> - atualiza o exemplo explodido, sem reiniciar "
 
 #. Tag: para
 #: ri.xml:103
 #, no-c-format
-msgid "<literal>ant deploy</literal> - deploy the example in compressed jar format"
-msgstr "<literal>ant deploy</literal> - implanta o exemplo no formato jar compactado"
+msgid ""
+"<literal>ant deploy</literal> - deploy the example in compressed jar format"
+msgstr ""
+"<literal>ant deploy</literal> - implanta o exemplo no formato jar compactado"
 
 #. Tag: para
 #: ri.xml:108
@@ -213,20 +267,32 @@
 #: ri.xml:133
 #, no-c-format
 msgid "If you use Windows, use the <literal>run.bat</literal>script."
-msgstr "Se você utiliza o Windows, utilize o script <literal>run.bat</literal>."
+msgstr ""
+"Se você utiliza o Windows, utilize o script <literal>run.bat</literal>."
 
 #. Tag: para
-#: ri.xml:138
-#: ri.xml:240
+#: ri.xml:138 ri.xml:240
 #, no-c-format
-msgid "Wait for the application to deploy, and enjoy hours of fun at <ulink url=\"http://localhost:8080/webbeans-numberguess\"></ulink>!"
-msgstr "Aguarde até que a aplicação seja implantada, e desfrute de horas de diversão em <ulink url=\"http://localhost:8080/webbeans-numberguess\"></ulink>!"
+msgid ""
+"Wait for the application to deploy, and enjoy hours of fun at <ulink url="
+"\"http://localhost:8080/webbeans-numberguess\"></ulink>!"
+msgstr ""
+"Aguarde até que a aplicação seja implantada, e desfrute de horas de diversão "
+"em <ulink url=\"http://localhost:8080/webbeans-numberguess\"></ulink>!"
 
 #. Tag: para
 #: ri.xml:143
 #, no-c-format
-msgid "Web Beans includes a second simple example that will translate your text into Latin. The numberguess example is a war example, and uses only simple beans; the translator example is an ear example, and includes enterprise beans, packaged in an EJB module. To try it out:"
-msgstr "Web Beans inclui um segundo exemplo simples que irá traduzir o seu texto para o Latim. O exemplo numberguess é um war e usa apenas beans simples; o exemplo translator é um exemplo ear e inclui benas corporativos, empacotados em um módulo EJB. Para experimentá-lo:"
+msgid ""
+"Web Beans includes a second simple example that will translate your text "
+"into Latin. The numberguess example is a war example, and uses only simple "
+"beans; the translator example is an ear example, and includes enterprise "
+"beans, packaged in an EJB module. To try it out:"
+msgstr ""
+"Web Beans inclui um segundo exemplo simples que irá traduzir o seu texto "
+"para o Latim. O exemplo numberguess é um war e usa apenas beans simples; o "
+"exemplo translator é um exemplo ear e inclui benas corporativos, empacotados "
+"em um módulo EJB. Para experimentá-lo:"
 
 #. Tag: programlisting
 #: ri.xml:150
@@ -241,8 +307,12 @@
 #. Tag: para
 #: ri.xml:152
 #, no-c-format
-msgid "Wait for the application to deploy, and visit <ulink url=\"http://localhost:8080/webbeans-translator\"></ulink>!"
-msgstr "Aguarde até que a aplicação seja implantada, e acesse  <ulink url=\"http://localhost:8080/webbeans-translator\"></ulink>!"
+msgid ""
+"Wait for the application to deploy, and visit <ulink url=\"http://"
+"localhost:8080/webbeans-translator\"></ulink>!"
+msgstr ""
+"Aguarde até que a aplicação seja implantada, e acesse  <ulink url=\"http://"
+"localhost:8080/webbeans-translator\"></ulink>!"
 
 #. Tag: title
 #: ri.xml:160
@@ -253,8 +323,14 @@
 #. Tag: para
 #: ri.xml:162
 #, no-c-format
-msgid "You'll need to download Tomcat 6.0.18 or later from <ulink url=\"http://tomcat.apache.org/download-60.cgi\">tomcat.apache.org</ulink>, and unzip it. For example:"
-msgstr "Depois, faça o download do Tomcat 6.0.18 ou posterior em <ulink url=\"http://tomcat.apache.org/download-60.cgi\">tomcat.apache.org</ulink>, e descompacte-o. Por exemplo"
+msgid ""
+"You'll need to download Tomcat 6.0.18 or later from <ulink url=\"http://"
+"tomcat.apache.org/download-60.cgi\">tomcat.apache.org</ulink>, and unzip it. "
+"For example:"
+msgstr ""
+"Depois, faça o download do Tomcat 6.0.18 ou posterior em <ulink url=\"http://"
+"tomcat.apache.org/download-60.cgi\">tomcat.apache.org</ulink>, e descompacte-"
+"o. Por exemplo"
 
 #. Tag: programlisting
 #: ri.xml:168
@@ -269,8 +345,14 @@
 #. Tag: para
 #: ri.xml:178
 #, no-c-format
-msgid "Next, we need to tell Web Beans where Tomcat is located. Edit <literal>jboss-as/build.properties</literal> and set the <literal>tomcat.home</literal> property. For example:"
-msgstr "Em seguida, temos de dizer aos Web Beans onde o Tomcat está localizado. Editar o <literal>jboss-as/build.properties</literal> e definir a propriedade <literal>tomcat.home</literal>. Por exemplo:"
+msgid ""
+"Next, we need to tell Web Beans where Tomcat is located. Edit <literal>jboss-"
+"as/build.properties</literal> and set the <literal>tomcat.home</literal> "
+"property. For example:"
+msgstr ""
+"Em seguida, temos de dizer aos Web Beans onde o Tomcat está localizado. "
+"Editar o <literal>jboss-as/build.properties</literal> e definir a "
+"propriedade <literal>tomcat.home</literal>. Por exemplo:"
 
 #. Tag: programlisting
 #: ri.xml:184
@@ -281,31 +363,47 @@
 #. Tag: para
 #: ri.xml:187
 #, no-c-format
-msgid "The build scripts for the examples offer a number of targets for Tomcat, these are:"
-msgstr "Os scripts para criar os exemplos oferecem uma série de alvos para Tomcat. São eles:"
+msgid ""
+"The build scripts for the examples offer a number of targets for Tomcat, "
+"these are:"
+msgstr ""
+"Os scripts para criar os exemplos oferecem uma série de alvos para Tomcat. "
+"São eles:"
 
 #. Tag: para
 #: ri.xml:193
 #, no-c-format
-msgid "<literal>ant tomcat.restart</literal> - deploy the example in exploded format"
-msgstr "<literal>ant tomcat.restart</literal> - publica o exemplo no formato explodido"
+msgid ""
+"<literal>ant tomcat.restart</literal> - deploy the example in exploded format"
+msgstr ""
+"<literal>ant tomcat.restart</literal> - publica o exemplo no formato "
+"explodido"
 
 #. Tag: para
 #: ri.xml:199
 #, no-c-format
-msgid "<literal>ant tomcat.explode</literal> - update an exploded example, without restarting the deployment"
-msgstr "<literal>ant tomcat.explode</literal> - atualiza o exemplo explodido, sem reiniciar "
+msgid ""
+"<literal>ant tomcat.explode</literal> - update an exploded example, without "
+"restarting the deployment"
+msgstr ""
+"<literal>ant tomcat.explode</literal> - atualiza o exemplo explodido, sem "
+"reiniciar "
 
 #. Tag: para
 #: ri.xml:205
 #, no-c-format
-msgid "<literal>ant tomcat.deploy</literal> - deploy the example in compressed jar format"
-msgstr "<literal>ant tomcat.deploy</literal> - publica o exemplo no formato jar compactado"
+msgid ""
+"<literal>ant tomcat.deploy</literal> - deploy the example in compressed jar "
+"format"
+msgstr ""
+"<literal>ant tomcat.deploy</literal> - publica o exemplo no formato jar "
+"compactado"
 
 #. Tag: para
 #: ri.xml:210
 #, no-c-format
-msgid "<literal>ant tomcat.undeploy</literal> - remove the example from the server"
+msgid ""
+"<literal>ant tomcat.undeploy</literal> - remove the example from the server"
 msgstr "<literal>ant tomcat.undeploy</literal> - remove o exemplo do servidor"
 
 #. Tag: para
@@ -346,7 +444,8 @@
 #: ri.xml:235
 #, no-c-format
 msgid "If you use Windows, use the <literal>startup.bat</literal>script."
-msgstr "Se você utiliza o Windows, utilize o script <literal>startup.bat</literal>."
+msgstr ""
+"Se você utiliza o Windows, utilize o script <literal>startup.bat</literal>."
 
 #. Tag: title
 #: ri.xml:248
@@ -369,20 +468,40 @@
 #. Tag: para
 #: ri.xml:256
 #, no-c-format
-msgid "In the numberguess application you get given 10 attempts to guess a number between 1 and 100. After each attempt, you will be told whether you are too high, or too low."
-msgstr "Na aplicação numberguess você terá 10 tentativas para adivinhar um número entre 1 e 100. Após cada tentativa, você será informado se você disse muito acima, ou muito abaixo."
+msgid ""
+"In the numberguess application you get given 10 attempts to guess a number "
+"between 1 and 100. After each attempt, you will be told whether you are too "
+"high, or too low."
+msgstr ""
+"Na aplicação numberguess você terá 10 tentativas para adivinhar um número "
+"entre 1 e 100. Após cada tentativa, você será informado se você disse muito "
+"acima, ou muito abaixo."
 
 #. Tag: para
 #: ri.xml:262
 #, no-c-format
-msgid "The numberguess example is comprised of a number of Web Beans, configuration files, and Facelet JSF pages, packaged as a war. Let's start with the configuration files."
-msgstr "O exemplo numberguess é composto de um número de Web Beans, arquivos de configuração e páginas Facelet JSF , empacotados como um war. Vamos começar com os arquivos de configuração."
+msgid ""
+"The numberguess example is comprised of a number of Web Beans, configuration "
+"files, and Facelet JSF pages, packaged as a war. Let's start with the "
+"configuration files."
+msgstr ""
+"O exemplo numberguess é composto de um número de Web Beans, arquivos de "
+"configuração e páginas Facelet JSF , empacotados como um war. Vamos começar "
+"com os arquivos de configuração."
 
 #. Tag: para
 #: ri.xml:268
 #, no-c-format
-msgid "All the configuration files for this example are located in <literal>WEB-INF/</literal>, which is stored in <literal>WebContent</literal> in the source tree. First, we have <literal>faces-config.xml</literal>, in which we tell JSF to use Facelets:"
-msgstr "Todos os arquivos de configuração para este exemplo estão localizados no <literal>WEB-INF/</literal>, que é armazenado no <literal>WebContent</literal> na árvore de fontes. Primeiro, temos  <literal>faces-config.xml</literal>, onde dizemos para o JSF usar o Facelets:"
+msgid ""
+"All the configuration files for this example are located in <literal>WEB-INF/"
+"</literal>, which is stored in <literal>WebContent</literal> in the source "
+"tree. First, we have <literal>faces-config.xml</literal>, in which we tell "
+"JSF to use Facelets:"
+msgstr ""
+"Todos os arquivos de configuração para este exemplo estão localizados no "
+"<literal>WEB-INF/</literal>, que é armazenado no <literal>WebContent</"
+"literal> na árvore de fontes. Primeiro, temos  <literal>faces-config.xml</"
+"literal>, onde dizemos para o JSF usar o Facelets:"
 
 #. Tag: programlisting
 #: ri.xml:276
@@ -392,7 +511,8 @@
 "<faces-config version=\"1.2\"\n"
 "              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/web-facesconfig_1_2.xsd\">\n"
+"              xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://"
+"java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd\">\n"
 "    \n"
 "    <application>\n"
 "        <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>\n"
@@ -404,7 +524,8 @@
 "<faces-config version=\"1.2\"\n"
 "              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/web-facesconfig_1_2.xsd\">\n"
+"              xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://"
+"java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd\">\n"
 "    \n"
 "    <application>\n"
 "        <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>\n"
@@ -415,8 +536,12 @@
 #. Tag: para
 #: ri.xml:278
 #, no-c-format
-msgid "There is an empty <literal>web-beans.xml</literal> file, which marks this application as a Web Beans application."
-msgstr "Existe um arquivo <literal>web-beans.xml</literal> vazio, que assinala essa aplicação como uma aplicação Web Beans."
+msgid ""
+"There is an empty <literal>web-beans.xml</literal> file, which marks this "
+"application as a Web Beans application."
+msgstr ""
+"Existe um arquivo <literal>web-beans.xml</literal> vazio, que assinala essa "
+"aplicação como uma aplicação Web Beans."
 
 #. Tag: para
 #: ri.xml:283
@@ -426,14 +551,19 @@
 
 #. Tag: section
 #: ri.xml:285
-#, 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.suffix\" coords=\"23\"/> <area id=\"session.timeout\" coords=\"28\"/> <area id=\"webbeans.listener\" coords=\"32\"/> </areaspec> <programlisting><![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+"<programlistingco> <areaspec> <area id=\"faces.servlet\" coords=\"12\"/> "
+"<area id=\"faces.servlet.mapping\" coords=\"18\"/> <area id=\"faces.default."
+"suffix\" coords=\"23\"/> <area id=\"session.timeout\" coords=\"28\"/> <area "
+"id=\"webbeans.listener\" coords=\"32\"/> </areaspec> <programlisting><![CDATA"
+"[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
 "\n"
 "<web-app version=\"2.5\"\n"
 "    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/web-app_2_5.xsd\">\n"
+"    xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://java.sun."
+"com/xml/ns/javaee/web-app_2_5.xsd\">\n"
 "   \n"
 "   <display-name>Web Beans Numbergues example</display-name>\n"
 "\n"
@@ -459,7 +589,23 @@
 "      <session-timeout>10</session-timeout>\n"
 "   </session-config>\n"
 "\n"
-"</web-app>]]></programlisting> <calloutlist> <callout arearefs=\"faces.servlet\"> <para> Enable and load the JSF servlet </para> </callout> <callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to <literal>.jsf</literal> pages to be handled by JSF </para> </callout> <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> </calloutlist> </programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use Web Beans 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=\"3!
 0\"/> <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"
+"</web-app>]]></programlisting> <calloutlist> <callout arearefs=\"faces."
+"servlet\"> <para> Enable and load the JSF servlet </para> </callout> "
+"<callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to "
+"<literal>.jsf</literal> pages to be handled by JSF </para> </callout> "
+"<callout arearefs=\"faces.default.suffix\"> <para> Tell JSF that we will be "
+"giving our source files (facelets) an extension of <literal>.xhtml</literal> "
+"</para> </callout> <callout arearefs=\"session.timeout\"> <para> Configure a "
+"session timeout of 10 minutes </para> </callout> </calloutlist> </"
+"programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use "
+"Web Beans 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"
@@ -472,12 +618,15 @@
 "       <h:form id=\"NumberGuessMain\">\n"
 "          <div style=\"color: red\">\n"
 "             <h:messages id=\"messages\" globalOnly=\"false\"/>\n"
-"             <h:outputText id=\"Higher\" value=\"Higher!\" rendered=\"#{game.number gt game.guess and game.guess ne 0}\"/>\n"
-"             <h:outputText id=\"Lower\" value=\"Lower!\" rendered=\"#{game.number lt game.guess and game.guess ne 0}\"/>\n"
+"             <h:outputText id=\"Higher\" value=\"Higher!\" rendered=\"#{game."
+"number gt game.guess and game.guess ne 0}\"/>\n"
+"             <h:outputText id=\"Lower\" value=\"Lower!\" rendered=\"#{game."
+"number lt game.guess and game.guess ne 0}\"/>\n"
 "          </div>\n"
 "   \n"
 "          <div>\n"
-"             I'm thinking of a number between #{game.smallest} and #{game.biggest}.\n"
+"             I'm thinking of a number between #{game.smallest} and #{game."
+"biggest}.\n"
 "             You have #{game.remainingGuesses} guesses.\n"
 "          </div>\n"
 "     \n"
@@ -497,19 +646,41 @@
 "                             disabled=\"#{game.number eq game.guess}\"/>\n"
 "          </div>\n"
 "          <div>\n"
-"            <h:commandButton id=\"RestartButton\" value=\"Reset\" action=\"#{game.reset}\" immediate=\"true\" />\n"
+"            <h:commandButton id=\"RestartButton\" value=\"Reset\" action=\"#"
+"{game.reset}\" immediate=\"true\" />\n"
 "          </div>\n"
 "       </h:form>\n"
 "    </ui:define>\n"
 "  </ui:composition>\n"
-"</html>]]></programlisting> <calloutlist> <callout arearefs=\"template\"> <para> Facelets is a templating language for JSF, here we are wrapping our page in a template which defines the header. </para> </callout> <callout arearefs=\"messages\"> <para> There are a number of messages which can be sent to the user, \"Higher!\", \"Lower!\" and \"Correct!\" </para> </callout> <callout arearefs=\"instructions\"> <para> As the user guesses, the range of numbers they can guess gets smaller - this sentance changes to make sure they know what range to guess in. </para> </callout> <callout arearefs=\"guess\"> <para> This input field is bound to a Web Bean, using the value expression. </para> </callout> <callout arearefs=\"validator\"> <para> A range validator is used to make sure the user doesn't accidentally input a number outside of the range in which they can guess - if the validator wasn't here, the user might use up a guess on an out of range number. </para> </callout> <callout !
 arearefs=\"submit\"> <para> And, of course, there must be a way for the user to send their guess to the server. Here we bind to an action method on the Web Bean. </para> </callout> </calloutlist> </programlistingco>"
+"</html>]]></programlisting> <calloutlist> <callout arearefs=\"template\"> "
+"<para> Facelets is a templating language for JSF, here we are wrapping our "
+"page in a template which defines the header. </para> </callout> <callout "
+"arearefs=\"messages\"> <para> There are a number of messages which can be "
+"sent to the user, \"Higher!\", \"Lower!\" and \"Correct!\" </para> </"
+"callout> <callout arearefs=\"instructions\"> <para> As the user guesses, the "
+"range of numbers they can guess gets smaller - this sentance changes to make "
+"sure they know what range to guess in. </para> </callout> <callout arearefs="
+"\"guess\"> <para> This input field is bound to a Web Bean, using the value "
+"expression. </para> </callout> <callout arearefs=\"validator\"> <para> A "
+"range validator is used to make sure the user doesn't accidentally input a "
+"number outside of the range in which they can guess - if the validator "
+"wasn't here, the user might use up a guess on an out of range number. </"
+"para> </callout> <callout arearefs=\"submit\"> <para> And, of course, there "
+"must be a way for the user to send their guess to the server. Here we bind "
+"to an action method on the Web Bean. </para> </callout> </calloutlist> </"
+"programlistingco>"
 msgstr ""
-"<programlistingco> <areaspec> <area id=\"faces.servlet\" coords=\"12\"/> <area id=\"faces.servlet.mapping\" coords=\"18\"/> <area id=\"faces.default.suffix\" coords=\"23\"/> <area id=\"session.timeout\" coords=\"28\"/> <area id=\"webbeans.listener\" coords=\"32\"/> </areaspec> <programlisting><![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+"<programlistingco> <areaspec> <area id=\"faces.servlet\" coords=\"12\"/> "
+"<area id=\"faces.servlet.mapping\" coords=\"18\"/> <area id=\"faces.default."
+"suffix\" coords=\"23\"/> <area id=\"session.timeout\" coords=\"28\"/> <area "
+"id=\"webbeans.listener\" coords=\"32\"/> </areaspec> <programlisting><![CDATA"
+"[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
 "\n"
 "<web-app version=\"2.5\"\n"
 "    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/web-app_2_5.xsd\">\n"
+"    xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://java.sun."
+"com/xml/ns/javaee/web-app_2_5.xsd\">\n"
 "   \n"
 "   <display-name>Web Beans Numbergues example</display-name>\n"
 "\n"
@@ -535,7 +706,23 @@
 "      <session-timeout>10</session-timeout>\n"
 "   </session-config>\n"
 "\n"
-"</web-app>]]></programlisting> <calloutlist> <callout arearefs=\"faces.servlet\"> <para> Enable and load the JSF servlet </para> </callout> <callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to <literal>.jsf</literal> pages to be handled by JSF </para> </callout> <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> </calloutlist> </programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use Web Beans 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=\"3!
 0\"/> <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"
+"</web-app>]]></programlisting> <calloutlist> <callout arearefs=\"faces."
+"servlet\"> <para> Enable and load the JSF servlet </para> </callout> "
+"<callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to "
+"<literal>.jsf</literal> pages to be handled by JSF </para> </callout> "
+"<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> </calloutlist> </"
+"programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use "
+"Web Beans 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"
@@ -548,12 +735,15 @@
 "       <h:form id=\"NumberGuessMain\">\n"
 "          <div style=\"color: red\">\n"
 "             <h:messages id=\"messages\" globalOnly=\"false\"/>\n"
-"             <h:outputText id=\"Higher\" value=\"Higher!\" rendered=\"#{game.number gt game.guess and game.guess ne 0}\"/>\n"
-"             <h:outputText id=\"Lower\" value=\"Lower!\" rendered=\"#{game.number lt game.guess and game.guess ne 0}\"/>\n"
+"             <h:outputText id=\"Higher\" value=\"Higher!\" rendered=\"#{game."
+"number gt game.guess and game.guess ne 0}\"/>\n"
+"             <h:outputText id=\"Lower\" value=\"Lower!\" rendered=\"#{game."
+"number lt game.guess and game.guess ne 0}\"/>\n"
 "          </div>\n"
 "   \n"
 "          <div>\n"
-"             I'm thinking of a number between #{game.smallest} and #{game.biggest}.\n"
+"             I'm thinking of a number between #{game.smallest} and #{game."
+"biggest}.\n"
 "             You have #{game.remainingGuesses} guesses.\n"
 "          </div>\n"
 "     \n"
@@ -573,18 +763,41 @@
 "                             disabled=\"#{game.number eq game.guess}\"/>\n"
 "          </div>\n"
 "          <div>\n"
-"            <h:commandButton id=\"RestartButton\" value=\"Reset\" action=\"#{game.reset}\" immediate=\"true\" />\n"
+"            <h:commandButton id=\"RestartButton\" value=\"Reset\" action=\"#"
+"{game.reset}\" immediate=\"true\" />\n"
 "          </div>\n"
 "       </h:form>\n"
 "    </ui:define>\n"
 "  </ui:composition>\n"
-"</html>]]></programlisting> <calloutlist> <callout arearefs=\"template\"> <para> Facelets is a templating language for JSF, here we are wrapping our page in a template which defines the header. </para> </callout> <callout arearefs=\"messages\"> <para> There are a number of messages which can be sent to the user, \"Higher!\", \"Lower!\" and \"Correct!\" </para> </callout> <callout arearefs=\"instructions\"> <para> As the user guesses, the range of numbers they can guess gets smaller - this sentance changes to make sure they know what range to guess in. </para> </callout> <callout arearefs=\"guess\"> <para> This input field is bound to a Web Bean, using the value expression. </para> </callout> <callout arearefs=\"validator\"> <para> A range validator is used to make sure the user doesn't accidentally input a number outside of the range in which they can guess - if the validator wasn't here, the user might use up a guess on an out of range number. </para> </callout> <callout !
 arearefs=\"submit\"> <para> And, of course, there must be a way for the user to send their guess to the server. Here we bind to an action method on the Web Bean. </para> </callout> </calloutlist> </programlistingco>"
+"</html>]]></programlisting> <calloutlist> <callout arearefs=\"template\"> "
+"<para> Facelets is a templating language for JSF, here we are wrapping our "
+"page in a template which defines the header. </para> </callout> <callout "
+"arearefs=\"messages\"> <para> There are a number of messages which can be "
+"sent to the user, \"Higher!\", \"Lower!\" and \"Correct!\" </para> </"
+"callout> <callout arearefs=\"instructions\"> <para> As the user guesses, the "
+"range of numbers they can guess gets smaller - this sentance changes to make "
+"sure they know what range to guess in. </para> </callout> <callout arearefs="
+"\"guess\"> <para> This input field is bound to a Web Bean, using the value "
+"expression. </para> </callout> <callout arearefs=\"validator\"> <para> A "
+"range validator is used to make sure the user doesn't accidentally input a "
+"number outside of the range in which they can guess - if the validator "
+"wasn't here, the user might use up a guess on an out of range number. </"
+"para> </callout> <callout arearefs=\"submit\"> <para> And, of course, there "
+"must be a way for the user to send their guess to the server. Here we bind "
+"to an action method on the Web Bean. </para> </callout> </calloutlist> </"
+"programlistingco>"
 
 #. Tag: para
 #: ri.xml:387
 #, no-c-format
-msgid "The example exists of 4 classes, the first two of which are binding types. First, there is the <literal>@Random</literal> binding type, used for injecting a random number:"
-msgstr "No exemplo, existem 4 classes: as duas primeiras são tipos de binding. Primeiro, há o tipo de binding <literal>@Random</literal>, utilizado para a injeção de um número aleatório:"
+msgid ""
+"The example exists of 4 classes, the first two of which are binding types. "
+"First, there is the <literal>@Random</literal> binding type, used for "
+"injecting a random number:"
+msgstr ""
+"No exemplo, existem 4 classes: as duas primeiras são tipos de binding. "
+"Primeiro, há o tipo de binding <literal>@Random</literal>, utilizado para a "
+"injeção de um número aleatório:"
 
 #. Tag: programlisting
 #: ri.xml:393
@@ -605,8 +818,12 @@
 #. Tag: para
 #: ri.xml:395
 #, no-c-format
-msgid "There is also the <literal>@MaxNumber</literal> binding type, used for injecting the maximum number that can be injected:"
-msgstr "Há também o binding type <literal>@MaxNumber</literal>, utilizado para injetar o número máximo que pode ser injetado:"
+msgid ""
+"There is also the <literal>@MaxNumber</literal> binding type, used for "
+"injecting the maximum number that can be injected:"
+msgstr ""
+"Há também o binding type <literal>@MaxNumber</literal>, utilizado para "
+"injetar o número máximo que pode ser injetado:"
 
 #. Tag: programlisting
 #: ri.xml:400
@@ -629,8 +846,14 @@
 #. Tag: para
 #: ri.xml:402
 #, no-c-format
-msgid "The <literal>Generator</literal> class is responsible for creating the random number, via a producer method. It also exposes the maximum possible number via a producer method:"
-msgstr "A classe <literal>Generator</literal> é responsável por criar um número aleatório, através de um método produtor. Ela também expõe o número máximo possível através de um método produtor:"
+msgid ""
+"The <literal>Generator</literal> class is responsible for creating the "
+"random number, via a producer method. It also exposes the maximum possible "
+"number via a producer method:"
+msgstr ""
+"A classe <literal>Generator</literal> é responsável por criar um número "
+"aleatório, através de um método produtor. Ela também expõe o número máximo "
+"possível através de um método produtor:"
 
 #. Tag: programlisting
 #: ri.xml:408
@@ -639,7 +862,8 @@
 "<![CDATA[@ApplicationScoped\n"
 "public class Generator {\n"
 "   \n"
-"   private java.util.Random random = new java.util.Random( System.currentTimeMillis() );\n"
+"   private java.util.Random random = new java.util.Random( System."
+"currentTimeMillis() );\n"
 "   \n"
 "   private int maxNumber = 100;\n"
 "   \n"
@@ -662,7 +886,8 @@
 "<![CDATA[@ApplicationScoped\n"
 "public class Generator {\n"
 "   \n"
-"   private java.util.Random random = new java.util.Random( System.currentTimeMillis() );\n"
+"   private java.util.Random random = new java.util.Random( System."
+"currentTimeMillis() );\n"
 "   \n"
 "   private int maxNumber = 100;\n"
 "   \n"
@@ -685,20 +910,38 @@
 #. Tag: para
 #: ri.xml:410
 #, no-c-format
-msgid "You'll notice that the <literal>Generator</literal> is application scoped; therefore we don't get a different random each time."
-msgstr "Você perceberá que o <literal>Generator</literal> está no escopo de aplicação; portanto, não obtemos um número aleatório diferente a cada vez."
+msgid ""
+"You'll notice that the <literal>Generator</literal> is application scoped; "
+"therefore we don't get a different random each time."
+msgstr ""
+"Você perceberá que o <literal>Generator</literal> está no escopo de "
+"aplicação; portanto, não obtemos um número aleatório diferente a cada vez."
 
 #. Tag: para
 #: ri.xml:415
 #, no-c-format
-msgid "The final Web Bean in the application is the session scoped <literal>Game</literal>."
-msgstr "O Web Bean final da aplicação é o <literal>Game</literal> em escopo de sessão."
+msgid ""
+"The final Web Bean in the application is the session scoped <literal>Game</"
+"literal>."
+msgstr ""
+"O Web Bean final da aplicação é o <literal>Game</literal> em escopo de "
+"sessão."
 
 #. Tag: para
 #: ri.xml:420
 #, no-c-format
-msgid "You'll note that we've used the <literal>@Named</literal> annotation, so that we can use the bean through EL in the JSF page. Finally, we've used constructor injection to initialize the game with a random number. And of course, we need to tell the player when they've won, so we give feedback with a <literal>FacesMessage</literal>."
-msgstr "Você  notará que nós utilizamos a  anotação  <literal>@Named</literal>, para que possamos utilizar o bean através EL na página JSF. Finalmente, utilizamos injeção de construtor para inicializar o jogo com um número aleatório. E, claro, precisamos de dizer ao jogador quando ele venceu. Por isso, informaremos através do <literal>FacesMessage</literal>."
+msgid ""
+"You'll note that we've used the <literal>@Named</literal> annotation, so "
+"that we can use the bean through EL in the JSF page. Finally, we've used "
+"constructor injection to initialize the game with a random number. And of "
+"course, we need to tell the player when they've won, so we give feedback "
+"with a <literal>FacesMessage</literal>."
+msgstr ""
+"Você  notará que nós utilizamos a  anotação  <literal>@Named</literal>, para "
+"que possamos utilizar o bean através EL na página JSF. Finalmente, "
+"utilizamos injeção de construtor para inicializar o jogo com um número "
+"aleatório. E, claro, precisamos de dizer ao jogador quando ele venceu. Por "
+"isso, informaremos através do <literal>FacesMessage</literal>."
 
 #. Tag: programlisting
 #: ri.xml:428
@@ -782,7 +1025,8 @@
 "      }\n"
 "      if (guess == number)\n"
 "      {\n"
-"         FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(\"Correct!\"));\n"
+"         FacesContext.getCurrentInstance().addMessage(null, new FacesMessage"
+"(\"Correct!\"));\n"
 "      }\n"
 "      remainingGuesses--;\n"
 "      return null;\n"
@@ -794,7 +1038,8 @@
 "      this.smallest = 0;\n"
 "      this.guess = 0;\n"
 "      this.remainingGuesses = 10;\n"
-"      this.number = manager.getInstanceByType(Integer.class, new AnnotationLiteral<Random>(){});\n"
+"      this.number = manager.getInstanceByType(Integer.class, new "
+"AnnotationLiteral<Random>(){});\n"
 "   }\n"
 "   \n"
 "}]]>"
@@ -877,7 +1122,8 @@
 "      }\n"
 "      if (guess == number)\n"
 "      {\n"
-"         FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(\"Correct!\"));\n"
+"         FacesContext.getCurrentInstance().addMessage(null, new FacesMessage"
+"(\"Correct!\"));\n"
 "      }\n"
 "      remainingGuesses--;\n"
 "      return null;\n"
@@ -889,7 +1135,8 @@
 "      this.smallest = 0;\n"
 "      this.guess = 0;\n"
 "      this.remainingGuesses = 10;\n"
-"      this.number = manager.getInstanceByType(Integer.class, new AnnotationLiteral<Random>(){});\n"
+"      this.number = manager.getInstanceByType(Integer.class, new "
+"AnnotationLiteral<Random>(){});\n"
 "   }\n"
 "   \n"
 "}]]>"
@@ -903,31 +1150,53 @@
 #. Tag: para
 #: ri.xml:433
 #, no-c-format
-msgid "The numberguess for Tomcat differs in a couple of ways. Firstly, Web Beans should be deployed as a Web Application library in <literal>WEB-INF/lib</literal>. For your convenience we provide a single jar suitable for running Web Beans on Tomcat <literal>webbeans-tomcat.jar</literal>."
-msgstr "O numberguess para Tomcat difere em várias maneiras. Em primeiro lugar, Web Beans devem ser implementados como uma biblioteca de aplicação Web em <literal>WEB-INF/lib</literal>. Para sua comodidade, fornecemos um único jar adequado para executar Web Beans no Tomcat <literal>webbeans-tomcat.jar</literal>."
+msgid ""
+"The numberguess for Tomcat differs in a couple of ways. Firstly, Web Beans "
+"should be deployed as a Web Application library in <literal>WEB-INF/lib</"
+"literal>. For your convenience we provide a single jar suitable for running "
+"Web Beans on Tomcat <literal>webbeans-tomcat.jar</literal>."
+msgstr ""
+"O numberguess para Tomcat difere em várias maneiras. Em primeiro lugar, Web "
+"Beans devem ser implementados como uma biblioteca de aplicação Web em "
+"<literal>WEB-INF/lib</literal>. Para sua comodidade, fornecemos um único jar "
+"adequado para executar Web Beans no Tomcat <literal>webbeans-tomcat.jar</"
+"literal>."
 
 #. Tag: para
 #: ri.xml:442
 #, no-c-format
-msgid "Of course, you must also include JSF and EL, as well common annotations (<literal>jsr250-api.jar</literal>) which a JEE server includes by default."
-msgstr "Claro, você também deve incluir JSF e EL, bem como anotações comuns (common annotations)  (<literal>jsr250-api.jar</literal>), que um servidor JEE inclui por padrão."
+msgid ""
+"Of course, you must also include JSF and EL, as well common annotations "
+"(<literal>jsr250-api.jar</literal>) which a JEE server includes by default."
+msgstr ""
+"Claro, você também deve incluir JSF e EL, bem como anotações comuns (common "
+"annotations)  (<literal>jsr250-api.jar</literal>), que um servidor JEE "
+"inclui por padrão."
 
 #. Tag: para
 #: ri.xml:449
 #, no-c-format
-msgid "Secondly, we need to explicitly specify the Tomcat servlet listener (used to boot Web Beans, and control it's interaction with requests) in <literal>web.xml</literal>:"
-msgstr "Em segundo lugar, precisamos indicar explicitamente o Tomcat servlet listener (utilizado para \"bootar\" a Web Beans, e controlar sua interação com as requisições) no  <literal>web.xml</literal>:"
+msgid ""
+"Secondly, we need to explicitly specify the Tomcat servlet listener (used to "
+"boot Web Beans, and control it's interaction with requests) in <literal>web."
+"xml</literal>:"
+msgstr ""
+"Em segundo lugar, precisamos indicar explicitamente o Tomcat servlet "
+"listener (utilizado para \"bootar\" a Web Beans, e controlar sua interação "
+"com as requisições) no  <literal>web.xml</literal>:"
 
 #. Tag: programlisting
 #: ri.xml:455
 #, no-c-format
 msgid ""
 "<![CDATA[<listener>\n"
-"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-class>\n"
+"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-"
+"class>\n"
 "</listener>]]>"
 msgstr ""
 "<![CDATA[<listener>\n"
-"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-class>\n"
+"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-"
+"class>\n"
 "</listener>]]>"
 
 #. Tag: title
@@ -939,26 +1208,44 @@
 #. Tag: para
 #: ri.xml:463
 #, no-c-format
-msgid "The translator example will take any sentences you enter, and translate them to Latin."
-msgstr "O exemplo translator pegará qualquer frase que você fornecer e a  traduzirá para o Latim."
+msgid ""
+"The translator example will take any sentences you enter, and translate them "
+"to Latin."
+msgstr ""
+"O exemplo translator pegará qualquer frase que você fornecer e a  traduzirá "
+"para o Latim."
 
 #. Tag: para
 #: ri.xml:468
 #, no-c-format
-msgid "The translator example is built as an ear, and contains EJBs. As a result, it's structure is more complex than the numberguess example."
-msgstr "O exemplo translator é construído como um ear e contém EJBs. Como resultado, a sua estrutura é mais complexa do que o exemplo numberguess."
+msgid ""
+"The translator example is built as an ear, and contains EJBs. As a result, "
+"it's structure is more complex than the numberguess example."
+msgstr ""
+"O exemplo translator é construído como um ear e contém EJBs. Como resultado, "
+"a sua estrutura é mais complexa do que o exemplo numberguess."
 
 #. Tag: para
 #: ri.xml:474
 #, no-c-format
-msgid "EJB 3.1 and Jave EE 6 allow you to package EJBs in a war, which will make this structure much simpler!"
-msgstr "EJB 3.1 e Java EE 6 permitem a você empacotar EJBs em um war, o que tornará esta estrutura muito mais simples!"
+msgid ""
+"EJB 3.1 and Jave EE 6 allow you to package EJBs in a war, which will make "
+"this structure much simpler!"
+msgstr ""
+"EJB 3.1 e Java EE 6 permitem a você empacotar EJBs em um war, o que tornará "
+"esta estrutura muito mais simples!"
 
 #. Tag: para
 #: ri.xml:480
 #, 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> for us:"
-msgstr "Primeiro, vamos dar uma olhada no ear aggregator, que está localizado módulo <literal>webbeans-translator-ear</literal>. Maven gera automaticamente o<literal>application.xml</literal> para nós:"
+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> for us:"
+msgstr ""
+"Primeiro, vamos dar uma olhada no ear aggregator, que está localizado módulo "
+"<literal>webbeans-translator-ear</literal>. Maven gera automaticamente "
+"o<literal>application.xml</literal> para nós:"
 
 #. Tag: programlisting
 #: ri.xml:486
@@ -995,14 +1282,24 @@
 #. Tag: para
 #: ri.xml:488
 #, no-c-format
-msgid "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 "Aqui nós definiremos o caminho do contexto, que nos dá uma url amigável (<ulink url=\"http://localhost:8080/webbeans-translator\">http://localhost:8080/webbeans-translator</ulink>). ulink&gt;) ."
+msgid ""
+"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 ""
+"Aqui nós definiremos o caminho do contexto, que nos dá uma url amigável "
+"(<ulink url=\"http://localhost:8080/webbeans-translator\">http://"
+"localhost:8080/webbeans-translator</ulink>). ulink&gt;) ."
 
 #. Tag: para
 #: ri.xml:494
 #, no-c-format
-msgid "If you aren't using Maven to generate these files, you would need <literal>META-INF/application.xml</literal>:"
-msgstr "Se você não está usando o Maven para gerar esses arquivos, você precisaria <literal>META-INF/application.xml</literal>:"
+msgid ""
+"If you aren't using Maven to generate these files, you would need "
+"<literal>META-INF/application.xml</literal>:"
+msgstr ""
+"Se você não está usando o Maven para gerar esses arquivos, você precisaria "
+"<literal>META-INF/application.xml</literal>:"
 
 #. Tag: programlisting
 #: ri.xml:499
@@ -1011,10 +1308,12 @@
 "<![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://java.sun.com/xml/ns/javaee/application_5.xsd\"\n"
+"             xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://"
+"java.sun.com/xml/ns/javaee/application_5.xsd\"\n"
 "             version=\"5\">\n"
 "  <display-name>webbeans-translator-ear</display-name>\n"
-"  <description>Ear Example for the reference implementation of JSR 299: Web Beans</description>\n"
+"  <description>Ear Example for the reference implementation of JSR 299: Web "
+"Beans</description>\n"
 "  \n"
 "  <module>\n"
 "    <web>\n"
@@ -1030,10 +1329,12 @@
 "<![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://java.sun.com/xml/ns/javaee/application_5.xsd\"\n"
+"             xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://"
+"java.sun.com/xml/ns/javaee/application_5.xsd\"\n"
 "             version=\"5\">\n"
 "  <display-name>webbeans-translator-ear</display-name>\n"
-"  <description>Ear Example for the reference implementation of JSR 299: Web Beans</description>\n"
+"  <description>Ear Example for the reference implementation of JSR 299: Web "
+"Beans</description>\n"
 "  \n"
 "  <module>\n"
 "    <web>\n"
@@ -1049,14 +1350,27 @@
 #. Tag: para
 #: ri.xml:502
 #, 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 enable Facelets) and a <literal>web.xml</literal> (to enable JSF) in <literal>WebContent/WEB-INF</literal>."
-msgstr "Em seguida, vamos ver o war. Tal como no exemplo numberguess, temos um <literal>faces-config.xml</literal> (para habilitar o Facelets) e um <literal>web.xml</literal> (para habilitar o JSF) no <literal>WebContent/WEB-INF</literal>."
+msgid ""
+"Next, lets look at the war. Just as in the numberguess example, we have a "
+"<literal>faces-config.xml</literal> (to enable Facelets) and a <literal>web."
+"xml</literal> (to enable JSF) in <literal>WebContent/WEB-INF</literal>."
+msgstr ""
+"Em seguida, vamos ver o war. Tal como no exemplo numberguess, temos um "
+"<literal>faces-config.xml</literal> (para habilitar o Facelets) e um "
+"<literal>web.xml</literal> (para habilitar o JSF) no <literal>WebContent/WEB-"
+"INF</literal>."
 
 #. Tag: para
 #: ri.xml:509
 #, no-c-format
-msgid "More intersting is the facelet used to translate text. Just as in the numberguess example we have a template, which surrounds the form (ommitted here for brevity):"
-msgstr "Mais interessante é o facelet utilizado para traduzir texto. Tal como no exemplo numberguess, temos um template, que envolve o formulário (omitido aqui por brevitude):"
+msgid ""
+"More intersting is the facelet used to translate text. Just as in the "
+"numberguess example we have a template, which surrounds the form (ommitted "
+"here for brevity):"
+msgstr ""
+"Mais interessante é o facelet utilizado para traduzir texto. Tal como no "
+"exemplo numberguess, temos um template, que envolve o formulário (omitido "
+"aqui por brevitude):"
 
 #. Tag: programlisting
 #: ri.xml:515
@@ -1075,7 +1389,8 @@
 "      </tr>\n"
 "      <tr>\n"
 "         <td>\n"
-"            <h:inputTextarea id=\"text\" value=\"#{translator.text}\" required=\"true\" rows=\"5\" cols=\"80\" />\n"
+"            <h:inputTextarea id=\"text\" value=\"#{translator.text}\" "
+"required=\"true\" rows=\"5\" cols=\"80\" />\n"
 "         </td>\n"
 "         <td>\n"
 "            <h:outputText value=\"#{translator.translatedText}\" />\n"
@@ -1083,7 +1398,8 @@
 "      </tr>\n"
 "   </table>\n"
 "   <div>\n"
-"      <h:commandButton id=\"button\" value=\"Translate\" action=\"#{translator.translate}\"/>\n"
+"      <h:commandButton id=\"button\" value=\"Translate\" action=\"#"
+"{translator.translate}\"/>\n"
 "   </div>\n"
 "   \n"
 "</h:form>]]>"
@@ -1101,7 +1417,8 @@
 "      </tr>\n"
 "      <tr>\n"
 "         <td>\n"
-"            <h:inputTextarea id=\"text\" value=\"#{translator.text}\" required=\"true\" rows=\"5\" cols=\"80\" />\n"
+"            <h:inputTextarea id=\"text\" value=\"#{translator.text}\" "
+"required=\"true\" rows=\"5\" cols=\"80\" />\n"
 "         </td>\n"
 "         <td>\n"
 "            <h:outputText value=\"#{translator.translatedText}\" />\n"
@@ -1109,7 +1426,8 @@
 "      </tr>\n"
 "   </table>\n"
 "   <div>\n"
-"      <h:commandButton id=\"button\" value=\"Translate\" action=\"#{translator.translate}\"/>\n"
+"      <h:commandButton id=\"button\" value=\"Translate\" action=\"#"
+"{translator.translate}\"/>\n"
 "   </div>\n"
 "   \n"
 "</h:form>]]>"
@@ -1117,26 +1435,57 @@
 #. Tag: para
 #: ri.xml:517
 #, no-c-format
-msgid "The user can enter some text in the lefthand textarea, and hit the translate button to see the result to the right."
-msgstr "O usuário pode digitar um texto no textarea esquerdo e clicar no botão traduzir para ver o resultado à direita."
+msgid ""
+"The user can enter some text in the lefthand textarea, and hit the translate "
+"button to see the result to the right."
+msgstr ""
+"O usuário pode digitar um texto no textarea esquerdo e clicar no botão "
+"traduzir para ver o resultado à direita."
 
 #. Tag: para
 #: ri.xml:522
 #, no-c-format
-msgid "Finally, let's look at the ejb module, <literal>webbeans-translator-ejb</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 "Por fim, vamos olhar  o módulo EJB <literal>webbeans-translator-ejb</literal>. Em <literal>src/main/resources/META-INF</literal> existe apenas um <literal>web-beans.xml</literal> vazio, utilizado para marcar o arquivo como contendo Web Beans."
+msgid ""
+"Finally, let's look at the ejb module, <literal>webbeans-translator-ejb</"
+"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 ""
+"Por fim, vamos olhar  o módulo EJB <literal>webbeans-translator-ejb</"
+"literal>. Em <literal>src/main/resources/META-INF</literal> existe apenas um "
+"<literal>web-beans.xml</literal> vazio, utilizado para marcar o arquivo como "
+"contendo Web Beans."
 
 #. Tag: para
 #: ri.xml:530
 #, no-c-format
-msgid "We've saved the most interesting bit to last, the code! The project has two simple beans, <literal>SentenceParser</literal> and <literal>TextTranslator</literal> and two enterprise beans, <literal>TranslatorControllerBean</literal> and <literal>SentenceTranslator</literal>. You should be getting quite familiar with what a Web Bean looks like by now, so we'll just highlight the most interesting bits here."
-msgstr "Deixamos o pedaço mais interessante para o final: o código! O projeto tem dois beans simples, <literal>SentenceParser</literal> e <literal>TextTranslator</literal> e dois beans corporativos<literal>TranslatorControllerBean</literal> e <literal>SentenceTranslator</literal>. Você deve estar bastante familiarizado com o que um Web Bean parece até agora. Então, vamos apenas destacar as partes mais interessantes aqui."
+msgid ""
+"We've saved the most interesting bit to last, the code! The project has two "
+"simple beans, <literal>SentenceParser</literal> and <literal>TextTranslator</"
+"literal> and two enterprise beans, <literal>TranslatorControllerBean</"
+"literal> and <literal>SentenceTranslator</literal>. You should be getting "
+"quite familiar with what a Web Bean looks like by now, so we'll just "
+"highlight the most interesting bits here."
+msgstr ""
+"Deixamos o pedaço mais interessante para o final: o código! O projeto tem "
+"dois beans simples, <literal>SentenceParser</literal> e "
+"<literal>TextTranslator</literal> e dois beans "
+"corporativos<literal>TranslatorControllerBean</literal> e "
+"<literal>SentenceTranslator</literal>. Você deve estar bastante "
+"familiarizado com o que um Web Bean parece até agora. Então, vamos apenas "
+"destacar as partes mais interessantes aqui."
 
 #. Tag: para
 #: ri.xml:540
 #, no-c-format
-msgid "Both <literal>SentenceParser</literal> and <literal>TextTranslator</literal> are dependent beans, and <literal>TextTranslator</literal> uses constructor initialization:"
-msgstr "Tanto <literal>SentenceParser</literal> quanto <literal>TextTranslator</literal> são beans dependentes, e <literal>TextTranslator</literal> usa inicialização por construtor :"
+msgid ""
+"Both <literal>SentenceParser</literal> and <literal>TextTranslator</literal> "
+"are dependent beans, and <literal>TextTranslator</literal> uses constructor "
+"initialization:"
+msgstr ""
+"Tanto <literal>SentenceParser</literal> quanto <literal>TextTranslator</"
+"literal> são beans dependentes, e <literal>TextTranslator</literal> usa "
+"inicialização por construtor :"
 
 #. Tag: programlisting
 #: ri.xml:546
@@ -1147,7 +1496,8 @@
 "   private Translator sentenceTranslator; \n"
 "   \n"
 "   @Initializer\n"
-"   TextTranslator(SentenceParser sentenceParser, Translator sentenceTranslator) \n"
+"   TextTranslator(SentenceParser sentenceParser, Translator "
+"sentenceTranslator) \n"
 "   { \n"
 "      this.sentenceParser = sentenceParser; \n"
 "      this.sentenceTranslator = sentenceTranslator;]]>"
@@ -1165,7 +1515,8 @@
 "      </tr>\n"
 "      <tr>\n"
 "         <td>\n"
-"            <h:inputTextarea id=\"text\" value=\"#{translator.text}\" required=\"true\" rows=\"5\" cols=\"80\" />\n"
+"            <h:inputTextarea id=\"text\" value=\"#{translator.text}\" "
+"required=\"true\" rows=\"5\" cols=\"80\" />\n"
 "         </td>\n"
 "         <td>\n"
 "            <h:outputText value=\"#{translator.translatedText}\" />\n"
@@ -1173,7 +1524,8 @@
 "      </tr>\n"
 "   </table>\n"
 "   <div>\n"
-"      <h:commandButton id=\"button\" value=\"Translate\" action=\"#{translator.translate}\"/>\n"
+"      <h:commandButton id=\"button\" value=\"Translate\" action=\"#"
+"{translator.translate}\"/>\n"
 "   </div>\n"
 "   \n"
 "</h:form>]]>"
@@ -1181,14 +1533,26 @@
 #. Tag: para
 #: ri.xml:548
 #, no-c-format
-msgid "<literal>TextTranslator</literal> is a stateless bean (with a local business interface), where the magic happens - of course, we couldn't develop a full translator, but we gave it a good go!"
-msgstr "<literal>TextTranslator</literal> é um bean stateless (com uma interface de negócios local), onde a mágica acontece . Obviamente, não poderíamos desenvolver um tradutor completo, mas lhe demos um bom caminho!"
+msgid ""
+"<literal>TextTranslator</literal> is a stateless bean (with a local business "
+"interface), where the magic happens - of course, we couldn't develop a full "
+"translator, but we gave it a good go!"
+msgstr ""
+"<literal>TextTranslator</literal> é um bean stateless (com uma interface de "
+"negócios local), onde a mágica acontece . Obviamente, não poderíamos "
+"desenvolver um tradutor completo, mas lhe demos um bom caminho!"
 
 #. Tag: para
 #: ri.xml:554
 #, no-c-format
-msgid "Finally, there is UI orientated controller, that collects the text from the user, and dispatches it to the translator. This is a request scoped, named, stateful session bean, which injects the translator."
-msgstr "Finalmente, há um controlador orientado à interface, que recolhe o texto do usuário e despacha para o tradutor. Esse é um escopo de requisição, com o nome, stateful session bean, que injeta o tradutor."
+msgid ""
+"Finally, there is UI orientated controller, that collects the text from the "
+"user, and dispatches it to the translator. This is a request scoped, named, "
+"stateful session bean, which injects the translator."
+msgstr ""
+"Finalmente, há um controlador orientado à interface, que recolhe o texto do "
+"usuário e despacha para o tradutor. Esse é um escopo de requisição, com o "
+"nome, stateful session bean, que injeta o tradutor."
 
 #. Tag: programlisting
 #: ri.xml:560
@@ -1220,7 +1584,8 @@
 #: ri.xml:566
 #, no-c-format
 msgid "As this is a stateful session bean, we have to have a remove method:"
-msgstr "Como esse é um stateful session bean, temos de ter um método de remoção:"
+msgstr ""
+"Como esse é um stateful session bean, temos de ter um método de remoção:"
 
 #. Tag: programlisting
 #: ri.xml:570
@@ -1241,20 +1606,36 @@
 #. Tag: para
 #: ri.xml:572
 #, no-c-format
-msgid "The Web Beans manager will call the remove method for you when the bean is destroyed; in this case at the end of the request."
-msgstr "O gerenciador do Web Beans chamará o método remover para você quando o bean for destruído - neste caso, no final da requisição."
+msgid ""
+"The Web Beans manager will call the remove method for you when the bean is "
+"destroyed; in this case at the end of the request."
+msgstr ""
+"O gerenciador do Web Beans chamará o método remover para você quando o bean "
+"for destruído - neste caso, no final da requisição."
 
 #. Tag: para
 #: ri.xml:578
 #, no-c-format
-msgid "That concludes our short tour of the Web Beans examples. For more on Web Beans , or to help out, please visit <ulink url=\"http://www.seamframework.org/WebBeans/Development\">http://www.seamframework.org/WebBeans/Development</ulink>."
-msgstr "Está encerrado o nosso curto passeio pelos exemplos de Web Beans. Para mais informações sobre a Web Beans, ou para ajudar, por favor visite <ulink url=\"http://www.seamframework.org/WebBeans/Development\">http://www.seamframework.org/WebBeans/Development</ulink>."
+msgid ""
+"That concludes our short tour of the Web Beans examples. For more on Web "
+"Beans , or to help out, please visit <ulink url=\"http://www.seamframework."
+"org/WebBeans/Development\">http://www.seamframework.org/WebBeans/"
+"Development</ulink>."
+msgstr ""
+"Está encerrado o nosso curto passeio pelos exemplos de Web Beans. Para mais "
+"informações sobre a Web Beans, ou para ajudar, por favor visite <ulink url="
+"\"http://www.seamframework.org/WebBeans/Development\">http://www."
+"seamframework.org/WebBeans/Development</ulink>."
 
 #. Tag: para
 #: ri.xml:584
 #, no-c-format
-msgid "We need help in all areas - bug fixing, writing new features, writing examples and translating this reference guide."
-msgstr "Precisamos de ajuda em todas as áreas - correção de bugs, escrita de novas funcionalidades, escrita de exemplos e tradução deste guia de referência."
+msgid ""
+"We need help in all areas - bug fixing, writing new features, writing "
+"examples and translating this reference guide."
+msgstr ""
+"Precisamos de ajuda em todas as áreas - correção de bugs, escrita de novas "
+"funcionalidades, escrita de exemplos e tradução deste guia de referência."
 
 #~ msgid ""
 #~ "As Web Beans is a new piece of software, you need to update JBoss AS to "
@@ -1265,4 +1646,3 @@
 #~ "do JBoss AS para poder executar a implementação de referência de Web "
 #~ "Beans (Web Beans RI). Futuras versões do JBoss AS incluirão essas "
 #~ "atualizações e esse passo será desnecessário."
-

Modified: doc/trunk/reference/zh-CN/environments.po
===================================================================
--- doc/trunk/reference/zh-CN/environments.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/zh-CN/environments.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -3,9 +3,10 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection VERSION\n"
+"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection "
+"VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-03-28 17:09+0000\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -87,7 +88,7 @@
 msgstr ""
 
 #. Tag: para
-#: environments.xml:49 environments.xml:151
+#: environments.xml:49
 #, no-c-format
 msgid "TODO"
 msgstr ""
@@ -95,7 +96,7 @@
 #. Tag: title
 #: environments.xml:53
 #, no-c-format
-msgid "Tomcat"
+msgid "Tomcat (or any plain Servlet container)"
 msgstr ""
 
 #. Tag: para
@@ -109,9 +110,8 @@
 #, no-c-format
 msgid ""
 "Web Beans doesn't support deploying session beans, injection using "
-"<literal>@EJB</literal>, <literal>@Resource</literal>, or "
-"<literal>@PersistenceContext</literal> or using transactional events on "
-"Tomcat."
+"<literal>@EJB</literal>, or <literal>@PersistenceContext</literal> or using "
+"transactional events on Tomcat."
 msgstr ""
 
 #. Tag: para
@@ -121,7 +121,7 @@
 "Web Beans should be used as a web application library in Tomcat. You should "
 "place <literal>webbeans-tomcat.jar</literal> in <literal>WEB-INF/lib</"
 "literal>. <literal>webbeans-tomcat.jar</literal> is an \"uber-jar\" provided "
-"for your convenience. Instead, you could use it's component jars:"
+"for your convenience. Instead, you could use its component jars:"
 msgstr ""
 
 #. Tag: literal
@@ -177,7 +177,7 @@
 #, no-c-format
 msgid ""
 "You also need to explicitly specify the Tomcat servlet listener (used to "
-"boot Web Beans, and control it's interaction with requests) in <literal>web."
+"boot Web Beans, and control its interaction with requests) in <literal>web."
 "xml</literal>:"
 msgstr ""
 
@@ -186,7 +186,7 @@
 #, no-c-format
 msgid ""
 "<![CDATA[<listener>\n"
-"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-"
+"   <listener-class>org.jboss.webbeans.environment.servlet.Listener</listener-"
 "class>\n"
 "</listener>]]>"
 msgstr ""
@@ -237,13 +237,197 @@
 #: environments.xml:140
 #, no-c-format
 msgid ""
-"Tomcat doesn't only allows you to bind entries to <literal>java:comp/env</"
-"literal>, so the Manager will be available at <literal>java:comp/env/app/"
-"Manager</literal>"
+"Tomcat only allows you to bind entries to <literal>java:comp/env</literal>, "
+"so the Manager will be available at <literal>java:comp/env/app/Manager</"
+"literal>"
 msgstr ""
 
+#. Tag: para
+#: environments.xml:146
+#, no-c-format
+msgid ""
+"Web Beans also supports Servlet injection in Tomcat. To enable this, place "
+"the <literal>webbeans-tomcat-support.jar</literal> in <literal>$TOMCAT_HOME/"
+"lib</literal>, and add the following to your <literal>META-INF/context.xml</"
+"literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:153
+#, no-c-format
+msgid ""
+"<![CDATA[<Listener className=\"org.jboss.webbeans.environment.tomcat."
+"WebBeansLifecycleListener\" />]]>"
+msgstr ""
+
 #. Tag: title
-#: environments.xml:149
+#: environments.xml:158
 #, no-c-format
 msgid "Java SE"
 msgstr ""
+
+#. Tag: para
+#: environments.xml:160
+#, no-c-format
+msgid ""
+"Apart from improved integration of the Enterprise Java stack, Web Beans also "
+"provides a state of the art typesafe, stateful dependency injection "
+"framework. This is useful in a wide range of application types, enterprise "
+"or otherwise. To facilitate this, Web Beans provides a simple means for "
+"executing in the Java Standard Edition environment independently of any "
+"Enterprise Edition features."
+msgstr ""
+
+#. Tag: para
+#: environments.xml:168
+#, no-c-format
+msgid ""
+"When executing in the SE environment the following features of Web Beans are "
+"available:"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:174
+#, no-c-format
+msgid "Simple Web Beans (POJOs)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:179
+#, no-c-format
+msgid "Typesafe Dependency Injection"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:184
+#, no-c-format
+msgid "Application and Dependent Contexts"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:189
+#, no-c-format
+msgid "Binding Types"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:194
+#, no-c-format
+msgid "Stereotypes"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:199
+#, no-c-format
+msgid "Decorators"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:204
+#, no-c-format
+msgid "(TODO: Interceptors ?)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:209
+#, no-c-format
+msgid "Typesafe Event Model"
+msgstr ""
+
+#. Tag: title
+#: environments.xml:215
+#, no-c-format
+msgid "Web Beans SE Module"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:217
+#, no-c-format
+msgid ""
+"To make life easy for developers Web Beans provides a special module with a "
+"main method which will boot the Web Beans manager, automatically registering "
+"all simple Web Beans found on the classpath. This eliminates the need for "
+"application developers to write any bootstrapping code. The entry point for "
+"a Web Beans SE applications is a simple Web Bean which observes the standard "
+"<literal>@Deployed Manager</literal> event. The command line paramters can "
+"be injected using either of the following:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:226
+#, no-c-format
+msgid ""
+"<![CDATA[@Parameters List<String> params;\n"
+"@Parameters String[] paramsArray; // useful for compatability with existing "
+"classes]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:227
+#, no-c-format
+msgid "Here's an example of a simple Web Beans SE application:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:231
+#, no-c-format
+msgid ""
+"<![CDATA[@ApplicationScoped\n"
+"public class HelloWorld\n"
+"{\n"
+"    @Parameters List<String> parameters;\n"
+"\n"
+"    public void printHello( @Observes @Deployed Manager manager )\n"
+"    {\n"
+"        System.out.println( \"Hello \" + parameters.get(0) );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:233
+#, no-c-format
+msgid ""
+"Web Beans SE applications are started by running the following main method."
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:235
+#, no-c-format
+msgid "<![CDATA[java org.jboss.webbeans.environments.se.StartMain <args>]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:237
+#, no-c-format
+msgid ""
+"If you need to do any custom initialization of the Web Beans manager, for "
+"example registering custom contexts or initializing resources for your beans "
+"you can do so in response to the <literal>@Initialized Manager</literal> "
+"event. The following example registers a custom context:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:242
+#, no-c-format
+msgid ""
+"<![CDATA[public class PerformSetup\n"
+"{\n"
+"\n"
+"    public void setup( @Observes @Initialized Manager manager )\n"
+"    {\n"
+"        manager.addContext( ThreadContext.INSTANCE );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:246
+#, no-c-format
+msgid ""
+"The command line parameters do not become available for injection until the "
+"<literal>@Deployed Manager</literal> event is fired. If you need access to "
+"the parameters during initialization you can do so via the <literal>public "
+"static String getParameters()</literal> method in <literal>StartMain</"
+"literal>."
+msgstr ""

Modified: doc/trunk/reference/zh-CN/producermethods.po
===================================================================
--- doc/trunk/reference/zh-CN/producermethods.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/zh-CN/producermethods.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -5,7 +5,7 @@
 msgstr ""
 "Project-Id-Version: master.xml\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-03-12 11:20+0800\n"
 "Last-Translator: Sean Wu <alartin at gmail.com>\n"
 "Language-Team: none\n"
@@ -39,83 +39,29 @@
 msgid "According to the spec:"
 msgstr "根据规范:"
 
-#. Tag: para
-#: producermethods.xml:16
+#. Tag: chapter
+#: producermethods.xml:12
 #, no-c-format
 msgid ""
-"A Web Beans producer method acts as a source of objects to be injected, "
-"where:"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:20
-#, no-c-format
-msgid ""
-"the objects to be injected are not required to be instances of Web Beans,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:23
-#, no-c-format
-msgid "the concrete type of the objects to be injected may vary at runtime or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:26
-#, no-c-format
-msgid ""
-"the objects require some custom initialization that is not performed by the "
-"Web Bean constructor"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:33
-#, fuzzy, no-c-format
-msgid "For example, producer methods let us:"
-msgstr "生产者方法的范围"
-
-#. Tag: para
-#: producermethods.xml:37
-#, no-c-format
-msgid "expose a JPA entity as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:40
-#, no-c-format
-msgid "expose any JDK class as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:43
-#, no-c-format
-msgid ""
-"define multiple Web Beans, with different scopes or initialization, for the "
-"same implementation class, or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:47
-#, no-c-format
-msgid "vary the implementation of an API type at runtime."
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:51
-#, no-c-format
-msgid ""
-"In particular, producer methods let us use runtime polymorphism with Web "
-"Beans. As we've seen, deployment types are a powerful solution to the "
-"problem of deployment-time polymorphism. But once the system is deployed, "
-"the Web Bean implementation is fixed. A producer method has no such "
-"limitation:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:56
-#, fuzzy, no-c-format
-msgid ""
-"<![CDATA[@SessionScoped\n"
+"<blockquote> <para>A Web Beans producer method acts as a source of objects "
+"to be injected, where:</para> <itemizedlist> <listitem> <para>the objects to "
+"be injected are not required to be instances of Web Beans,</para> </"
+"listitem> <listitem> <para>the concrete type of the objects to be injected "
+"may vary at runtime or</para> </listitem> <listitem> <para>the objects "
+"require some custom initialization that is not performed by the Web Bean "
+"constructor</para> </listitem> </itemizedlist> </blockquote> <para>For "
+"example, producer methods let us:</para> <itemizedlist> <listitem> "
+"<para>expose a JPA entity as a Web Bean,</para> </listitem> <listitem> "
+"<para>expose any JDK class as a Web Bean,</para> </listitem> <listitem> "
+"<para>define multiple Web Beans, with different scopes or initialization, "
+"for the same implementation class, or</para> </listitem> <listitem> "
+"<para>vary the implementation of an API type at runtime.</para> </listitem> "
+"</itemizedlist> <para>In particular, producer methods let us use runtime "
+"polymorphism with Web Beans. As we've seen, deployment types are a powerful "
+"solution to the problem of deployment-time polymorphism. But once the system "
+"is deployed, the Web Bean implementation is fixed. A producer method has no "
+"such limitation:</para> <programlisting role=\"JAVA\"><![CDATA"
+"[@SessionScoped\n"
 "public class Preferences {\n"
 "    \n"
 "    private PaymentStrategyType paymentStrategy;\n"
@@ -132,52 +78,51 @@
 "        } \n"
 "    }\n"
 "    \n"
-"}]]>"
+"}]]></programlisting> <para>Consider an injection point:</para> "
+"<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
+"paymentStrat;]]></programlisting> <para>This injection point has the same "
+"type and binding annotations as the producer method, so it resolves to the "
+"producer method using the usual Web Beans injection rules. The producer "
+"method will be called by the Web Bean manager to obtain an instance to "
+"service this injection point.</para>."
 msgstr ""
-"<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy(CreditCardPaymentStrategy ccps,\n"
-"                                          ChequePaymentStrategy cps,\n"
-"                                          PayPalPaymentStrategy ppps) {\n"
-"    switch (paymentStrategy) {\n"
-"        case CREDIT_CARD: return ccps;\n"
-"        case CHEQUE: return cps;\n"
-"        case PAYPAL: return ppps;\n"
-"        default: return null;\n"
-"    } \n"
-"}]]>"
-
-#. Tag: para
-#: producermethods.xml:58
-#, no-c-format
-msgid "Consider an injection point:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:60
-#, fuzzy, no-c-format
-msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
-msgstr ""
-"<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy() {\n"
+"<blockquote> <para>一个Web Bean生产者方法在下列情况下作为注入对象的源:</"
+"para> <itemizedlist> <listitem> <para>所要注入的对象并不要求是一个Web Bean的"
+"实例,</para> </listitem> <listitem> <para>所要注入的对象的具体类型有可能在运"
+"行时变化,或者</para> </listitem> <listitem> <para>对象需要一些Web Bean构造器"
+"无法完成的一些自定义的初始化工作</para> </listitem> </itemizedlist> </"
+"blockquote> <para>例如,生产者方法能够让我们:</para> <itemizedlist> "
+"<listitem> <para>将JPA实体作为一个Web Bean暴露出来,</para> </listitem> "
+"<listitem> <para>将任何JDK类作为Web Bean暴露出来,</para> </listitem> "
+"<listitem> <para>为相同的一个实现类定义多个Web Beans,每个都拥有不同的范围或"
+"者初始化,或者</para> </listitem> <listitem> <para>在运行时改变一个接口类型的"
+"具体实现。</para> </listitem> </itemizedlist> <para>特别是生产者方法让我们能"
+"够使用Web Beans实现运行时多态性。就像我们看到的那样,部署类型是解决部署时多态"
+"性的解决方案。不过一旦系统被部署之后,Web Bean的实现也就固定了。一个生产者方"
+"法并没有这样的限制:</para> <programlisting role=\"JAVA\"><![CDATA"
+"[@SessionScoped\n"
+"public class Preferences {\n"
+"    \n"
+"    private PaymentStrategyType paymentStrategy;\n"
+"    \n"
 "    ...\n"
-"}]]>"
+"    \n"
+"    @Produces @Preferred \n"
+"    public PaymentStrategy getPaymentStrategy() {\n"
+"        switch (paymentStrategy) {\n"
+"            case CREDIT_CARD: return new CreditCardPaymentStrategy();\n"
+"            case CHEQUE: return new ChequePaymentStrategy();\n"
+"            case PAYPAL: return new PayPalPaymentStrategy();\n"
+"            default: return null;\n"
+"        } \n"
+"    }\n"
+"    \n"
+"}]]></programlisting> <para>我们看一下注入点:</para> <programlisting role="
+"\"JAVA\"><![CDATA[@Preferred PaymentStrategy paymentStrat;]]></"
+"programlisting> <para>这个注入点和生产者方法拥有相同的类型和绑定注释,所以使"
+"用常见的Web Bean注入规则。生产者方法将被Web Bean管理器调用,从而获得一个实例"
+"来供给这个注入点。</para>."
 
-#. Tag: para
-#: producermethods.xml:62
-#, no-c-format
-msgid ""
-"This injection point has the same type and binding annotations as the "
-"producer method, so it resolves to the producer method using the usual Web "
-"Beans injection rules. The producer method will be called by the Web Bean "
-"manager to obtain an instance to service this injection point."
-msgstr ""
-
-#. Tag: chapter
-#: producermethods.xml:65
-#, no-c-format
-msgid "<chapter>.</chapter>"
-msgstr ""
-
 #. Tag: title
 #: producermethods.xml:68
 #, no-c-format
@@ -393,26 +338,13 @@
 "实例将被绑定到会话上下文。这个依赖对象不会被提前销毁,而是在会话结束时跟随 "
 "<literal>Preferences</literal> 一起被销毁。"
 
+#, fuzzy
+#~ msgid "For example, producer methods let us:"
+#~ msgstr "生产者方法的范围"
+
+#, fuzzy
 #~ msgid ""
-#~ "<blockquote> <para>A Web Beans producer method acts as a source of "
-#~ "objects to be injected, where:</para> <itemizedlist> <listitem> <para>the "
-#~ "objects to be injected are not required to be instances of Web Beans,</"
-#~ "para> </listitem> <listitem> <para>the concrete type of the objects to be "
-#~ "injected may vary at runtime or</para> </listitem> <listitem> <para>the "
-#~ "objects require some custom initialization that is not performed by the "
-#~ "Web Bean constructor</para> </listitem> </itemizedlist> </blockquote> "
-#~ "<para>For example, producer methods let us:</para> <itemizedlist> "
-#~ "<listitem> <para>expose a JPA entity as a Web Bean,</para> </listitem> "
-#~ "<listitem> <para>expose any JDK class as a Web Bean,</para> </listitem> "
-#~ "<listitem> <para>define multiple Web Beans, with different scopes or "
-#~ "initialization, for the same implementation class, or</para> </listitem> "
-#~ "<listitem> <para>vary the implementation of an API type at runtime.</"
-#~ "para> </listitem> </itemizedlist> <para>In particular, producer methods "
-#~ "let us use runtime polymorphism with Web Beans. As we've seen, deployment "
-#~ "types are a powerful solution to the problem of deployment-time "
-#~ "polymorphism. But once the system is deployed, the Web Bean "
-#~ "implementation is fixed. A producer method has no such limitation:</para> "
-#~ "<programlisting role=\"JAVA\"><![CDATA[@SessionScoped\n"
+#~ "<![CDATA[@SessionScoped\n"
 #~ "public class Preferences {\n"
 #~ "    \n"
 #~ "    private PaymentStrategyType paymentStrategy;\n"
@@ -429,47 +361,25 @@
 #~ "        } \n"
 #~ "    }\n"
 #~ "    \n"
-#~ "}]]></programlisting> <para>Consider an injection point:</para> "
-#~ "<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
-#~ "paymentStrat;]]></programlisting> <para>This injection point has the same "
-#~ "type and binding annotations as the producer method, so it resolves to "
-#~ "the producer method using the usual Web Beans injection rules. The "
-#~ "producer method will be called by the Web Bean manager to obtain an "
-#~ "instance to service this injection point.</para>."
+#~ "}]]>"
 #~ msgstr ""
-#~ "<blockquote> <para>一个Web Bean生产者方法在下列情况下作为注入对象的源:</"
-#~ "para> <itemizedlist> <listitem> <para>所要注入的对象并不要求是一个Web Bean"
-#~ "的实例,</para> </listitem> <listitem> <para>所要注入的对象的具体类型有可"
-#~ "能在运行时变化,或者</para> </listitem> <listitem> <para>对象需要一些Web "
-#~ "Bean构造器无法完成的一些自定义的初始化工作</para> </listitem> </"
-#~ "itemizedlist> </blockquote> <para>例如,生产者方法能够让我们:</para> "
-#~ "<itemizedlist> <listitem> <para>将JPA实体作为一个Web Bean暴露出来,</"
-#~ "para> </listitem> <listitem> <para>将任何JDK类作为Web Bean暴露出来,</"
-#~ "para> </listitem> <listitem> <para>为相同的一个实现类定义多个Web Beans,每"
-#~ "个都拥有不同的范围或者初始化,或者</para> </listitem> <listitem> <para>在"
-#~ "运行时改变一个接口类型的具体实现。</para> </listitem> </itemizedlist> "
-#~ "<para>特别是生产者方法让我们能够使用Web Beans实现运行时多态性。就像我们看"
-#~ "到的那样,部署类型是解决部署时多态性的解决方案。不过一旦系统被部署之后,"
-#~ "Web Bean的实现也就固定了。一个生产者方法并没有这样的限制:</para> "
-#~ "<programlisting role=\"JAVA\"><![CDATA[@SessionScoped\n"
-#~ "public class Preferences {\n"
-#~ "    \n"
-#~ "    private PaymentStrategyType paymentStrategy;\n"
-#~ "    \n"
+#~ "<![CDATA[@Produces @Preferred @SessionScoped\n"
+#~ "public PaymentStrategy getPaymentStrategy(CreditCardPaymentStrategy "
+#~ "ccps,\n"
+#~ "                                          ChequePaymentStrategy cps,\n"
+#~ "                                          PayPalPaymentStrategy ppps) {\n"
+#~ "    switch (paymentStrategy) {\n"
+#~ "        case CREDIT_CARD: return ccps;\n"
+#~ "        case CHEQUE: return cps;\n"
+#~ "        case PAYPAL: return ppps;\n"
+#~ "        default: return null;\n"
+#~ "    } \n"
+#~ "}]]>"
+
+#, fuzzy
+#~ msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
+#~ msgstr ""
+#~ "<![CDATA[@Produces @Preferred @SessionScoped\n"
+#~ "public PaymentStrategy getPaymentStrategy() {\n"
 #~ "    ...\n"
-#~ "    \n"
-#~ "    @Produces @Preferred \n"
-#~ "    public PaymentStrategy getPaymentStrategy() {\n"
-#~ "        switch (paymentStrategy) {\n"
-#~ "            case CREDIT_CARD: return new CreditCardPaymentStrategy();\n"
-#~ "            case CHEQUE: return new ChequePaymentStrategy();\n"
-#~ "            case PAYPAL: return new PayPalPaymentStrategy();\n"
-#~ "            default: return null;\n"
-#~ "        } \n"
-#~ "    }\n"
-#~ "    \n"
-#~ "}]]></programlisting> <para>我们看一下注入点:</para> <programlisting "
-#~ "role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy paymentStrat;]]></"
-#~ "programlisting> <para>这个注入点和生产者方法拥有相同的类型和绑定注释,所以"
-#~ "使用常见的Web Bean注入规则。生产者方法将被Web Bean管理器调用,从而获得一个"
-#~ "实例来供给这个注入点。</para>."
+#~ "}]]>"

Modified: doc/trunk/reference/zh-CN/ri-spi.po
===================================================================
--- doc/trunk/reference/zh-CN/ri-spi.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/zh-CN/ri-spi.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -5,7 +5,7 @@
 msgstr ""
 "Project-Id-Version: master.xml\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-03-27 13:50+0800\n"
 "Last-Translator: Sean Wu <alartin at gmail.com>\n"
 "Language-Team: none\n"
@@ -54,11 +54,11 @@
 
 #. Tag: para
 #: ri-spi.xml:26
-#, no-c-format
+#, fuzzy, no-c-format
 msgid ""
-"The Web Beans SPI is located in <literal>webbeans-ri-spi</literal> module, "
-"and packaged as <literal>webbeans-ri-spi.jar</literal>. Some SPIs are "
-"optional, if you need to override the default behavior, others are required."
+"The Web Beans SPI is located in <literal>webbeans-spi</literal> module, and "
+"packaged as <literal>webbeans-spi.jar</literal>. Some SPIs are optional, if "
+"you need to override the default behavior, others are required."
 msgstr ""
 "Web Bean的SPI位于<literal>webbeans-ri-spi</literal>模块中,打包为"
 "<literal>webbeans-ri-spi.jar</literal>。一些SPI是可选的,如果你需要覆盖默认行"

Modified: doc/trunk/reference/zh-TW/environments.po
===================================================================
--- doc/trunk/reference/zh-TW/environments.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/zh-TW/environments.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -3,9 +3,10 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection VERSION\n"
+"Project-Id-Version: Web_Beans:_Java_Contexts_and_Dependency_Injection "
+"VERSION\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-03-28 17:09+0000\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -87,7 +88,7 @@
 msgstr ""
 
 #. Tag: para
-#: environments.xml:49 environments.xml:151
+#: environments.xml:49
 #, no-c-format
 msgid "TODO"
 msgstr ""
@@ -95,7 +96,7 @@
 #. Tag: title
 #: environments.xml:53
 #, no-c-format
-msgid "Tomcat"
+msgid "Tomcat (or any plain Servlet container)"
 msgstr ""
 
 #. Tag: para
@@ -109,9 +110,8 @@
 #, no-c-format
 msgid ""
 "Web Beans doesn't support deploying session beans, injection using "
-"<literal>@EJB</literal>, <literal>@Resource</literal>, or "
-"<literal>@PersistenceContext</literal> or using transactional events on "
-"Tomcat."
+"<literal>@EJB</literal>, or <literal>@PersistenceContext</literal> or using "
+"transactional events on Tomcat."
 msgstr ""
 
 #. Tag: para
@@ -121,7 +121,7 @@
 "Web Beans should be used as a web application library in Tomcat. You should "
 "place <literal>webbeans-tomcat.jar</literal> in <literal>WEB-INF/lib</"
 "literal>. <literal>webbeans-tomcat.jar</literal> is an \"uber-jar\" provided "
-"for your convenience. Instead, you could use it's component jars:"
+"for your convenience. Instead, you could use its component jars:"
 msgstr ""
 
 #. Tag: literal
@@ -177,7 +177,7 @@
 #, no-c-format
 msgid ""
 "You also need to explicitly specify the Tomcat servlet listener (used to "
-"boot Web Beans, and control it's interaction with requests) in <literal>web."
+"boot Web Beans, and control its interaction with requests) in <literal>web."
 "xml</literal>:"
 msgstr ""
 
@@ -186,7 +186,7 @@
 #, no-c-format
 msgid ""
 "<![CDATA[<listener>\n"
-"   <listener-class>org.jboss.webbeans.environment.tomcat.Listener</listener-"
+"   <listener-class>org.jboss.webbeans.environment.servlet.Listener</listener-"
 "class>\n"
 "</listener>]]>"
 msgstr ""
@@ -237,13 +237,197 @@
 #: environments.xml:140
 #, no-c-format
 msgid ""
-"Tomcat doesn't only allows you to bind entries to <literal>java:comp/env</"
-"literal>, so the Manager will be available at <literal>java:comp/env/app/"
-"Manager</literal>"
+"Tomcat only allows you to bind entries to <literal>java:comp/env</literal>, "
+"so the Manager will be available at <literal>java:comp/env/app/Manager</"
+"literal>"
 msgstr ""
 
+#. Tag: para
+#: environments.xml:146
+#, no-c-format
+msgid ""
+"Web Beans also supports Servlet injection in Tomcat. To enable this, place "
+"the <literal>webbeans-tomcat-support.jar</literal> in <literal>$TOMCAT_HOME/"
+"lib</literal>, and add the following to your <literal>META-INF/context.xml</"
+"literal>:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:153
+#, no-c-format
+msgid ""
+"<![CDATA[<Listener className=\"org.jboss.webbeans.environment.tomcat."
+"WebBeansLifecycleListener\" />]]>"
+msgstr ""
+
 #. Tag: title
-#: environments.xml:149
+#: environments.xml:158
 #, no-c-format
 msgid "Java SE"
 msgstr ""
+
+#. Tag: para
+#: environments.xml:160
+#, no-c-format
+msgid ""
+"Apart from improved integration of the Enterprise Java stack, Web Beans also "
+"provides a state of the art typesafe, stateful dependency injection "
+"framework. This is useful in a wide range of application types, enterprise "
+"or otherwise. To facilitate this, Web Beans provides a simple means for "
+"executing in the Java Standard Edition environment independently of any "
+"Enterprise Edition features."
+msgstr ""
+
+#. Tag: para
+#: environments.xml:168
+#, no-c-format
+msgid ""
+"When executing in the SE environment the following features of Web Beans are "
+"available:"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:174
+#, no-c-format
+msgid "Simple Web Beans (POJOs)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:179
+#, no-c-format
+msgid "Typesafe Dependency Injection"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:184
+#, no-c-format
+msgid "Application and Dependent Contexts"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:189
+#, no-c-format
+msgid "Binding Types"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:194
+#, no-c-format
+msgid "Stereotypes"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:199
+#, no-c-format
+msgid "Decorators"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:204
+#, no-c-format
+msgid "(TODO: Interceptors ?)"
+msgstr ""
+
+#. Tag: literal
+#: environments.xml:209
+#, no-c-format
+msgid "Typesafe Event Model"
+msgstr ""
+
+#. Tag: title
+#: environments.xml:215
+#, no-c-format
+msgid "Web Beans SE Module"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:217
+#, no-c-format
+msgid ""
+"To make life easy for developers Web Beans provides a special module with a "
+"main method which will boot the Web Beans manager, automatically registering "
+"all simple Web Beans found on the classpath. This eliminates the need for "
+"application developers to write any bootstrapping code. The entry point for "
+"a Web Beans SE applications is a simple Web Bean which observes the standard "
+"<literal>@Deployed Manager</literal> event. The command line paramters can "
+"be injected using either of the following:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:226
+#, no-c-format
+msgid ""
+"<![CDATA[@Parameters List<String> params;\n"
+"@Parameters String[] paramsArray; // useful for compatability with existing "
+"classes]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:227
+#, no-c-format
+msgid "Here's an example of a simple Web Beans SE application:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:231
+#, no-c-format
+msgid ""
+"<![CDATA[@ApplicationScoped\n"
+"public class HelloWorld\n"
+"{\n"
+"    @Parameters List<String> parameters;\n"
+"\n"
+"    public void printHello( @Observes @Deployed Manager manager )\n"
+"    {\n"
+"        System.out.println( \"Hello \" + parameters.get(0) );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:233
+#, no-c-format
+msgid ""
+"Web Beans SE applications are started by running the following main method."
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:235
+#, no-c-format
+msgid "<![CDATA[java org.jboss.webbeans.environments.se.StartMain <args>]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:237
+#, no-c-format
+msgid ""
+"If you need to do any custom initialization of the Web Beans manager, for "
+"example registering custom contexts or initializing resources for your beans "
+"you can do so in response to the <literal>@Initialized Manager</literal> "
+"event. The following example registers a custom context:"
+msgstr ""
+
+#. Tag: programlisting
+#: environments.xml:242
+#, no-c-format
+msgid ""
+"<![CDATA[public class PerformSetup\n"
+"{\n"
+"\n"
+"    public void setup( @Observes @Initialized Manager manager )\n"
+"    {\n"
+"        manager.addContext( ThreadContext.INSTANCE );\n"
+"    }\n"
+"}]]>"
+msgstr ""
+
+#. Tag: para
+#: environments.xml:246
+#, no-c-format
+msgid ""
+"The command line parameters do not become available for injection until the "
+"<literal>@Deployed Manager</literal> event is fired. If you need access to "
+"the parameters during initialization you can do so via the <literal>public "
+"static String getParameters()</literal> method in <literal>StartMain</"
+"literal>."
+msgstr ""

Modified: doc/trunk/reference/zh-TW/producermethods.po
===================================================================
--- doc/trunk/reference/zh-TW/producermethods.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/zh-TW/producermethods.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: producermethods\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-01-16 12:31+1000\n"
 "Last-Translator: Terry Chuang <tchuang at redhat.com>\n"
 "Language-Team: Traditional Chinese <zh at li.org>\n"
@@ -43,83 +43,29 @@
 msgid "According to the spec:"
 msgstr "根據規格:"
 
-#. Tag: para
-#: producermethods.xml:16
+#. Tag: chapter
+#: producermethods.xml:12
 #, no-c-format
 msgid ""
-"A Web Beans producer method acts as a source of objects to be injected, "
-"where:"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:20
-#, no-c-format
-msgid ""
-"the objects to be injected are not required to be instances of Web Beans,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:23
-#, no-c-format
-msgid "the concrete type of the objects to be injected may vary at runtime or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:26
-#, no-c-format
-msgid ""
-"the objects require some custom initialization that is not performed by the "
-"Web Bean constructor"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:33
-#, fuzzy, no-c-format
-msgid "For example, producer methods let us:"
-msgstr "producer method 的 scope"
-
-#. Tag: para
-#: producermethods.xml:37
-#, no-c-format
-msgid "expose a JPA entity as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:40
-#, no-c-format
-msgid "expose any JDK class as a Web Bean,"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:43
-#, no-c-format
-msgid ""
-"define multiple Web Beans, with different scopes or initialization, for the "
-"same implementation class, or"
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:47
-#, no-c-format
-msgid "vary the implementation of an API type at runtime."
-msgstr ""
-
-#. Tag: para
-#: producermethods.xml:51
-#, no-c-format
-msgid ""
-"In particular, producer methods let us use runtime polymorphism with Web "
-"Beans. As we've seen, deployment types are a powerful solution to the "
-"problem of deployment-time polymorphism. But once the system is deployed, "
-"the Web Bean implementation is fixed. A producer method has no such "
-"limitation:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:56
-#, fuzzy, no-c-format
-msgid ""
-"<![CDATA[@SessionScoped\n"
+"<blockquote> <para>A Web Beans producer method acts as a source of objects "
+"to be injected, where:</para> <itemizedlist> <listitem> <para>the objects to "
+"be injected are not required to be instances of Web Beans,</para> </"
+"listitem> <listitem> <para>the concrete type of the objects to be injected "
+"may vary at runtime or</para> </listitem> <listitem> <para>the objects "
+"require some custom initialization that is not performed by the Web Bean "
+"constructor</para> </listitem> </itemizedlist> </blockquote> <para>For "
+"example, producer methods let us:</para> <itemizedlist> <listitem> "
+"<para>expose a JPA entity as a Web Bean,</para> </listitem> <listitem> "
+"<para>expose any JDK class as a Web Bean,</para> </listitem> <listitem> "
+"<para>define multiple Web Beans, with different scopes or initialization, "
+"for the same implementation class, or</para> </listitem> <listitem> "
+"<para>vary the implementation of an API type at runtime.</para> </listitem> "
+"</itemizedlist> <para>In particular, producer methods let us use runtime "
+"polymorphism with Web Beans. As we've seen, deployment types are a powerful "
+"solution to the problem of deployment-time polymorphism. But once the system "
+"is deployed, the Web Bean implementation is fixed. A producer method has no "
+"such limitation:</para> <programlisting role=\"JAVA\"><![CDATA"
+"[@SessionScoped\n"
 "public class Preferences {\n"
 "    \n"
 "    private PaymentStrategyType paymentStrategy;\n"
@@ -136,52 +82,52 @@
 "        } \n"
 "    }\n"
 "    \n"
-"}]]>"
+"}]]></programlisting> <para>Consider an injection point:</para> "
+"<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
+"paymentStrat;]]></programlisting> <para>This injection point has the same "
+"type and binding annotations as the producer method, so it resolves to the "
+"producer method using the usual Web Beans injection rules. The producer "
+"method will be called by the Web Bean manager to obtain an instance to "
+"service this injection point.</para>."
 msgstr ""
-"<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy(CreditCardPaymentStrategy ccps,\n"
-"                                          ChequePaymentStrategy cps,\n"
-"                                          PayPalPaymentStrategy ppps) {\n"
-"    switch (paymentStrategy) {\n"
-"        case CREDIT_CARD: return ccps;\n"
-"        case CHEQUE: return cps;\n"
-"        case PAYPAL: return ppps;\n"
-"        default: return null;\n"
-"    } \n"
-"}]]>"
-
-#. Tag: para
-#: producermethods.xml:58
-#, no-c-format
-msgid "Consider an injection point:"
-msgstr ""
-
-#. Tag: programlisting
-#: producermethods.xml:60
-#, fuzzy, no-c-format
-msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
-msgstr ""
-"<![CDATA[@Produces @Preferred @SessionScoped\n"
-"public PaymentStrategy getPaymentStrategy() {\n"
+"<blockquote> <para>Web Bean 的 producer method 的作用為要被注入之物件的來源:"
+"</para> <itemizedlist> <listitem> <para>要被注入的物件無須是 Web Bean 的 "
+"instance,</para> </listitem> <listitem> <para>要被注入的物件的具體類型取決"
+"於 runtime,或是</para> </listitem> <listitem> <para>該物件需要進行一些並非"
+"由 Web Bean 建構函式所實施的自訂初始化</para> </listitem> </itemizedlist> </"
+"blockquote> <para>比方說,producer method 能讓我們:</para> <itemizedlist> "
+"<listitem> <para>將 JPA entity 顯示為 Web Bean、</para> </listitem> "
+"<listitem> <para>將任何 JDK class 顯示為 Web Bean、</para> </listitem> "
+"<listitem> <para>為相同的實做 class 定義多重 Web Bean 以及不同的 scope 或初始"
+"化,或是</para> </listitem> <listitem> <para>在 runtime 時改變一個 API 類型的"
+"實做。</para> </listitem> </itemizedlist> <para>特別是,producer method 讓我"
+"們可以同時使用 Web Bean 和執行期多型性(runtime polymorphism)。就如我們所"
+"見,建置類型(deployment type)對於建置期多型性(deployment-time "
+"polymorphism)的問題來說是個強大的解決方法。不過一旦系統被建置後,Web Bean 實"
+"做便會是故定的。Producer method 則沒有這方面的限制:</para> <programlisting "
+"role=\"JAVA\"><![CDATA[@SessionScoped\n"
+"public class Preferences {\n"
+"    \n"
+"    private PaymentStrategyType paymentStrategy;\n"
+"    \n"
 "    ...\n"
-"}]]>"
+"    \n"
+"    @Produces @Preferred \n"
+"    public PaymentStrategy getPaymentStrategy() {\n"
+"        switch (paymentStrategy) {\n"
+"            case CREDIT_CARD: return new CreditCardPaymentStrategy();\n"
+"            case CHEQUE: return new ChequePaymentStrategy();\n"
+"            case PAYPAL: return new PayPalPaymentStrategy();\n"
+"            default: return null;\n"
+"        } \n"
+"    }\n"
+"    \n"
+"}]]></programlisting> <para>考慮這個注入點:</para> <programlisting role="
+"\"JAVA\"><![CDATA[@Preferred PaymentStrategy paymentStrat;]]></"
+"programlisting> <para>這個注入點擁有和 producer method 相同的類型和綁定標記,"
+"因此它會使用一般的 Web Bean 注入規則來解析 producer method。Producer method "
+"會被 Web Bean 管理員調用來取得一個 instance 來服務這個注入點。</para>"
 
-#. Tag: para
-#: producermethods.xml:62
-#, no-c-format
-msgid ""
-"This injection point has the same type and binding annotations as the "
-"producer method, so it resolves to the producer method using the usual Web "
-"Beans injection rules. The producer method will be called by the Web Bean "
-"manager to obtain an instance to service this injection point."
-msgstr ""
-
-#. Tag: chapter
-#: producermethods.xml:65
-#, no-c-format
-msgid "<chapter>.</chapter>"
-msgstr ""
-
 #. Tag: title
 #: producermethods.xml:68
 #, no-c-format
@@ -404,26 +350,13 @@
 "<literal>Preferences</literal> 物件於 session 結束時被毀掉之前,dependent 物"
 "件不會被毀掉。"
 
+#, fuzzy
+#~ msgid "For example, producer methods let us:"
+#~ msgstr "producer method 的 scope"
+
+#, fuzzy
 #~ msgid ""
-#~ "<blockquote> <para>A Web Beans producer method acts as a source of "
-#~ "objects to be injected, where:</para> <itemizedlist> <listitem> <para>the "
-#~ "objects to be injected are not required to be instances of Web Beans,</"
-#~ "para> </listitem> <listitem> <para>the concrete type of the objects to be "
-#~ "injected may vary at runtime or</para> </listitem> <listitem> <para>the "
-#~ "objects require some custom initialization that is not performed by the "
-#~ "Web Bean constructor</para> </listitem> </itemizedlist> </blockquote> "
-#~ "<para>For example, producer methods let us:</para> <itemizedlist> "
-#~ "<listitem> <para>expose a JPA entity as a Web Bean,</para> </listitem> "
-#~ "<listitem> <para>expose any JDK class as a Web Bean,</para> </listitem> "
-#~ "<listitem> <para>define multiple Web Beans, with different scopes or "
-#~ "initialization, for the same implementation class, or</para> </listitem> "
-#~ "<listitem> <para>vary the implementation of an API type at runtime.</"
-#~ "para> </listitem> </itemizedlist> <para>In particular, producer methods "
-#~ "let us use runtime polymorphism with Web Beans. As we've seen, deployment "
-#~ "types are a powerful solution to the problem of deployment-time "
-#~ "polymorphism. But once the system is deployed, the Web Bean "
-#~ "implementation is fixed. A producer method has no such limitation:</para> "
-#~ "<programlisting role=\"JAVA\"><![CDATA[@SessionScoped\n"
+#~ "<![CDATA[@SessionScoped\n"
 #~ "public class Preferences {\n"
 #~ "    \n"
 #~ "    private PaymentStrategyType paymentStrategy;\n"
@@ -440,49 +373,25 @@
 #~ "        } \n"
 #~ "    }\n"
 #~ "    \n"
-#~ "}]]></programlisting> <para>Consider an injection point:</para> "
-#~ "<programlisting role=\"JAVA\"><![CDATA[@Preferred PaymentStrategy "
-#~ "paymentStrat;]]></programlisting> <para>This injection point has the same "
-#~ "type and binding annotations as the producer method, so it resolves to "
-#~ "the producer method using the usual Web Beans injection rules. The "
-#~ "producer method will be called by the Web Bean manager to obtain an "
-#~ "instance to service this injection point.</para>."
+#~ "}]]>"
 #~ msgstr ""
-#~ "<blockquote> <para>Web Bean 的 producer method 的作用為要被注入之物件的來"
-#~ "源:</para> <itemizedlist> <listitem> <para>要被注入的物件無須是 Web Bean "
-#~ "的 instance,</para> </listitem> <listitem> <para>要被注入的物件的具體類型"
-#~ "取決於 runtime,或是</para> </listitem> <listitem> <para>該物件需要進行一"
-#~ "些並非由 Web Bean 建構函式所實施的自訂初始化</para> </listitem> </"
-#~ "itemizedlist> </blockquote> <para>比方說,producer method 能讓我們:</"
-#~ "para> <itemizedlist> <listitem> <para>將 JPA entity 顯示為 Web Bean、</"
-#~ "para> </listitem> <listitem> <para>將任何 JDK class 顯示為 Web Bean、</"
-#~ "para> </listitem> <listitem> <para>為相同的實做 class 定義多重 Web Bean 以"
-#~ "及不同的 scope 或初始化,或是</para> </listitem> <listitem> <para>在 "
-#~ "runtime 時改變一個 API 類型的實做。</para> </listitem> </itemizedlist> "
-#~ "<para>特別是,producer method 讓我們可以同時使用 Web Bean 和執行期多型性"
-#~ "(runtime polymorphism)。就如我們所見,建置類型(deployment type)對於建"
-#~ "置期多型性(deployment-time polymorphism)的問題來說是個強大的解決方法。不"
-#~ "過一旦系統被建置後,Web Bean 實做便會是故定的。Producer method 則沒有這方"
-#~ "面的限制:</para> <programlisting role=\"JAVA\"><![CDATA[@SessionScoped\n"
-#~ "public class Preferences {\n"
-#~ "    \n"
-#~ "    private PaymentStrategyType paymentStrategy;\n"
-#~ "    \n"
+#~ "<![CDATA[@Produces @Preferred @SessionScoped\n"
+#~ "public PaymentStrategy getPaymentStrategy(CreditCardPaymentStrategy "
+#~ "ccps,\n"
+#~ "                                          ChequePaymentStrategy cps,\n"
+#~ "                                          PayPalPaymentStrategy ppps) {\n"
+#~ "    switch (paymentStrategy) {\n"
+#~ "        case CREDIT_CARD: return ccps;\n"
+#~ "        case CHEQUE: return cps;\n"
+#~ "        case PAYPAL: return ppps;\n"
+#~ "        default: return null;\n"
+#~ "    } \n"
+#~ "}]]>"
+
+#, fuzzy
+#~ msgid "<![CDATA[@Preferred PaymentStrategy paymentStrat;]]>"
+#~ msgstr ""
+#~ "<![CDATA[@Produces @Preferred @SessionScoped\n"
+#~ "public PaymentStrategy getPaymentStrategy() {\n"
 #~ "    ...\n"
-#~ "    \n"
-#~ "    @Produces @Preferred \n"
-#~ "    public PaymentStrategy getPaymentStrategy() {\n"
-#~ "        switch (paymentStrategy) {\n"
-#~ "            case CREDIT_CARD: return new CreditCardPaymentStrategy();\n"
-#~ "            case CHEQUE: return new ChequePaymentStrategy();\n"
-#~ "            case PAYPAL: return new PayPalPaymentStrategy();\n"
-#~ "            default: return null;\n"
-#~ "        } \n"
-#~ "    }\n"
-#~ "    \n"
-#~ "}]]></programlisting> <para>考慮這個注入點:</para> <programlisting role="
-#~ "\"JAVA\"><![CDATA[@Preferred PaymentStrategy paymentStrat;]]></"
-#~ "programlisting> <para>這個注入點擁有和 producer method 相同的類型和綁定標"
-#~ "記,因此它會使用一般的 Web Bean 注入規則來解析 producer method。Producer "
-#~ "method 會被 Web Bean 管理員調用來取得一個 instance 來服務這個注入點。</"
-#~ "para>"
+#~ "}]]>"

Modified: doc/trunk/reference/zh-TW/ri-spi.po
===================================================================
--- doc/trunk/reference/zh-TW/ri-spi.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/zh-TW/ri-spi.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: ri-spi\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-01-20 11:43+1000\n"
 "Last-Translator: Terry Chuang <tchuang at redhat.com>\n"
 "Language-Team: Traditional Chinese <zh at li.org>\n"
@@ -58,11 +58,11 @@
 
 #. Tag: para
 #: ri-spi.xml:26
-#, no-c-format
+#, fuzzy, no-c-format
 msgid ""
-"The Web Beans SPI is located in <literal>webbeans-ri-spi</literal> module, "
-"and packaged as <literal>webbeans-ri-spi.jar</literal>. Some SPIs are "
-"optional, if you need to override the default behavior, others are required."
+"The Web Beans SPI is located in <literal>webbeans-spi</literal> module, and "
+"packaged as <literal>webbeans-spi.jar</literal>. Some SPIs are optional, if "
+"you need to override the default behavior, others are required."
 msgstr ""
 "Web Bean SPI 位於 <literal>webbeans-ri-spi</literal> 模組中,並且被封裝為 "
 "<literal>webbeans-ri-spi.jar</literal>。有些 SPI 為可選的,若您需要置換預設的"

Modified: doc/trunk/reference/zh-TW/ri.po
===================================================================
--- doc/trunk/reference/zh-TW/ri.po	2009-04-15 19:06:04 UTC (rev 2422)
+++ doc/trunk/reference/zh-TW/ri.po	2009-04-15 19:06:46 UTC (rev 2423)
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: ri\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
-"POT-Creation-Date: 2009-03-28 17:09+0000\n"
+"POT-Creation-Date: 2009-04-15 18:48+0000\n"
 "PO-Revision-Date: 2009-01-19 18:21+1000\n"
 "Last-Translator: Terry Chuang <tchuang at redhat.com>\n"
 "Language-Team: Traditional Chinese <zh at li.org>\n"
@@ -575,8 +575,8 @@
 "<callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to "
 "<literal>.jsf</literal> pages to be handled by JSF </para> </callout> "
 "<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 "
+"giving our source files (facelets) an extension of <literal>.xhtml</literal> "
+"</para> </callout> <callout arearefs=\"session.timeout\"> <para> Configure a "
 "session timeout of 10 minutes </para> </callout> </calloutlist> </"
 "programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use "
 "Web Beans with any Servlet based web framework. </para> </note> <para> Let's "




More information about the weld-commits mailing list