| org.objectweb.sampleCluster2.ejb.MyEntityHome
MyEntityHome | public interface MyEntityHome extends javax.ejb.EJBHome(Code) | | Local interface for the entity bean
author: goebelg |
create | MyEntityRemote create(String number) throws javax.ejb.CreateException, java.rmi.RemoteException(Code) | | Creation of the entity bean
Parameters: number - the primary key -> date.getTime() as string of creation the entity bean throws: javax.ejb.CreateException - if creation fails |
findByPrimaryKey | MyEntityRemote findByPrimaryKey(Object primaryKey) throws javax.ejb.FinderException, java.rmi.RemoteException(Code) | | Search for a record with the primary key. Indicate the time of the creation as pk.
Parameters: primaryKey - the primary key to look for the entity bean throws: javax.ejb.FinderException - if not existing |
|
|