3 Replies Latest reply on Mar 26, 2013 11:13 AM by frolovmx

    local and remote

    mallsub

      Is there anyway client side to figure out the ejb is local or remote?

        • 1. Re: local and remote

          Besides the interface you mean?

          It is transparent to the client.

          Regards,
          Adrian

          • 2. Re: local and remote
            mallsub

            yes

            • 3. Re: local and remote
              frolovmx

              I'm also very intrested in this question.

               

              In my Java EE6 application running on JBoss AS 7.1.x I use an CDI Interceptor which behaviour depends on whether the entry point in the application has been made by client's remote EJB call or not (e.g. by an EJB timer or EJB @Startup Bean).

               

              Is there any (can be JBoss specific) way to distinguish the remote call from local call to any @Remote EJB method in an CDI interceptor?