开发者

Why is there only one stateful session bean?

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.开发者_Python百科


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜