• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

A Question

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
He loves you so much! And I'm baking the cake! I'm going to put this tiny ad in the cake:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic