    All Examples  All WebLogic Enterprise Connectivity Examples This Package

# Interface examples.wlec.ejb.simpapp.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.

##

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

##

create

     public abstract Converter create() throws CreateException, 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: RemoteException
    if there is a communications or systems failure
  Throws: CreateException
    if there is a problem creating the bean
  See Also:
    ejbCreate

    All Examples  All WebLogic Enterprise Connectivity Examples This Package