2 Replies Latest reply on Sep 20, 2001 5:29 AM by Lukasz Kowalczyk

    For how long can EJBObject or EJBHome be held?

    Lukasz Kowalczyk Newbie

      I was wondering for how long time can my program hold references to EJBObject or EJBHome objects. Since I found that looking up the object (from Handle too) is the most time consuming operation I'd rather prefer to hold the entity bean's remote interface itself. Also, in my session beans I hold references to my entity beans' home interfaces as instance fields. I'm talking about holding those variables for hours or even days. Is this reasonable?