Abstract
In application server systems, such as J2EE, replication is an essential strategy for reliability and efficiency. Many J2EE implementations, both commercial and open-source, provide some replication support. However, the range of possible strategies is wide, and the choice of the best one, depending on the expected application profile, remains an open research question.
To support research in this area, we introduce a framework for prototyping J2EE replication algorithms. In effect, it divides replication code into two layers: the framework itself, which is common to all replication algorithms, and a specific replication algorithm, which is “plugged in” to the framework. The division is defined by an API.
The framework simplifies development in two ways. First, it keeps much of the complexity of modifying a J2EE implementation within the framework layer, which is implemented only once. Second, through the API, the replication algorithm sees a highly abstracted view of the components in the server. This frees the designer to concentrate on the important issues that are specific to a replication algorithm, such as communication. We have implemented the framework by extending the open-source J2EE server. Compared to an unmodified server, the framework adds a performance cost of about 22%. Thus, it is quite practical for the initial development and evaluation of replication algorithms. Several algorithms have already been implemented within the framework.
This work was partially supported by the European Commission under the IST program of the 5th Framework through Project ADAPT (IST-2001-37126).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Shannon, B.: JavaTM 2 Platform Enterprise Edition Specification, v1.4. Sun Microsystems, Inc. (2003), http://java.sun.com/j2ee/1.4/docs/
DeMichiel, L.G.: Enterprise JavaBeansTM Specification, Version 2.1. (2003), http://java.sun.com/products/ejb/docs.html .
Apache Web Services Project: Axis SOAP library, version 1.1 (2003), http://ws.apache.org/axis
Bartoli, A., Prica, M., Antoniutti Di Muro, E.: Reliable communication, ADAPT project deliverable describing the JBora toolkit (2004)
Labourey, S., Burke, B.: JBoss Clustering. The JBoss Group (2002)
JBoss Group: JBoss 3.2.3 (2003), http://www.jboss.org/
Chinnici, R.: JavaTM API for XML-based RPC: JAX-RPC 1.1. (2003), http://java.sun.com/xml/jaxrpc/index.jsp
Sun Microsystems, Inc.: ECperfTM specification: 1.1 final release (2003), http://java.sun.com/j2ee/ecperf/
Bennani, T., Blain, L., Courtes, L., Fabre, J., Killijian, M., Taïani, F.: Implementing simple replication protocols using CORBA portable interceptors and Java serialization. In: International Conference on Dependable Systems and Networks (DSN 2004), Florence, Italy (2004)
Marangozova, V., Hagimont, D.: An infrastructure for CORBA component replication. In: Proceedings of the First International IFIP/ACM Working Conference on Component Deployment (CD 2002), Berlin, Germany (2002), http://sardes.inrialpes.fr/papers/files/02-Marangozova-CD.pdf
Bartoli, A., Prica, M., Antoniutti di Muro, E.: A replication framework for program-to-program interaction across unreliable networks and its implementation in a servlet container. Technical report, Dipartimento di Elettrotecnica, Elettronica, Informatica, University of Trieste, Trieste, Italy (2003) (submitted for publication), http://adapt.adapt.cs.unibo.it/papers/AntonBartPrica.pdf
Wu, H., Kemme, B., Maverick, V.: Eager replication for stateful J2EE servers (2004) (submitted for publication)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2004 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Babaoğlu, Ö., Bartoli, A., Maverick, V., Patarin, S., Vučković, J., Wu, H. (2004). A Framework for Prototyping J2EE Replication Algorithms. In: Meersman, R., Tari, Z. (eds) On the Move to Meaningful Internet Systems 2004: CoopIS, DOA, and ODBASE. OTM 2004. Lecture Notes in Computer Science, vol 3291. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30469-2_37
Download citation
DOI: https://doi.org/10.1007/978-3-540-30469-2_37
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-23662-7
Online ISBN: 978-3-540-30469-2
eBook Packages: Springer Book Archive