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 )

Question: What is a Hidden Comment in JSP?

Interview Question: What is difference between EJB 1.1 and EJB 2.0?

What is JAXP?

Types of Interviews

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

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

What are the services provided by a J2EE container?

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

What are the contents of web module?

What are types of J2EE clients?

What do you understand by a J2EE module?

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

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?

Interview Question: What is Message Driven Bean?

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

Latest Articles (in Interview)