Basic HTML version of Foils prepared May 19 99

Foil 19 Home Interface

From Enterprise Javabeans Basic Information Track Computational Science Course CPS616 -- Spring Semester 1999. by Nancy McCracken


public interface CartHome extends
javax.ejb.EJBHome
{
  • Cart create(String customerName,
  • String account)
    • throws RemoteException,
    • BadAccountException;
}
Note that on previous slide, server bean did not implement the Remote interface. The server creates this EJBObject and also the EJBHome, corresponding to the following interface. Note that this create will call the EJBcreate method of the bean.



© 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 Mon Jul 5 1999