OpMath

com.opmath.test.j2ee.book
Interface ContactBookHome

All Superinterfaces:
EJBHome, Remote

public interface ContactBookHome
extends EJBHome

The (remote) Home interface of the ContactBook session EJB. Specifies the functionality as avaliable to remote clients (and provided by the EJB container) with respect to creating ContactBook EJBs.

Copyright: (c) 2002 The Open Math Company Limited

The Terms of Distribution of this software are stipulated in the javadoc Overview for this project.

Since:
J2SDK 1.3.1, J2SDKEE 1.3.1, EJB 2.0
Version:
OpMath J2EE Example v1.0
Author:
Bruno Beloff bruno.beloff@opmath.com
See Also:
ContactBean

Method Summary
 ContactBook create()
          Requests that a new ContactBook EJB is created.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public ContactBook create()
                   throws RemoteException,
                          CreateException

Requests that a new ContactBook EJB is created. The method returns the (remote interface of) the new EJB.

Returns:
a ContactBook remote interface to the new EJB.
Throws:
RemoteException - if problems were encountered in communicating with the application server.
CreateException - if the request not be completed, for whatever reason (for example, because a Contact with the same key already exists).
See Also:
ContactBookBean.ejbCreate()

OpMath

Submit a bug or feature to Open Math
Copyright © 2002 Open Math Company Limited, Brighton, UK