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 its use.
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 its use.
While MDBs are stateless, SBs can be stateless or statfull in addition to MDBs having a short lifespan and accessing messages asynchronously. Also you can not access MDB through an interface.