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 Confused about MDB and system exceptions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Confused about MDB and system exceptions" Watch "Confused about MDB and system exceptions" New topic
Author

Confused about MDB and system exceptions

Rose Leah
Greenhorn

Joined: Jan 12, 2013
Posts: 6
Hi!

After doing some exercices about MDB I'm a little confused about MDB and system exceptions.
So, from what I understood MDBs can have system exceptions and throw EJBException from message listener methods. Is this right? If not, what is the rule for message listener methods.

Thanks in advance!
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1636
    
  23

Is this right?

Yes, that is correct.

I have put all the possibilities in a table (check my notes: ScbcdLinks chapter 6.4)

Regards,
Frits
Rose Leah
Greenhorn

Joined: Jan 12, 2013
Posts: 6
Hi Frits,

yes I've read your notes ;) , they are great btw and they've been really helpful.
But when I was doing some exams to train, in one of them it was stated the opposite in the explanation (or it looks like the opposite), so I got really confused and wanted to check if I was understanding this right or not.

Thanks =)
 
jQuery in Action, 2nd edition
 
subject: Confused about MDB and system exceptions
 
Similar Threads
MDB Message Redelivery and discard
JMS without reference to EJB
Doubt - MDB
Mock exam questions on MDB (2)
Message listener interface of a Message-Driven Bean?