This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
An enterprise Bean's home interface defines the methods that allow a client to create, find, and remove EJB objects. All bean classes must implement javax.ejb.EnterpriseBean so it is necessary to implement all the method of interface.
Joined: Mar 06, 2006
Hi Thanks for the anwser. why there is need to define the home method in the home interface as the home methods are more specific to the entire bean not to any specific instance of the entity bean
As per me , we have the option of the remote interface so we can define these methods in this . Why EJB 2.0 define the home method in the home interface , as the home interface also performing the business logic on the behalf of entity bean
This type of business logic can be defined in the remote inteface