Originally posted by Steve Agarwal:
thanks Gustavo Torreti
I would add the talk by looking at the need of EJB.
EJB are more for solving the problem of STUBS and SKELETON architecture of distributed computing. EJB is framed to make things simpler ( though at present they are killing the performance ).
I was going through EJB2.0 specifications.In Chapter 6
Part6.4 it is written
"The local home interface allows a local client to do the following:
� Create a new session object.
� Remove a session object."
and in 6.4.2 is as follows
Because session objects do not have primary keys that are accessible to clients, invoking the
javax.ejb.EJBLocalHome.remove(Object primaryKey) method on a session results in
As per the above mentioned lines we should never call remove on home interface.Aren't above two statements contradicting or am i interpreting wrongly???
removing a session from the refrence by calling on the home is allowed.
But there is a method with remove (pk) which if called throws error.
if you look at the beans development in EJB, most of them have similar architecture and concepts. So the functions though available but doesnt make sense with some beans. And thus they wanted to make it as a Note.
Can we point the reference to Null, thereby making the object eligible for garbage collection ?
hi I just want to comfirm that BMP is not in the exam
is that right?