1 Reply Latest reply on Mar 7, 2006 2:21 AM by Martin Heinemann

    @EJB == 'dependency' injection?

    Michael Newcomb Newbie

      @Service("")
      class TestMBean
      {
      @EJB protected SomeSession ss;
      }

      Both this MBean and SomeSession session bean are in the same jar file.

      So, why do I get an exception that it can't find SomeSession? Isn't that the whole point of @EJB?

      Thanks,
      Michael