3 Replies Latest reply on Nov 4, 2005 9:53 AM by Jacek Olszak

    Problems with multiple interfaces

    Jacek Olszak Newbie

      Hi...

      I've created simple stateless session bean:

      @Stateless
      public class Bank implements BBLocal, BSLocal {
       public void method1().....
       public void method2()......
      }
      


      and 2 interfaces to it:
      @Local
      public interface BBLocal {
       public void method1();
      }
      

      @Local
      public interface BSLocal {
       public void method2();
      }
      


      When I'm trying to lookup into BSLocal I've got : NameNotFoundException . I'm using JBoss EMbeddable. What I'm doing wrong? Does JBoss Emb. support multiple interfaces to one bean?

      Regards
      Jacek