Interview Question: What is Message Driven Bean?

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

What is Collection API?

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

Interview Question: What is Action Class?

Interview Question: What is EJB client JAR file?

Question: Difference between forward and sendRedirect in JSP?

Why J2EE is suitable for the development distributed multi-tiered enterprise applications?

What do you understand by a container?

What are the services provided by a container?

Interview Question: Why it is called Struts?

Interview Question: What is ActionForm?

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

Interview Question: What is Deployment descriptor?

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

Interview Question: What is local interface. How values will be passed?

Getting started with Interview

Latest Articles (in Interview)

Comment on this tutorial