Abstract
Different kinds of patterns, especially design patterns, are popular and useful concepts in software engineering. In some cases, flexibility and reusability of the design comes with the price of decreased efficiency. At the same time, performance is often a key quality attribute of distributed applications. It is therefore beneficial to investigate whether design patterns may influence performance of applications. This paper investigates differences in performance between selected design patterns implemented in an example multi-tier J2EE application.
To this end, a series of performance tests in distinctive Enterprise Java Beans containers and deployment configurations were carried out. The comparison of the differences between results for each tested design pattern indicates influence on application quality, especially performance.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design patterns: elements of reusable object-oriented software. Addison-Wesley, Boston (1995)
Demeyer, S., Ducasse, S., Nierstrasz, O.: Object-oriented Reengineering Patterns. Elsevier Science, Amsterdam (2003)
Fowler, M.: Analysis Patterns. Addison-Wesley, Reading (1997)
Sun Microsystems. Java 2 Enterprise Edition (2004), http://java.sun.com/j2ee
Cecchet, E., Marguerite, J., Zwaenepoel, W.: Performance and scalability of EJB applications. In: 17th ACM Conference on ObjectOriented Programming, Seattle, Washington, pp. 246–261 (2002)
Brebner, P., Gosper, J.: How Scalable is J2EE Technology? ACM SIGSOFT Software Engineering News 28 (2003)
Mattila, J.: EJB Performance. Master’s thesis, Tampere University of Technology (2004)
Liu, Y., Gorton, I., Liu, A., Jiang, N., Chen, S.: Designing a test suite for empirically-based middleware performance prediction. In: The Fortieth International Confernece on Tools Pacific: Objects for internet, mobile and embedded applications, Sydney, Australia (February 2002)
Denaro, G., Polini, A., Emmerich, W.: Early performance testing of distributed software applications. ACM SIGSOFT Software Engineering Notes 29(1) (January 2004)
Marinescu, F.: EJB Design Patterns. The MiddleWare Company (2002)
Alur, D., Crupi, J., Malks, D.: Core J2EE Patterns. Sun Microsystems Press (2001)
Apache. JMeter (2004), http://jakarta.apache.org/jmeter/index.html
JMeter Ant Task (2004), http://www.programmerplanet.org/ant-jmeter
JBoss EJB server (2004), http://www.jboss.org
JOnAS: Java Open Application Server (2004), http://jonas.objectweb.org
MySQL (2004), http://www.mysql.com
Apache Jakarta Tomcat (2004), http://jakarta.apache.org/tomcat/index.html
Microsoft Corporation .NET (2004), http://msdn.microsoft.com/netframework
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Rudzki, J. (2005). How Design Patterns Affect Application Performance – A Case of a Multi-tier J2EE Application. In: Guelfi, N., Reggio, G., Romanovsky, A. (eds) Scientific Engineering of Distributed Java Applications. FIDJI 2004. Lecture Notes in Computer Science, vol 3409. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-31869-9_2
Download citation
DOI: https://doi.org/10.1007/978-3-540-31869-9_2
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-25053-1
Online ISBN: 978-3-540-31869-9
eBook Packages: Computer ScienceComputer Science (R0)