When to Use Message-Driven Beans

J2EE, being a standard for distributed computing, makes cross-function business integration very easy. Using JNDI, J2EE applications can easily be found by one another and invoke each other's services, synchronously or asynchronously.

Synchronous interaction is easier and simpler to implement, but is more susceptible to potential failures. Network communication is an obvious source of problems. Different applications might operate in very different environments and at varied paces, and have their own problems that might or might not be visible to the developers of other applications that use them. For instance, a credit card processing application initiates an external service request across the Internet to verify ...

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.