Highly Available Long Running Transactions and Activities for J2EE Applications

Today’s business applications are typically built on top of middleware platforms such as J2EE and use transactions that have evolved into long running activities able to adapt to different circumstances. Specifications, such as the J2EE Activity Service, have arised for applications requiring that support. These applications also demand high availability to prevent financial losses and/or service level agreements (SLAs) violations due to service unavailability or crashes. Replication is a means to attain high availability but current middleware does not provide highly available transactions. In the advent of crashes, running transactions abort and the application is forced to re-execute them, what results in a loss of availability and transparency. Most approaches using J2EE consider the replication of either the application server or the database. This results in poor availability when the non-replicated tier crashes. This paper presents a novel J2EE replication support for both, application server and database layers providing highly available transactions and long running activities. Failure masking is transparent to client applications. A prototype has been implemented and evaluated.

[1]  Hans-Jörg Schek,et al.  Concepts and Applications of Multilevel Transactions and Open Nested Transactions , 1992, Database Transaction Models for Advanced Applications.

[2]  Rachid Guerraoui,et al.  The Implementation of a CORBA Object Group Service , 1998, Theory Pract. Object Syst..

[3]  Roger S. Barga,et al.  Improving logging and recovery performance in Phoenix/App , 2004, Proceedings. 20th International Conference on Data Engineering.

[4]  Emmanuel Cecchet,et al.  Evaluation of a Group Communication Middleware for Clustered J2EE Application Servers , 2004, CoopIS/DOA/ODBASE.

[5]  Paul D. Ezhilchelvan,et al.  Design and implemantation of a CORBA fault-tolerant object group service , 1999, DAIS.

[6]  William H. Sanders,et al.  AQuA: An Adaptive Architecture that Provides Dependable Distributed Objects , 2003, IEEE Trans. Computers.

[7]  Mark C. Little Models for Web Services tansactions , 2004, SIGMOD '04.

[8]  Gerhard Weikum,et al.  Recovery guarantees for general multi-tier applications , 2002, Proceedings 18th International Conference on Data Engineering.

[9]  Santosh K. Shrivastava,et al.  The CORBA Activity Service Framework for Supporting Extended Transactions , 2001, Middleware.

[10]  Priya Narasimhan,et al.  Eternal—a component‐based framework for transparent fault‐tolerant CORBA , 2002, Softw. Pract. Exp..

[11]  Ricardo Jiménez-Peris,et al.  Exactly Once Interaction in a Multi-tier Architecture , 2005 .

[12]  Jim Gray,et al.  A Transaction Model , 1980, ICALP.

[13]  Jean-Charles Fabre,et al.  A Metaobject Architecture for Fault-Tolerant Distributed Systems: The FRIENDS Approach , 1998, IEEE Trans. Computers.

[14]  Roger S. Barga,et al.  Persistent Client-Server Database Sessions , 2000, EDBT.

[15]  Thomas A. Mikalsen,et al.  Composition of Coordinated Web Services , 2004, Middleware.

[16]  Sun Fire V20z Sun Microsystems , 1996 .

[17]  J. Davenport Editor , 1960 .

[18]  Rachid Guerraoui,et al.  Implementing E-Transactions with Asynchronous Replication , 2001, IEEE Trans. Parallel Distributed Syst..

[19]  Priya Narasimhan,et al.  Reconciling Replication and Transactions for the End-to-End Reliability of CORBA Applications , 2002, CoopIS/DOA/ODBASE.

[20]  Louise E. Moser,et al.  Unification of replication and transaction processing in three-tier architectures , 2002, Proceedings 22nd International Conference on Distributed Computing Systems.

[21]  Roberto Baldoni,et al.  Three‐tier replication for FT‐CORBA infrastructures , 2003, Softw. Pract. Exp..

[22]  Roy Friedman,et al.  Strong and weak virtual synchrony in Horus , 1996, Proceedings 15th Symposium on Reliable Distributed Systems.

[23]  Idit Keidar,et al.  Group communication specifications: a comprehensive study , 2001, CSUR.

[24]  Gottfried Vossen,et al.  Database Transaction Models , 1995, Computer Science Today.

[25]  Rachid Guerraoui,et al.  e-Transactions: End-to-End Reliability for Three-Tier Architectures , 2002, IEEE Trans. Software Eng..

[26]  Bettina Kemme,et al.  Eager Replication for Stateful J2EE Servers , 2004, CoopIS/DOA/ODBASE.

[27]  Simon Patarin,et al.  A Framework for Prototyping J2EE Replication Algorithms , 2004, CoopIS/DOA/ODBASE.