4 Replies Latest reply on Feb 13, 2003 1:01 PM by Pedro Pessoa

    OperationNotSupported for getEJBLocalObject

    Georg Schmid Newbie

      Hi,

      (JB-3.0.1RC1, Solaris, JDK 1.4.0)

      I try to call getEJBLocalObject().getEJBLocalHome()
      in an entity beans home method. It gives me an
      OperationNotSupported exception.

      The EB has both local and remove interfaces implemented
      and works well otherwise.

      I guess it should be possible to get at the local interface in the bean implementation without looking it
      up through JNDI.

      Am I doing something wrong here?

      Cheers,
      Georg