Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Service classes  RSS feed

 
sunaina agarwal
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I want to know what are service classes?? I went through some portals but wasn't clear about the concept. Please some one help me in understanding this. and please if you could provide me with a coding example as well.
How can i use it with servlets and DAOs??

 
Surendra Kumar
Ranch Hand
Posts: 236
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anything could be a service that performs some business logic.
Servlet calls a Service which can call a DAO to perform any database operations.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!