How 'messaging' supported in EJB 2.0 Specification?
Answer Posted / guest
The EJB 2.0 Specification defines JMS support through a new
type of enterprise bean, the message-driven bean. A
message-driven bean is invoked by the EJB container as the
result of the arrival of a JMS message. To a client, the
message-driven bean is a JMS consumer that implements some
business logic on the server. Clients communicate with
message-driven beans by sending messages to a JMS
Destination (either a Queue or a Topic) for which the
message-driven bean is a MessageListener.
Message driven beans are distinct from both Entity and
Session beans. They have neither home nor remote interfaces.
Instead, they implement the javax.jms.MessageListener
interface.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What do you mean by in-memory replication?
What are the advantages of java beam?
Is it possible to have threading in ejb?
What are versions of ejb?
What are the components of ejb?
What are the callback annotations for entity bean?
Write down the steps for the creation of stateless ejb.
What is entity bean?
What is ejb and its uses?
What are the advantages of ejb?
What causes statelessness?
For ejb applications with bean-managed transaction demarcations, which of the following is used by the client to get a reference to the usertransaction object for the weblogic server domain?
What is Enterprise JavaBeans (EJB)?
What is mdb?
What is difference between ejb and spring?