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.
|