Hi all, I am having some problem in ejb transaction.
Requirement: In my web application the screen shows number of items to process. User can select more than one item and press button process. The requirement is , the process of each item is individual transaction. If one of the process of item fails it should rollback only that item but not other item. Implementation: When user click process , system calls the Process() method of ejb(stateless) and pass the list of items. In the process method I start a loop and for each item I call another method called ProcessOneItem() of same ejb. Both the methods are part of ejb remote interface. I have set the transaction attribute of Process() (Parent method) as TX_NOT_SUPPORED and the transaction attribute of ProcessOneItem() as TX_REQUIRED. But when some exception occurred in processing one item , it did not rollback the item. I tried to change the transaction attribute of the parent method to TX_SUPPORT , but still it did not work. Environment: Websphere 3.5.5 Ejb 1.0 Anybody can advice me how to achieve my requirement. Thanks, Subhendu ==========================================================================To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
