aspose 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 1520
    
  22

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 =)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Confused about MDB and system exceptions
 
Similar Threads
Doubt - MDB
Mock exam questions on MDB (2)
JMS without reference to EJB
MDB Message Redelivery and discard
Message listener interface of a Message-Driven Bean?