EJB Message Driven Bean: What is Message Driven Bean?

What is Message Driven Bean?

- A Message Driven Bean is a message consumer.

- Message-driven beans receive JMS messages and process them.

- It listens to message destination or endpoint and gets activated when a message arrives.

- The important characteristics of MDBs are that they are:

1. Stateless - not related to any specific client.
2. Server side
3. Anonymous - cannot be directly invoked by a client.
4. Concurrency - consume and process messages concurrently.
5. Transaction-aware components - process asynchronous JMS messages.
EJB Deployment descriptor - What is Deployment descriptor?
EJB Deployment descriptor - The deployment descriptor directs a deployment tool to deploy a module or application with specific container options..
EJB: Is it possible to invoke Runtime.gc() in an EJB?
The call will most likely be ignored. The functions like garbage collection that are system level should be left for the container...
20 J2EE Interview Questions and Answers - Freshers, Experienced
J2EE Interview questions and answers for freshers and experienced, j2ee interview faq - In this section we have listed all those questions and answers that might be asked during J2ME interview.
Post your comment