EJB Kinds - What are the kinds of EJB's?

What are the kinds of EJB's?

- There are three kinds of EJB's:

1. Session beans
2. Entity beans
3. Message-driven beans

Session beans :

- Session beans represent the business logic of an application.
- Session beans can be of two types namely:
1. Stateless beans
2. Stateful beans

Entity beans :

- Entity beans represent the persistent data in an EJB application.

Message-driven beans :

- This type of beans is used implement asynchronous communication in the system.
EJB Passivation and activation - What is Passivation and activation in EJB?
EJB Passivation and activation - EJB saves data from memory to hard disk thus allowing memory to be reclaimed. This process of saving memory data to hard disk is called passivation...
Describe the life cycle for stateless and Stateful beans.
EJB Stateless and Stateful beans - Between the client and the session bean, the state of the conversation can be maintained using a stateful session bean...
EJB QL: What is EJB QL?
EJB QL stands for Enterprise Java Beans - Query Language. It was introduced in the EJB 2.0 specification....
Post your comment