Results 1 to 2 of 2

Thread: transaction best practices

  1. #1

    Default 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. #2
    Join Date
    Jul 2005
    Location
    Maryland
    Posts
    40

    Default

    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

Similar Threads

  1. Unit testing with JOTM and JtaTransactionManager
    By lalle in forum Architecture
    Replies: 1
    Last Post: Oct 15th, 2005, 09:05 AM
  2. Replies: 0
    Last Post: Jun 6th, 2005, 06:22 AM
  3. Replies: 3
    Last Post: May 16th, 2005, 07:04 AM
  4. Replies: 3
    Last Post: Nov 19th, 2004, 07:16 PM
  5. Transaction pb Hibernate/MySQL
    By syluser in forum Data
    Replies: 2
    Last Post: Aug 28th, 2004, 02:40 PM

Posting Permissions

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