0 Replies Latest reply on Jul 14, 2006 2:00 AM by Peter Kovgan

    SfSB singleton per session

    Peter Kovgan Newbie

      suppose I have several session beans ,
      all these beans should call(have access to) one particular SfSB and perform operations on it.
      They should call the same instance of the SfSB all time during session.
      They can't receive it as parameter.
      They should lookup it or get injected.

      But lookup always bring proxy to new instance.
      How can I get the same instance???
      (Like EJB2 find() but without all ejb2 junk).

      I thought about static singleton, but this guy will work to entire JVM not only serve for session. I need it per session. Is it possible?