wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Methods" Watch "Methods" New topic


Mahendra Nambiar

Joined: Aug 23, 2001
Posts: 14
Could you tell me when finder methods should be used with EJB's?

SCJP, JCERT Certified Solutions Developer.
ken chou
Ranch Hand

Joined: Feb 08, 2001
Posts: 68

What is finder method?
Matjaz Juric
Ranch Hand

Joined: Aug 02, 2001
Posts: 65
Finder methods as a part of the home interface enable the clients to locate the enterprise beans by their identity. This is why finder methods are used for entity beans only. Session and message-driven beans namely do not have identities exposed to the clients.

Matjaz Juric
Author of Professional EJB

Matjaz Juric<br />Author of <a href="http://www.amazon.com/exec/obidos/ASIN/186100544X/qid%3D1008676221/sr%3D8-1/ref%3Dsr%5F8%5F5%5F1/103-4928879-8274265" target="_blank" rel="nofollow">Professional J2EE EAI</a> and <a href="http://www.amazon.com/exec/obidos/ASIN/1861005083/ref=ase_electricporkchop" target="_blank" rel="nofollow">Professional EJB</a>
It is sorta covered in the JavaRanch Style Guide.
subject: Methods