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.
The spec states the EJBObject as Remote interface here.
Bala<br />SCJP 1.4 98%<br />SCBCD 1.3 -- 88%
Joined: Dec 04, 2002
True, it refers to the EJBObject here ... but, the actual EJBObject resides on the server side and the client only gets reference to the EJBObject, so how does the EJBObject survive the container crash??
Joined: Mar 22, 2006
As you know, lot of things mentioned in SPECS should n't be interpreted as their true meaning :-) The container says, if I experience a crash, my entities are safe in persistent store. So, the client, when it refers to the entity again, I will wrap it in a bean instance (which is obviously picked up from pool), then assign an EJBObject to it and return it back!