[seam-commits] Seam SVN: r14790 - branches/enterprise/WFK-2_0/seam-reference-guide/src/docbook/en-US.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon May 28 09:08:38 EDT 2012


Author: manaRH
Date: 2012-05-28 09:08:38 -0400 (Mon, 28 May 2012)
New Revision: 14790

Modified:
   branches/enterprise/WFK-2_0/seam-reference-guide/src/docbook/en-US/Remoting.xml
Log:
JBSEAM-4954


Signed-off-by: Marek Novotn?\195?\189 <hotmana76 at gmail.com>

Modified: branches/enterprise/WFK-2_0/seam-reference-guide/src/docbook/en-US/Remoting.xml
===================================================================
--- branches/enterprise/WFK-2_0/seam-reference-guide/src/docbook/en-US/Remoting.xml	2012-05-28 13:08:29 UTC (rev 14789)
+++ branches/enterprise/WFK-2_0/seam-reference-guide/src/docbook/en-US/Remoting.xml	2012-05-28 13:08:38 UTC (rev 14790)
@@ -73,21 +73,16 @@
 
       <programlisting role="JAVA"><![CDATA[@Stateless
 @Name("helloAction")
-public class HelloAction implements HelloLocal {
+public class HelloAction {
+    @WebRemote
     public String sayHello(String name) {
         return "Hello, " + name;
     }
 }]]></programlisting>
 
-      <para>You also need to create a local interface for our new component - take special note of the
+      <para>Take special note of the
           <literal>@WebRemote</literal> annotation, as it's required to make our method accessible via remoting:</para>
 
-      <programlisting role="JAVA"><![CDATA[@Local
-public interface HelloLocal {
-  @WebRemote
-  public String sayHello(String name);
-}]]></programlisting>
-
       <para> That's all the server-side code we need to write.</para>
 
       <note>



More information about the seam-commits mailing list