[jboss-cvs] jboss-seam/examples/jee5/remoting/src/org/jboss/seam/example/remoting ...
Michael Yuan
michael.yuan at jboss.com
Mon Aug 6 23:21:13 EDT 2007
User: myuan
Date: 07/08/06 23:21:13
Added: examples/jee5/remoting/src/org/jboss/seam/example/remoting
HelloAction.java HelloLocal.java
Log:
re-structure the jee5 directory
Revision Changes Path
1.1 date: 2007/08/07 03:21:13; author: myuan; state: Exp;jboss-seam/examples/jee5/remoting/src/org/jboss/seam/example/remoting/HelloAction.java
Index: HelloAction.java
===================================================================
package org.jboss.seam.example.remoting;
import javax.ejb.Stateless;
import org.jboss.seam.annotations.Name;
@Stateless
@Name("helloAction")
public class HelloAction implements HelloLocal {
public String sayHello(String name) {
return "Hello, " + name;
}
}
1.1 date: 2007/08/07 03:21:13; author: myuan; state: Exp;jboss-seam/examples/jee5/remoting/src/org/jboss/seam/example/remoting/HelloLocal.java
Index: HelloLocal.java
===================================================================
package org.jboss.seam.example.remoting;
import javax.ejb.Local;
import org.jboss.seam.annotations.remoting.WebRemote;
@Local
public interface HelloLocal {
@WebRemote
public String sayHello(String name);
}
More information about the jboss-cvs-commits
mailing list