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.
Hi, I have read a bit about ejb 2.0 and now i reading about ejb 3.0 .. I am very curious as to how the whole concept of home interfaces has been eliminated especially when they seemed to be so crucial in the earlier version !!!
They made the beans after all
So i just wanted to know what new mechanism sun has adopted to avoid them & if it was so obvious (Not explained anywhere as to how they have been eliminated) why where home interfaces there in the first place ???
Is there any book or website that teaches ejb 3.0 atleast the session bean part comparing them with ejb 2.0 the motivations and techniques used to overcome the limitations of ejb 2.0 !!!
First you should understand the perpose of home and object interface in previous versions.Home interface served as a factory for creating references in the EJB object. Similarly the main purpose of the EJB object interface was to provide the client view of an EJB, meaning that the EJB object carried all the business methods that the bean wanted to expose to its local or remote clients. This clue will help you to understand how things have changed now.