Programming Tutorials

Interview Question: What is Message Driven Bean?

By: Ash in Interview Tutorials on 2008-08-13  

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.

 

 

 

 





Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Interview )

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

Question: Difference between forward and sendRedirect in JSP?

What is Collection API?

Explain garbage collection?

The output of System.out.println(5>>2) in Java

Interview Question: What is the difference between Message Driven Beans and Stateless Session beans?

Differentiate between .ear, .jar and .war files.

Interview Question: Do ActionForms have to be true JavaBeans?

What are Access Specifiers available in Java?

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

Interview Question: Write code of any Action Class?

What is the difference between interface and abstract class?

What are all the different scope values for the tag?

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

Question: How would you go about analyzing performance of an application?

Latest Articles (in Interview)