[jboss-cvs] jboss-seam/examples/remoting/helloworld/src/org/jboss/seam/example/remoting ...
Norman Richards
norman.richards at jboss.com
Tue Jul 10 01:19:30 EDT 2007
User: nrichards
Date: 07/07/10 01:19:30
Modified: examples/remoting/helloworld/src/org/jboss/seam/example/remoting
HelloAction.java
Log:
barcode labels, add codetype
Revision Changes Path
1.6 +11 -5 jboss-seam/examples/remoting/helloworld/src/org/jboss/seam/example/remoting/HelloAction.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: HelloAction.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/remoting/helloworld/src/org/jboss/seam/example/remoting/HelloAction.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- HelloAction.java 6 Aug 2006 13:59:20 -0000 1.5
+++ HelloAction.java 10 Jul 2007 05:19:30 -0000 1.6
@@ -3,11 +3,17 @@
import javax.ejb.Stateless;
import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.web.*;
+import org.jboss.seam.annotations.remoting.WebRemote;
- at Stateless
+//@Stateless
@Name("helloAction")
public class HelloAction implements HelloLocal {
+ @RequestParameter String foo;
+
+ @WebRemote
public String sayHello(String name) {
+ System.out.println("Foo=" + foo);
return "Hello, " + name;
}
}
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list