2 Replies Latest reply on Jun 13, 2007 6:04 PM by Leo Baschy

    injected objects don't get passivated - or do they ?

    Leo Baschy Novice

      Some objects live a long time, e.g. application scoped components, EJBs with timers, and I guess MDBs.

      Now if there is an @In, will that object that's been injected be passivated ever, sometimes, or never?

      As passivation occurs only outside a business method call (right?) there shouldn't be a need for anything to be in that field, it could/should be null.

      But does it get cleared to null? On exit of the business method call? Or can it sometimes not be null? E.g. in case of some specific kind of exception?

      I think it would be desirable for those injected fields not being passivated ever.