Results 1 to 2 of 2

Thread: transaction demarcation: where?

  1. #1
    Join Date
    Apr 2008
    Posts
    15

    Default transaction demarcation: where?

    Just to make sure: transactions should be demarcated in your service layer and not in your DAO's, right?

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,625

    Default

    That is correct.

    You want your business/service method to be transactional and not only your data access. Especially not when you do multiple data calls inside your service method.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •