Conclusion

Message-driven EJBs provide an easy and effective means to integrate messaging into a J2EE application. They are commonly used to perform back-end work asynchronously. Message-driven beans can take advantage of the EJB container's concurrency, security, and transaction support. This allows the bean writer to concentrate on writing the business logic without needing to develop the infrastructure code for a JMS listener.

Get J2EE™ Applications and BEA™ WebLogic Server™ 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.