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 ...

Get EJB 2.0 Development with WebSphere Studio Application Developer now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.