[jboss-user] [EJB 3.0] - Re: Problems deploying a service under JBoss

ppoley do-not-reply at jboss.com
Thu Nov 9 12:14:23 EST 2006


How's this work?
@Local
  | public interface ServiceI {
  | 
  | }
  | 
  | @Remote
  | public interface ServiceManagementI {
  | 
  |   public void start();
  | 
  |   public void stop() throws Exception;
  | 
  | }
  | 
  | @Stateless
  | public class Service implements ServiceManagementI, ServiceI {
  | 
  |   public void start() {
  |     System.out.println("I am here!");
  |   }
  | 
  |   public void stop() throws Exception {
  |     System.out.println("Something...");
  |   }
  | 
  | }

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984599#3984599

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984599



More information about the jboss-user mailing list