Hello,
during my very somewhat painful journey to migrate our app to jboss7 (coming from 5.x) I found another little problem. What i want to achieve is like this:
1. create a normal jndi context (for non-ejb lookups) and an ejb context.
2. do somethings.
3. close the two connections.
4. do all this again and again.
My problem is I dont know how to close the connections. The only way I know, is close the jvm, but this is no solution for the described test case.
Imagine a remote web app that wants to call our app with hundreds or thousands of users (which is 2 connections per user in this test case). If a user signs off, we should be able to close the connection immediately.
With best regards
Michael