posted 20 years ago
Hi James,
The thing that I do not understand is why I cannot use RequiresNew as a tx attribute for Message Driven Bean. The book says I cannot use it because there will never be a pre-existing transaction.
Now, If there is no transaction present at the moment of onMessage() method call, both the attributes (Required and RequiresNew) are capable of starting a new transaction.
So, Why can I not use RequiresNew when we know that MDB does not need a pre-exisiting transaction?
Any help will be highly appreciated.
Regards
Suman
[ May 24, 2004: Message edited by: Suman Sarker ]
Suman A Sarker<br />SCJP, SCWCD, SCBCD<br /> <br />If You Can't Beat Them ... Join Them!