• Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring Transaction  RSS feed

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi ,

This line is from a site when you go for Transactio Suppourt , use it in a Business Layer .
Can you please me actually what the author mean .

Here my question is that should i use Transaction inside the DAO Layer or in the Controller(Servlet) which is calling the DAO .


Thanks in advance .
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you should have a service calls Dao, make the service transactional.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank ou very much .
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!