Interview Question: What is Message Driven Bean?

By: Ash Printer Friendly Format    


Question:What is Message Driven Bean?

Answer:

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.

 

 

 

 

Ask a Question



Most Viewed Articles (in Interview )

What are all the different scope values for the tag?

Interview Question: Is there a particularly good IDE to use with Struts ?

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

Interview Question: What is deployment descriptor?

What is transient variable?

Is Iterator a Class or Interface? What is its use?

How to define an Abstract class?

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

What are implicit Objects available to the JSP Page?

Interview Question: What is Struts?

Interview Question: How is the MVC design pattern used in Struts framework?

Interview Question: What is Struts Validator Framework?

Interview Question: Why does EJB needs two interfaces(Home and Remote Interface)?

Interview Question: Is Decorator an EJB design pattern?

Interview Question: What is lazy loading?

Latest Articles (in Interview)

Comment on this tutorial