Chapter 6 Creating J2EE Applications for BEA WebLogic


Defining EJB-QL

You can define EJB-QL for finders and ejbSelect methods.

For CMP EJBs, finders are only defined in remote home and local home interfaces. ejbSelect methods are defined in bean classes.

Steps To define EJB-QL:

  1. Create a finder method or an ejbSelect method
  2. Open the property sheet of the finder method or the ejbSelect method
  3. Define the list of parameters of the method
  4. Click on the Implementation tab
  5. You can enter EJB-QL in the EJB-QL tab


 


Copyright (C) 2006. Sybase Inc. All rights reserved.