How 'messaging' supported in EJB 2.0 Specification?



How 'messaging' supported in EJB 2.0 Specification?..

Answer / 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

More EJB Interview Questions

Basic types of Enterprise JavaBeans?

4 Answers   TCS,


What changes have been made in ejb 2.0 specifications?

0 Answers  


Is it possible to write two EJBs that have different bean classes, but they share same Remote interface and Home interfaces?

1 Answers  


How can a CORBA object, accessed from a EJB?

0 Answers  


Why is ejb needed?

0 Answers  






Why is ftp stateful?

0 Answers  


What are the transaction management benefits of the EJB architecture?

1 Answers  


Is udp stateless?

0 Answers  


Define Context?

0 Answers  


What is the difference between ejbcreate() and ejbpostcreate?

0 Answers  


Describe client view of an Enterprise JavaBeans component?

1 Answers   Wipro,


what is current EJB version?

3 Answers  


Categories