How to Create Message-Driven Beans
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 ...
Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.