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
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply 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
Rancher

Joined: Apr 07, 2010
Posts: 1039

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://zeroturnaround.com/jrebel/download
 
subject: Confused about MDB and system exceptions
 
Similar Threads
MDB Message Redelivery and discard
Doubt - MDB
Mock exam questions on MDB (2)
JMS without reference to EJB
Message listener interface of a Message-Driven Bean?