Message-Driven Beans

Consider an EJB scenario. EJBs are designed to be used in a synchronous environment. To include the facility of asynchronous messaging in the enterprise bean scenario, message-driven beans were introduced in the EJB2.0 specification. The functions of message-driven beans are a combination of the EJB and JMS functionalities. The obvious question that would arise is, what's so special about message-driven beans? Why shouldn't you use a pure JMS application, in case you need an asynchronous functionality? Well, to develop a sturdy, full-scale JMS application, you have to handle transactions, security, scalability, fault tolerance, concurrent message processing, and object life cycle. This is a pretty daunting task. However, ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days 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.