Java EJB Programming Question:

What is EJB QL?

Tweet Share WhatsApp

Answer:

EJB QL is a Query Language provided for navigation across a network of enterprise beans and dependent objects defined by means of container managed persistence. EJB QL is introduced in the EJB 2.0 specification. The EJB QL query language defines finder methods for entity beans with container managed persistenceand is portable across containers and persistence managers. EJB QL is used for queries of two types of finder methods: Finder methods that are defined in the home interface of an entity bean and which return entity objects. Select methods, which are not exposed to the client, but which are used by the Bean Provider to select persistent values that are maintained by the Persistence Manager or to select entity objects that are related to the entity bean on which the query is defined.

Download Java EJB Programming PDF Read All 27 Java EJB Programming Questions
Previous QuestionNext Question
What is the advantage of using Entity bean for database operations, over directly using JDBC API to do database operations? When would I use one over the other? Brief description about local interfaces?