This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How automatically DAO methods get called upon  RSS feed

PavanPL KalyanK
Ranch Hand
Posts: 212
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to Java J2EE development , so please help me even my doubt is a prank

Here is my query :

I have a DAO to perform operations on database :

and i have a sessionbean that implements this MyDAO

I want to know upon calling a DAO interface from the servlets (Correct me if i am wrong) how the DAO implementation class would be get called upon ?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!