1 Reply Latest reply on Oct 22, 2009 7:39 PM by Riccardo Serafin

    SEAM Access to external EJB3 without lookup.

    Diego Magalhaes Newbie
      Hey guys,

      I have the following setup:
      JBoss 4.2.3
      under that i have:

      -- Project A  (Wich is not SEAM 2.1.2GA based)
             * beanA (JNDI = beanA/remote)
             * beanB (JNDI = beanB/remote)

      -- Project B  (SEAM based)
          EJBs / Components:
             * ComponentX
             * ComponentY
      On component X i have the current piece of code:

      public class ComponentX implements java.io.Serializable {
      beanAInterface beanA;
      public foo(){
          beanA.bar();  // <--------- beanA is null, even with mapped name and etc, only works
                        //            if i direct lookup with Context().lookup("beanA/remote")
      Any ideias on how to solve this?

      Thanks in advance.