Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Methods

 
Mahendra Nambiar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you tell me when finder methods should be used with EJB's?
-Mahendra
 
ken chou
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

What is finder method?
 
Matjaz Juric
Author
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.
Cheers,
Matjaz

------------------
Matjaz Juric
Author of Professional EJB
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic