What's the EJBObject Lifecycle? Is an EJBObject up to the client holding the reference of the component interface which implemented by the EJBOject? If the client release the component interface reference (set the reference variable to null), that will be end of the EJBObject since it doesn't associate with any client. I often mix up and confuse the EJBObject with bean instance.
The life of EJBObject is independent of the client nulling the reference coz then handles wud not make sense. The main purpose of handle is to connect back to the same EJBObject. The example in HFE on 138 says one can pass a handle thru say an email and continue shopping from there. Isn't that cool. Offcourse it depends on the session timeout. [ March 02, 2004: Message edited by: Sudhir Vallam ]
Sudhir V<br />(SCJP 1.2, SCWCD, OCA, SCBCD)
posted 16 years ago
So the lifetime of an EJBObject is up to the timeout, and the remove method call on client view interface will also destroy the EJBObject, right?
"How many licks ..." - I think all of this dog's research starts with these words. Tasty tiny ad: