What is EJB QL?- EJB QL stands for Enterprise Java Beans - Query Language.
- It was introduced in the EJB 2.0 specification.
- QL provides navigation across the network of EJBs and dependent objects which are defined by means of container managed persistence.
- Persistence is the ability to save the current state of a bean.
- EJB QL is portable across the containers and the persistence managers.
1. Finder Methods: These are defined in the home interface of an entity bean and which return entity objects. 2. Select Methods: These are not exposed to the client. However, these are used by bean providers to select persistence values or entity objects related to entity bean which the query is defined on.
|