4 Replies Latest reply on Mar 13, 2006 1:30 PM by mrhightech

    Problem with jndi lookups for a local bean with interface hi

    mrhightech

      I have the following structure

      @Stateless CustomerDAO extends BaseCustomerDAO implements CustomerDAOLocal
      {}

      public abstract class BaseCustomerDAO implements BaseCustomerDAOLocal
      {}

      @Local interface CustomerDAOLocal extends BaseCustomerDAOLocal
      {}

      @Local interface BaseCustomerDAOLocal
      {}

      Now... the lookup
      I was under the impression

      ctx.lookup("CustomerDAO/local") would bring me back an interface of type CustomerDAOLocal...

      I get null even though the CustomerDAO is in the list of deployed ejbs...

      Am I missing something ?

      Thanks

      Daniel