- Session Beans
- Stateless Session Beans (SLSB)
- Stateful Session Beans (SFSB)
- Singleton Session Beans
- Message Driven Beans (MDB's)
- Entity Beans
- The Stateless Session Bean does not preserve conversational state.
- The Stateful Session Bean preserves conversational state and there is one instance of the session bean per client.
- The Singleton Session Bean is new to the EJB 3.1 Specification. There is only one instance of this bean type.
- The Message Driven Bean acts as an event listener. It cannot be called from the client.
For each Bean, there are lifecycle callbacks that must follow the pattern void <METHOD>().
No comments:
Post a Comment