It's not a secret anymore!*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Application Exception and MDB Java Beat Questin 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 "Application Exception and MDB Java Beat Questin" Watch "Application Exception and MDB Java Beat Questin" New topic
Author

Application Exception and MDB Java Beat Questin

Amirr Rafique
Ranch Hand

Joined: Nov 14, 2005
Posts: 324
20) Which of the following statements are correct regarding message-driven
beans?
a. A message-driven bean cannot throw Application Exception.
b. A message-driven bean cannot throw System Exception.
c. A message-driven bean shouldn't throw Application or System Exception.
d. A message-driven bean can either throw Application or System Exception.
e. None the above.


Please explain


"Know where to find the solution and how to use it - that's the secret of success."
Lee Kian Giap
Ranch Hand

Joined: Jan 23, 2008
Posts: 213
Answer is d

EJB Core 14.3.4


SCJP 6, SCWCD 5, SCBCD 5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Application Exception and MDB Java Beat Questin
 
Similar Threads
ejbcertificate mock example
MessageListenerInterface (Enthuware)
Whizlabs Exam Simulator
Enthuware Explanation Doubt-23
MDB throw system exception