Interview Question: What is Message Driven Bean?

By: Ash Viewed: 170 times  Printer Friendly Format    

Question:What is Message Driven Bean?


An MDB is essentially a message consumer that can listen to a message destination or a message endpoint and gets activated when a message arrives. By design, MDBs are anonymous in nature and hence cannot be directly invoked by a client. The only way to invoke an MDB is to send a message to the destination or endpoint to which it is listening. As MDBs are stateless in nature and are not related to any specific client, they can be pooled for concurrent processing of messages.





Most Viewed Articles (in Interview )

Tell me something about J2EE component?

What is the difference between JTS and JTA?

What is the difference between jsp:include page and @ include file?

Interview Question: What is Action Class?

Interview Question: Why are some of the class and element names counter-intuitive?

Interview Question: What is the difference between EAR, JAR and WAR file?

What is Deployment Descriptor?

Explain garbage collection?

Interview Question: Why it is called Struts?

Interview Question: What is ActionForm?

Interview Question: What about JSTL and JavaServer Faces ?

Interview Question: What is the difference between ejbCreate() and ejbPostCreate?

Interview Question: What is difference between EJB 1.1 and EJB 2.0?

Interview Question: What is lazy loading?

Interview Question: What is the difference between find and select methods in EJB?

Latest Articles (in Interview)

Comment on this tutorial