
Chapter 9 Creating J2EE Applications for IBM WebSphere 5.0
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.
To define EJB-QL:
- Create a finder method or an ejbSelect method in the remote home interface or the local home interface.
- Open the property sheet of the finder method or the ejbSelect method.
- Define the list of parameters of the method.
- Click on the Implementation tab, and select the EJB-QL sub-tab:
- You can type EJB-QL on this tab.
Copyright (C) 2005. Sybase Inc. All rights reserved.
|
|