About this trail:
1
2
3
4
5
6
7
- with stateful session beans, a session is created when you call the create method on the bean's home. The difference with stateless session beans is that it is guaranteed that calls made to remote interface methods using the same handle will go to exactly the same instance of the implementation class. If you loose your handle, you loose your session. There is no way to look-up a previous session from the jndi. if you get a new handle and you call a remote method on it, it'll start a new session.




