Hello All,
Why don't we have unSetSessionContext() in the session bean?
Alok Garg
-
unSetSessionContext() (1 messages)
- Posted by: Alok Garg
- Posted on: November 26 2002 07:32 EST
Threaded Messages (1)
- unSetSessionContext() by Tomas Inger on November 26 2002 09:49 EST
-
unSetSessionContext()[ Go to top ]
- Posted by: Tomas Inger
- Posted on: November 26 2002 09:49 EST
- in response to Alok Garg
Hi!
That is what I call a really good question. However, I want to turn it the other way around: Why is there a unsetEntityContext() method?
This method is called when the instance is moved to the "does no exist" state. And when an instance is in that state, I don't expect it to be called.
I have looked at the state diagrams in sections 7.6 and 10.5 in the EJB 2.0 specification, but I cannot see any clear reason for the difference!?
Maybe someone from Java-soft can answer?
/Tomas