• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic