File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes A Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "A Question" Watch "A Question" New topic
Author

A Question

Panah Rad
Greenhorn

Joined: Apr 15, 2005
Posts: 24
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.
 
 
subject: A Question