BT

InfoQ Homepage News Presentation: Transaction Management Strategies in Mission Critical Applications

Presentation: Transaction Management Strategies in Mission Critical Applications

Bookmarks
A core part of Spring's middle tier support is the transaction management support. This session, presented by Spring co-founder & Chief Architect lead Juergen Hoeller, presents several interesting "mission critical" cases and shows you how to properly handle them using transactions driven by Spring 2. You'll learn the ins-and-out of the "dark art" that is transaction management within a high-volume mission-critical JEE application.

Watch Transaction Management Strategies in Mission Critical Applications (89 min)

The presentation begins with Juergen explaining some transaction management myths:
  • A serious, mission-critical enterprise application requires XA transactions.
    • Not true: Many enterprise application do not require XA transactions at all.
  • Proper transactional O/R Mapping integration requires XA / JTA.
    • Not true: O/R Mappers usually just operate on a database connection and add some additional cache housekeeping, which does not require XA.
  • For combining JDBC and JMS access, XA transactions are a necessity.
    • Not true: Many enterprise applications use JMS with local transactions or even with plain acks.
  • And the biggest myth of it all: Proper transaction management requires EJB.
    • While in reality, EJB just offers a baked-in style for transaction demarcation. The hard work is done by the underlying transaction manager...Or, even broader: Proper transaction management requires a full J2EE server.
    • What about distributed transaction propagation?
    • not actually a responsibility of the core transaction manager...rather context passing in the remoting protocol EJB containers (and J2EE servers) build this on top of RMI, simply piggybacking the XID there
The presentation goes on to review best practices for doing native and JTA transactions with Spring.  See also a related book on InfoQ.com: Java Transaction Design Strategies, by Mark Richards.

 

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Flash presentation

    by Stefan Mahs /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Hi,

    Can we get the flash file as a download? My corp. firewall does not permit the stream.

    Thanx,
    Stefan

  • Flash presentation

    by The Troll /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Yeah, ability to download separate Flash file would be really appreciated. You can of course presents us with form where we will confirm that we wont redistribute the data etc etc.

    Thx

  • Re: Flash presentation

    by Floyd Marinescu /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Unfortunately we don't support this. Plus the video and slides are separate flash files. In future we will switch to a progressive download approach like youtube so you should be able to see videos from work.

  • Usal question..:-)

    by Andrea Del Bene /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Nice presentation. Juergen is one of my favorite speakers! But...where can we find a printable version of his slides?

  • Video does not start

    by Nikhil Vasaikar /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    When i click the play button, video does not start!

  • Re: Video does not start

    by Nikhil Vasaikar /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    The problem is with our internet connection, nothing wrong with the site.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.