Interview Question: What is Message Driven Bean?

By: Ash 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 )

Question: What is the directory structure of a web application?

Types of Interviews

Interview Question: What is the difference between JavaBean and EJB?

Interview Question: What is deployment descriptor?

Interview Question: How many EJB Objects are created for a Bean?

Interview Question: What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

Interview Question: Is Decorator an EJB design pattern?

Interview Question: What is the difference between sessioncontext and entitycontext?

Interview Question: What are the optional clauses in EJB QL?

Interview Question: What is Local client view in EJB?

Interview Question: If the framework doesn't do what I want, can I request that a feature be added?

Interview Question: Does Struts include its own unit tests?

What is the difference between interface and abstract class?

What are the life-cycle methods of JSP?

What is JSP Scriptlet?

Latest Articles (in Interview)

Comment on this tutorial