Richard Opalka [
https://community.jboss.org/people/ropalka] created the discussion
"Re: How to close remote ejb/jndi connections"
To view the discussion, visit:
https://community.jboss.org/message/724595#724595
--------------------------------------------------------------
Hello, the following solution works for us:
InitialContext ctx = new InitialContext(remoteEjbProperties);
try {
...
// do something with ctx, e.g. lookup & use EJBs via ejb: remote protocol
...
} finally {
ctx.close();
}
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/724595#724595]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]