All Examples  All WebLogic Enterprise Connectivity Examples  EJB Simpapp Example

examples.wlec.ejb.simpapp
Interface ConverterHome


public interface ConverterHome

This interface is the home interface for the ConverterBean.java, which in WebLogic is implemented by the code-generated container class ConverterBeanC. A home interface may support one or more create methods, which must correspond to methods named "ejbCreate" in the EJBean.


Method Summary
 Converter create()
          This method corresponds to the ejbCreate method in the bean ConverterBean.java.
 

Method Detail

create

public Converter create()
                 throws examples.wlec.ejb.simpapp.CreateException,
                        java.rmi.RemoteException
This method corresponds to the ejbCreate method in the bean ConverterBean.java. The parameter sets of the two methods are identical. When the client calls the ConverterHome.create method, the container allocates an instance of the EJBean and calls the ejbCreate method.
Returns:
Converter
Throws:
java.rmi.RemoteException - if there is a communications or systems failure
examples.wlec.ejb.simpapp.CreateException - if there is a problem creating the bean
See Also:
ConverterBean.ejbCreate()