Quantcast
Channel: Enterprise JavaBeans (EJB)
Viewing all articles
Browse latest Browse all 15

What is the difference between Message Driven Beans and Stateless Session beans?

$
0
0

In several ways, the dynamic creation and allocation of message-driven bean instances mimics the behavior of stateless session EJB instances, which exist only for the duration of a particular method call. However, message-driven beans are different from stateless session EJBs (and other types of EJBs) in several significant ways: Message-driven beans process multiple JMS messages asynchronously, rather than processing a serialized sequence of method calls. Message-driven beans have no home or remote interface, and therefore cannot be directly accessed by internal or external clients.

read more


Viewing all articles
Browse latest Browse all 15

Trending Articles