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.
Joined: Jun 28, 2007
Hi, From what i gather & after a bit of reading is that the home interface would have roughly the same code for all types of beans so this job could be handled by the container.
The remote interface has sort of been substituted by the business interface.
Just give me a few more hints probably i will get a better understanding.