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 is passivation and activation in ejb?
Can remove() be a Stateless Session bean?
Define Initial Context?
What are the key features of the ejb technology?
Differentiate Phantom from Un-repeatable?
What are the types of ejb?
Which services are provided to ejb components by the ejb container?
Name the attributes of javax.ejb.ejb.
How to generate ejb stubs in eclipse?
Match the ejb functions given below with the functionality equivalent in sql?
What is dependency injection in ejb?
Which is more beneficial: CMP or BMP?
What is @injectmock?
What is an entity and its types?
What is pub/sub model?