Skip to main content

How Design Patterns Affect Application Performance – A Case of a Multi-tier J2EE Application

  • Conference paper
Scientific Engineering of Distributed Java Applications (FIDJI 2004)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 3409))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design patterns: elements of reusable object-oriented software. Addison-Wesley, Boston (1995)

    Google Scholar 

  2. Demeyer, S., Ducasse, S., Nierstrasz, O.: Object-oriented Reengineering Patterns. Elsevier Science, Amsterdam (2003)

    MATH  Google Scholar 

  3. Fowler, M.: Analysis Patterns. Addison-Wesley, Reading (1997)

    Google Scholar 

  4. Sun Microsystems. Java 2 Enterprise Edition (2004), http://java.sun.com/j2ee

  5. 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)

    Google Scholar 

  6. Brebner, P., Gosper, J.: How Scalable is J2EE Technology? ACM SIGSOFT Software Engineering News 28 (2003)

    Google Scholar 

  7. Mattila, J.: EJB Performance. Master’s thesis, Tampere University of Technology (2004)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. Denaro, G., Polini, A., Emmerich, W.: Early performance testing of distributed software applications. ACM SIGSOFT Software Engineering Notes 29(1) (January 2004)

    Google Scholar 

  10. Marinescu, F.: EJB Design Patterns. The MiddleWare Company (2002)

    Google Scholar 

  11. Alur, D., Crupi, J., Malks, D.: Core J2EE Patterns. Sun Microsystems Press (2001)

    Google Scholar 

  12. Apache. JMeter (2004), http://jakarta.apache.org/jmeter/index.html

  13. JMeter Ant Task (2004), http://www.programmerplanet.org/ant-jmeter

  14. JBoss EJB server (2004), http://www.jboss.org

  15. JOnAS: Java Open Application Server (2004), http://jonas.objectweb.org

  16. MySQL (2004), http://www.mysql.com

  17. Apache Jakarta Tomcat (2004), http://jakarta.apache.org/tomcat/index.html

  18. Microsoft Corporation .NET (2004), http://msdn.microsoft.com/netframework

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics