Implementacja EJB helloServer/HelloBean.java
public class HelloBean implements SessionBean
// Methods of the Hello interface
public String helloWorld () throws RemoteException {
String v = System.getProperty("oracle.server.version");
return "Hello client, your javavm version is " + v + ".";
// Methods of the SessionBean
public void ejbCreate () throws RemoteException, CreateException {}
public void ejbRemove() {}
public void setSessionContext (SessionContext ctx) {}
public void ejbActivate () {}
public void ejbPassivate () {}