4 Replies Latest reply on Oct 3, 2014 11:48 AM by Wolf-Dieter Fink

    How to close ejb remote session? (EJB Client API)

    Maurizio Müller Newbie

      Hi,

       

      I have a problem with EJB remote invocation (stateless), after the invocation the session isn’t closed.

      I use Wildfly 8.1 and I use the method EJB Client API.

       

      I think the EJBClientContext maintain the session active.

       

      I tried to close the connection as described in this page https://docs.jboss.org/author/display/WFLY8/Scoped+EJB+client+contexts but doesn't works. I think this solution is only for JNDI method.

       

      Thanks for any help.

       

      Best regards

      Maurizio