posted 19 years ago
no, it's not possible with EJB either.
2 web applications can call the same EJB which (if stateful) may be called in such a way that it uses the same EJB instance with the state left behind by the other web application but they will not share a single HttpSession.
And don't think passing the session from one webapp to another via an EJB will help you, it won't. The data referred to in that session will be useless in the webapp you pass it to and if you try to use its session ID you're in for a load of trouble.