Friday, March 13, 2009

What is EJB QL (EJB)

Question :What is EJB QL? (EJB)
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.

No comments: