All Examples All EJB Examples This Package
Interface examples.ejb.basic.statefulSession.TraderHome
- public interface TraderHome
This interface is the home interface for the TraderBean.java,
which in WebLogic is implemented by the code-generated container
class TraderBeanC. A home interface may support one or more create
methods, which must correspond to methods named "ejbCreate" in the EJBean.
-
create()
- This method corresponds to the ejbCreate method in the bean
"TraderBean.java".
create
public Trader create() throws javax.ejb.CreateException, java.rmi.RemoteException
This method corresponds to the ejbCreate method in the bean
"TraderBean.java".
The parameter sets of the two methods are identical. When the client calls
TraderHome.create()
, the container
allocates an instance of the EJBean and calls ejbCreate()
.
- Returns:
- Trader
- Throws:
- java.rmi.RemoteException - if there is
a communications or systems failure
- CreateException - if there is a error creating the bean
- See Also:
- TraderBean
All Examples All EJB Examples This Package