All Examples All Jolt Examples This Package
Interface examples.jolt.ejb.bankapp.TellerHome
- public interface TellerHome
- extends EJBHome
This interface is the home interface for the TellerBean.java,
which in WebLogic is implemented by the code-generated container
class TellerBeanC. A home interface may support one or more create
methods, which must correspond to methods named "ejbCreate" in the EJBean.
- Author:
- Copyright (c) 1999 by BEA WebXpress, Inc. All Rights Reserved.
-
create(String)
- This method corresponds to the ejbCreate method in the bean
"TellerBean.java".
create
public abstract Teller create(String tellerName) throws CreateException, RemoteException
- This method corresponds to the ejbCreate method in the bean
"TellerBean.java".
The parameter sets of the two methods are identical. When the client calls
TellerHome.create(), the container
allocates an instance of the EJBean and calls ejbCreate().
It sets the name of the Teller and then attempts to get a session
from the Jolt session pool.
- Parameters:
- tellerName - String Teller Name
- Returns:
- Teller
- Throws: RemoteException
- if there is
a communications or systems failure
- Throws: CreateException
- if there is a error creating the bean
- See Also:
- ejbCreate
All Examples All Jolt Examples This Package