BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Presentation: Transaction Management Strategies in Mission Critical Applications

| by Floyd Marinescu Follow 16 Followers on Sep 11, 2007. Estimated reading time: 1 minute |
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 Stage
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.

Tell us what you think

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

Email me replies to any of my messages in this thread

Flash presentation by Stefan Mahs

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

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

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

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

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

Re: Video does not start by Nikhil Vasaikar

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

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread

6 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT