Do Home interfaces necessarily declare at least one create() method for entity beans? What if I don't want to permit creation of new entities?
The same goes for remove().
posted 10 years ago
The create() method in the entity bean home interface is optional. Making this method optional gives us the option of preventing the client from inserting data into the database. The only one method, findByPrimaryKey(), that is required to put into the entity bean home interface.
The following two methods defined in the javax.ejb.EJBHome interface used by entity beans to delete/remove an actual entity in the database.