2 Replies Latest reply on Nov 11, 2005 12:42 PM by kknull

    dependency injection & client inactivity timeout

    kknull

      Hi everybody,

      I need your help. I've got a question:

      Stateful bean BeanA gets a reference to stateful bean BeanB with the use of dependency injection. BeanA is frequently used by client, while BeanB is rarely used by BeanA.
      What happens when BeanB has client inactivity timeout? Is reference to BeanB going to become invalid and NoSuchEJBException will be thrown? Or probably container will not destroy BeanB while BeanA is alive?