1 25 package org.objectweb.easybeans.tests.common.ejbs.stateful.containermanaged.ejb2view; 26 27 import java.rmi.RemoteException ; 28 29 import javax.ejb.EJBObject ; 30 31 36 public interface SimpleEjb2 extends EJBObject { 37 38 41 int DEFAULT_CODE_REMOTE = 1; 42 43 46 String DEFAULT_NAME_REMOTE = "test"; 47 48 54 String sayHello(final String message) throws RemoteException ; 55 56 61 int getCode() throws RemoteException ; 62 63 68 void setCode(int intCode) throws RemoteException ; 69 70 75 String getName() throws RemoteException ; 76 77 82 void setName(String strName) throws RemoteException ; 83 } 84 | Popular Tags |