EJB 2.0 Development with WebSphere Studio Application Developer
by Ueli Wahli, Wouter Denayer, Lars Schunk, Deborah Shaddon, Martin Weiss
EJB custom query methods
Query methods are any method in the home that is used to locate entity beans, such as findXxxx (called finder methods), and selectXxxx (called select methods).
*New EJB 2.0 - query methods
In EJB 1.x, finder methods were the only type of custom query method available, and these were just referred to as custom finder methods. In EJB 2.0, select query methods were added, so we refer to this category of methods as query methods, because referring to them as finder methods would not be completely accurate.
Note: They are called custom query methods for both CMPs and BMPs, because it is a definition of method function rather than an actual implementation detail of the method. CMPs can rely on the EJB query language, so are ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access