DEVFYI - Developer Resource - FYI

What is message-driven bean

J2EE Interview Questions and Answers (Part 2)


(Continued from previous question...)

192. What is message-driven bean

An enterprise bean that is an asynchronous message consumer. A message-driven bean has no state for a specific client, but its instance variables can contain state across the handling of client messages, including an open database connection and an object reference to an EJB object. A client accesses a message-driven bean by sending messages to the destination for which the bean is a message listener.

(Continued on next question...)

Other Interview Questions