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

    Problems with multiple interfaces

    Jacek Olszak Newbie


      I've created simple stateless session bean:

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

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

      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?