Hi, In a CMP, we are not required to define the findByPrimaryKey() mehtod. How about the other finder methods? How do we specify them in the CMP? Is there any declarative way of telling the container? thanks, Ramdhan YK
Ram Dhan Yadav (SCJP, SCWCD, SCJA-I, IBM EC(483))
"We are what we repeatedly do. Excellence, then, is not an act, but a habit."
posted 15 years ago
hi, Declare the Finder methods in Home interface as you do for findByprimarykey and describe those methods in the finder list of the deployment descriptor. you don't need to implement user defined finder methods any where for CMPs.