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

  • transaction best practices

    Hi,

    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.
    thanx

  • #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:

    http://www.javaworld.com/javaworld/j...ansaction.html
    http://dev2dev.bea.com/pub/a/2005/07...nsactions.html
    http://www.theserverside.com/article...ion-Processing

    Comment

    Working...
    X