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 application exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "application exception" Watch "application exception" New topic
Author

application exception

sonali rao
Ranch Hand

Joined: Nov 03, 2003
Posts: 64
Which one of the following statements regarding the client view of exceptions received from an enterprise bean invocation is correct?
1. The client can safely continue the transaction by retrying the operation if an application exception is received.
2. The client can safely continue the transaction by retrying the operation if an application exception is received, but only after checking the transaction has not been marked for rollback.
3. The client can safely continue the transaction by retrying the operation if a non-application exception is received.
4. A local client cannot continue a transaction if javax.transaction.TransactionRolledbackLocalException is received.
5. A remote client cannot continue a transaction if javax.transaction.TransactionRolledbackException is received.
Answer given:5

I think option 2 would be the correct answer too.
Let me know if I am wrong.
Sudhir V
Ranch Hand

Joined: Dec 25, 2002
Posts: 143
There is no way for the client to find the status of a transaction. The home/component interface does not provide such method.


Sudhir V<br />(SCJP 1.2, SCWCD, OCA, SCBCD)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: application exception
 
Similar Threads
Question about exception
Qn about exceptions from ejbcertificate
client view of exceptions
a mock question about transcation
TrasactionRolledbackException