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 )

What are implicit Objects available to the JSP Page?

What do you understand by JTA and JTS?

What are types of J2EE clients?

Interview Question: What is Action Class?

Question: What is a Hidden Comment in JSP?

Interview Question: What is EJB client JAR file?

What is the difference between Session Bean and Entity Bean?

What is similarities/difference between an Abstract class and Interface?

Interview Question: Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB?

What is JSP Output Comments?

Question: Difference between forward and sendRedirect in JSP?

What types of comments are available in the JSP?

Name the containers which uses Border Layout as their default layout?

What is transient variable?

Interview Question: Who makes the Struts?

Latest Articles (in Interview)