posted 18 years ago
For entity beans, we might not have to create any new data in the database. Calling create() creates a row in the database, along with the ejbObject. How about if we want to update the existing record of John Doe's telephone number? We can call the findByPrimaryKey(primarykey) method defined in your Home interface. You must have findByPrimaryKey method must return the Remote/Local component interface and declare (RemoteException if Remote) and FinderException.