Hi,
Why the SessionBean interface does not have unsetSessionContext() method?
Thanks in advance
B.Ramasubramanian.
-
Reason for SessionBean interface not having unsetSessionContext( (3 messages)
- Posted by: Ramasubramanian Balasubramanian
- Posted on: April 30 2002 01:01 EDT
Threaded Messages (3)
- Reason for SessionBean interface not having unsetSessionContext( by Ken Norcross on May 01 2002 14:55 EDT
- Reason for SessionBean interface not having unsetSessionContext( by Ramasubramanian Balasubramanian on May 06 2002 01:50 EDT
- Reason for SessionBean interface not having unsetSessionContext( by Deepak Rustagi on May 06 2002 08:25 EDT
- Reason for SessionBean interface not having unsetSessionContext( by Ramasubramanian Balasubramanian on May 06 2002 01:50 EDT
-
Reason for SessionBean interface not having unsetSessionContext([ Go to top ]
- Posted by: Ken Norcross
- Posted on: May 01 2002 14:55 EDT
- in response to Ramasubramanian Balasubramanian
Because it is equivalent to setSessionContext(null)?
-
Reason for SessionBean interface not having unsetSessionContext([ Go to top ]
- Posted by: Ramasubramanian Balasubramanian
- Posted on: May 06 2002 01:50 EDT
- in response to Ken Norcross
Hi,
Why then EnityBean interface is having unsetEntityContext()
Bye
Rama. -
Reason for SessionBean interface not having unsetSessionContext([ Go to top ]
- Posted by: Deepak Rustagi
- Posted on: May 06 2002 08:25 EDT
- in response to Ramasubramanian Balasubramanian
In case of Entity beans the remove will delete the row from database.The unsetEntityContext set the Context null and Entity beans can be pooled or in other words how u know that this bean would not be used by client anymore.
In case of stateful session bean it wouldn't be pooled so no need of unsetSessionContext and stateless session bean maintained by the container between method invocations