0 Replies Latest reply on Feb 11, 2006 8:36 AM by Mohan Seenippandian

    Can a Stateless Session Bean look up the same instance ?

    Mohan Seenippandian Newbie

      Hello All,
      I have a Stateless Session Bean A, which has two methods, method1() and method2().
      The method1() is with "NotSupported" and method2() is with "Required" transaction attributes.
      I have a requirement to call these methods sequentially.
      My doubt is, can i write a look up to the same bean instance (A) in method1()( which is having "NotSupported" attribute) to call method2() with Required Attribute.
      Note: I should not make use of "RequiresNew" attribute

      Kindly suggest.