Skip to main content

Business Transactions on ACID

Posted by daniel on July 8, 2003 at 8:42 AM PDT

In his weblog entry "A Client Side Container for J2EE", Maciej Zawadzki takes a first stab at arguing for a client side container. He argues that in " multi-tier enterprise level applications, whenever we can get rid of state that is a good thing. But I feel compelled to point out that making a service stateless is not the same thing as getting rid of caching." He looks briefly at Caching and Client side deployment descriptors in the light of the ACID properties for business transactions.

ACID is an acronym for Atomicity, Consistency, Isolation, and Durability. Zawadzki has built enterprise applications that included these features but explains now, armed with Martin Fowler's book "Patterns of Enterprise Application Architecture", has a name for these desirable characteristics. A common vocabulary is one of the key benefits in patterns. When I say Singleton, Visitor, or State, you have a pretty clear idea of what I'm talking about.

In Also Today, you'll see that it's useful to name and codify patterns you don't want to use. "AntiPatterns - from problems to bad solutions"
points to a page on the Javapedia that provides an example of an AntiPattern and links to others. Our other daily feature is "Accessibility", a link to a developerWorks article that shows you how to extend the Metal look and feel to make the resulting Swing applications more accessible.

Also in today's featured Weblogs Michael Champion weighs in with "XML can define agreements, but can also help deal with chaos." Champion picks up on the recent (not)Echo project debate. It seems that agreeing on a format would be a good thing but Champion explains, "The problem with agreed-upon formats -- besides the difficulty of achieving agreement, of course!-- is their fragility in the face of inevitable change." After reading his thoughtful entry, feel free to respond.

Steve Mallett, the Java Today news editor has gathered the following Java Today News Headlines: "Sun Plans Orion Beta For Late July; Formal Launch Slated For September", "Graysky Plugins for Eclipse 1.3", "Spring Framework 0.9 Released", "Trade group to back P2P efforts", and "SCO takes Linux case to Japan".

Once this page is no longer featured as the front page of Java Today it will be archived at You can access other past issues by changing the address appropriately.