Basic HTML version of Foils prepared July 6 99

Foil 89 Finding Home Implementation

From Object Web Computing Technologies CPS714 Computational Science Information Track -- June 16 99. by H. Timucin Ozdemir


Context initialContext = new InitialContext();
StudentHome stHome = (StudentHome) javax.rmi.PortableRemoteObject.narrow(
initialContext.lookup("myejbs/school/studentHome", StudentHome.class);
public interface StudentHome extends javax.ejb.EJBHome {
Student create(String stName, String stId) throws RemoteException, BadStudentIdException, CreateException;
}
Student astudent = stHome.create("alex","3142");



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Jul 6 1999