Announcement Announcement Module
No announcement yet.
transaction best practices Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • transaction best practices


    could anybody recommend some articles/books/whitepapers on transaction best practices?
    which methods and why should be in transactions? should I use nested transactions? limitations/ warnings when using transactions....
    we need to set up correctly transaction boundaries on an enterprise project.

  • #2
    J2EE without EJB and Professional Java Development with the Spring Framework both have decent chapters on transactions.

    Beyond that, the use of the different transactional semantics should be fairly obvious based on your architecture and requirements.

    For example, if you have long running transactions but certain obvious subtransactional operations occur - nested transactions might be useful. With these choices you have to weigh the benefits verus the portability, etc. This is not a whitepaper, just a slightly uniformed opinion ;-).

    beyond that here are the results of a short google session: