This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Methods  RSS feed

 
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
Boost this thread!