aspose 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 Spring in Action this week in the Spring 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