Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A Question

 
Panah Rad
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, Does anybody know the answer to the following question?
Which of the following statements regarding exception handling in EJBs are true? Please note this question is not from a real exam.
A
The bean provider is responsible for performing any clean up actions before throwing a non-application exception.
B
The container always discards an enterprise bean instance if one of its business methods throws a non-application exception.
C
A local client cannot continue a transaction if javax.ejb.TransactionRolledbackLocalException is received.
D
A transaction is automatically rolled back by the container if the client initiated the transaction and the bean's business method resulted in an application exception.
E
Message-driven bean methods cannot throw application exceptions to the client.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic