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

How is an entity bean created?

1 Answers  


What is ejb ql?

0 Answers  


Why should we use ejb?

0 Answers  


can we have static initializer blocks in EJB?

1 Answers   Reliance,


Can EJB made to handle multiple transactions?

0 Answers  






What is the use of @resource?

0 Answers  


What is the use of @ejb annotation?

0 Answers  


How the container will maintain synchronization for multiple calls to the entity bean?

1 Answers   HCL,


Is ejb be called from another ejb? If yes then how?

0 Answers  


What is backing bean?

0 Answers  


Explain the architectural relationship between EJB & XML?

1 Answers   Wipro,


How many types of session beans are available in ejb?

0 Answers  


Categories