November 2003
Intermediate to advanced
1488 pages
36h 35m
English
Message-Driven beans are very similar to Stateless Session beans in terms of life cycle. There are a few major differences between Message-Driven beans and other types of beans, such as Session beans and Entity beans:
Message-Driven beans are server-side only components, so unlike other beans, they do not have home or component interfaces.
Message-Driven beans have one and only one business method, onMessage(), that is invoked by the container when a message is received. Other beans may have multiple business methods and their calls are serialized.
Each deployed Message-Driven bean is associated with the JMS destination specified in the deployment descriptor. Other beans can receive calls from any clients.
Due ...
Read now
Unlock full access