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 the services provided by a J2EE container?

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

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

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

What types of comments are available in the JSP?

Interview Question: Is Struts compatible with other Java technologies?

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

Explain the Polymorphism principle.

What is difference between Java Bean and Enterprise Java Bean?

Explain garbage collection?

Can Entity Beans have no create() methods?

What is J2EE Connector architecture?

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

How to define an Interface?

Interview Question: What is EJB client JAR file?

Latest Articles (in Interview)