1 Reply Latest reply on Aug 2, 2007 10:27 AM by buggs bunny

    sessionContext and getInvokedBusinessInterface

    buggs bunny Newbie

      Hi all,

      What a surprise! I try to call sessionCOntext.getInvokedBusinessInterface() without succes. This call throw

      java.lang.RuntimeException: NOT IMPLEMENTED


      Is that the normal behaviour? I'm surprise since this is a STANDARD method.

      In fact my problem is simple: I try to know if the caller is a remote or a local caller. I have simply suppose that
      protected boolean isLocalCall() {
       return getSessionContext().getEJBLocalHome().equals(
       getSessionContext().getInvokedBusinessInterface()
       );
      }
      will solve my problem...

      Is there another way to know who call the method?