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


Please Help Members By Posting Answers For Below Questions

What is ejb framework?

567


What are ejb components?

540


What is ptp model?

585


What do you mean by EJB architecture?

583


What is backing bean?

612






What are the advantages of ejb?

554


What do you mean by abstract schema?

570


What is ejb in weblogic?

562


How entity beans support container managed persistence?

1944


Why do we use @requestmapping?

524


What is the procedure of ejb container to handle exceptions?

554


What is the advantage of using entity bean for database operations, over directly using jdbc api to do database operations?

561


Enlist the declarative transaction types?

606


What is ejb technology?

502


What do you mean by ‘hot deployment’ ?

598