Hello,
I am currently developping an application whose design is as follows:
for each web session is associated a stateful session bean.
With this implementation, the foolowing problem occurs very often:
when clicking twice on the web interface, an error is popped up saying:
"tried to enter Stateful bean with different tx context"
According to what I read, this is the expected behaviour, and it is mentionned in the EJB spec.
I would still like to solve this issue, and I am wondering whether my design is wrong or if, ideally, it would be possible to drop the action from the previous click when a new click comes in.
Thanks for your help,
Nicolas.