What is the difference between Sessions Beans and Message Drivebeans?

Asked

Viewed 63 times

2

There are two components responsible for business logic in the EJB architecture, the Session Beans and Message Drivebeans. I would like to know the difference of both and some example of their use.

1 answer

1


While MDB is stateless, SB can be stateless or statfull and MDB can be short-lived and access messages asynchronously. Also you cannot access the MDB via an interface.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.