BEA WebLogic Server™ 8.1 Unleashed
by Mark Artiges, Gupreet Singh Bhasin, Bernard Ciconte, Malcolm Garland, Saranathan Govindarajan, James Huang, Subramanian Kovilmadam, Kunal Mittal, Paul J. Perrone, Tom Schwenk, Steve Steffen
Summary
Message-Driven beans make JMS programming much easier. The container provides many infrastructural services so that application developers can focus on the business logic of the asynchronous processing. Asynchronous processing can at times be very useful or even indispensable.
Message-Driven beans are in many ways similar to Stateless Session beans. But unlike Session beans and Entity beans, MDBs are never invoked directly by clients; therefore, they don't need home interfaces and remote objects. For developers, this means that there needs just one source file for a bean, plus appropriate deployment descriptors. The majority of Message-Driven bean development is done in the onMessage() method of the javax.jms.MessageListener interface, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access