What problem are you trying to solve? There is no need to do any of this just to manage
the ejb resources themselves. That is all handled by the ejb container.In the case of
stateful session beans, you can control their lifetime by either calling their remove method
or setting vendor-specific parameters to control their timeout.
--ken
I want my client to connect to the server as long as the client is connected. no timeout!( for this one i can set lengthy period of time ) But when the client machine shuts down or disconnected by network cable problems. At the time, I want to get rid of this session. Since I can't depend on the timeout, how can I remove this user from the session?