it.mokabyte.pattern.ejb.entity
Interface AccountHome


public interface AccountHome

This interface is the home interface for the EJBean AccountBean. A home interface may support one or more create methods, which must correspond to methods named "ejbCreate" in the EJBean.


Method Summary
 Account create(java.lang.String id, java.lang.String name, java.lang.String address, double balance)
           
 Account findByPrimaryKey(AccountPK pk)
           
 

Method Detail

create

public Account create(java.lang.String id,
                      java.lang.String name,
                      java.lang.String address,
                      double balance)
               throws java.rmi.RemoteException,
                      it.mokabyte.pattern.ejb.entity.CreateException

findByPrimaryKey

public Account findByPrimaryKey(AccountPK pk)
                         throws it.mokabyte.pattern.ejb.entity.FinderException,
                                java.rmi.RemoteException