0

I tried following example for a stateful session bean http://www.roseindia.net/ejb/example-of-statelfulbean.shtml, but when I use two browsers I only get the same session bean.
I thought there is a session bean for each connection/client. What is wrong?

I use the JBoss 5.0.1 AS for testing and deploying.
Thanks for any advices.

CSchulz
  • 10,882
  • 11
  • 60
  • 114

1 Answers1

0

The problem was that I got the session bean in the servlet once, but I have to get it for each session and store it in the session data.

CSchulz
  • 10,882
  • 11
  • 60
  • 114