2 Replies Latest reply: Nov 13, 2011 4:50 AM by 890123 RSS

    How to call Local Home EJB3.0 from EJB2.0 [Weblogic 10.3.5.0]

    885313
      hi every one,

      Currently i have two module in EAR i.e. EJB20 and EJB30[Annotation Base].

      How can I make a local call to invoke EJB30 bean method in EJB20 bean ?

      ----------------EJB30--------------------------
      @Stateless(mappedName = "Message")
      public class Message implements MessageRemote, MessageLocal {
      ...     
      public void print(String message) {
      System.out.println(message);
      }
      }


      @Local
      public interface MessageLocal {
           public void print(String message);
      }

      @Remote
      public interface MessageRemote {
           public void print(String message);
      }

      Edited by: user9081831 on 29-Aug-2011 22:55