• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bean discard policy

 
Tejastejas Gokhale
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When a system exception is thrown from a bean's method which of the following occur:

1.Only the bean in which the exception occured is discarded.
2.All the bean which were involved the same transaction context are discarded.

Tejas
 
Ugender Rekulampally
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Answer is 1 but all the beans which are involved in the transaction, will get the exception back from the exception originator bean.

Thanks,
Ugender
[ August 01, 2006: Message edited by: Ugender Rekulampally ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic