I have 2 session beans sb1 & sb2. In session bean 2 there is a bussiness exception occurs. If I don't want to rollback the transaction in sb1 which declartive transaction attribute I have to use in both beans?

Showing Answers 1 - 2 of 2 Answers

kishor

  • May 31st, 2006
 

sb2 should run with transaction attribute "Not Supported", and sb1 with "Supports"

  Was this answer useful?  Yes

Anil Patel

  • Jul 6th, 2006
 

SB2's transaction attribute should be either "Requires New" or "Not Supported". SB1 can be run in any transaction. It doesn't matter.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.