Please let me know what is the difference between:
Please let me know what is the difference between: Message Driven Beans (MDB) Java
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
JMS and Message-driven beans are not either/or choice, the two are complimentary.
JMS is the API and technology for passing messages around. Message-driven beans (MDB) are an API for receiving JMS messages as events in the EJB style. There are many ways of handling JMS messages, MDB is just one of them.
From the JavaEE tutorial:
Your subject, by the way, talks abut MBeans – this is entirely different (that refers to the JMX API), and nothing to do with JMS.