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 |
What is @enableautoconfiguration?
The ejb container implements the ejbhome and ejbobject classes. For every request from a unique client, does the container create a separate instance of the generated ejbhome and ejbobject classes?
What are ejb components?
What is stateless and stateful?
In what way, the client gets a reference to an existing entity bean?
What is use of @postconstruct?
How does ejb invocation take place?
What are the system services of ejb container?
What do you mean by bean managed transaction?
What is the default transaction attribute for an ejb?
TX operation funtion executed by?
What is stateless session?