Performance Comparison of Java EE and ASP.NET Core Technologies for Web API Development

Open access

Abstract

The paper describes the implementation of organic benchmarks for Java EE and ASP.NET Core, which are used to compare the performance characteristics of the language runtimes. The benchmarks are created as REST services, which process data in the JSON format. The ASP.NET Core implementation utilises the Kestrel web server, while the Java EE implementation uses Apache TomEE, which is based on Apache Tomcat. A separate service is created for invoking the benchmarks and collecting their results. It uses Express with ES6 (for its async features), Redis and MySQL. A web-based interface for utilising this service and displaying the results is also created, using Angular 5.

If the inline PDF is not rendering correctly, you can download the PDF file here.

  • [1] Microsoft “Microsoft to acquire Xamarin and empower more developers to build apps on any device” 2016. [Online]. Available: https://blogs.microsoft.com/blog/2016/02/24/microsoft-to-acquirexamarin-and-empower-more-developers-to-build-apps-on-any-device/

  • [2] The Mono Project “Compatibility”. [Online]. Available: http://www.mono-project.com/docs/about-mono/compatibility/

  • [3] Microsoft “Announcing ASP.NET Core 1.0” 2016. [Online]. Available: https://blogs.msdn.microsoft.com/webdev/2016/06/27/announcing-aspnet-core-1-0/

  • [4] Microsoft “Kestrel web server implementation in ASP.NET Core” 2017. [Online]. Available: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel?tabs=aspnetcore2x

  • [5] The Apache Software Foundation “Apache Tomcat”. [Online]. Available: http://tomcat.apache.org/

  • [6] Oracle “Java EE at a Glance” [Online]. Available: http://www.oracle.com/technetwork/java/javaee/overview/index.html

  • [7] Oracle “JSR 342: Java Platform Enterprise Edition 7 (Java EE 7) Specification”. [Online]. Available: https://jcp.org/en/jsr/detail?id=342

  • [8] Oracle “Java Platform Enterprise Edition 7 (Java EE 7) Web Profile Specification”. [Online]. Available: http://download.oracle.com/otnpub/jcp/java_ee-7-fr-eval-spec/WebProfile.pdf

  • [9] Microsoft “Common Language Runtime (CLR)” 2017. [Online]. Available: https://docs.microsoft.com/en-us/dotnet/standard/clr

  • [10] Microsoft “Introduction to Razor Pages in ASP.NET Core” 2017. [Online]. Available: https://docs.microsoft.com/en-us/aspnet/core/mvc/razor-pages/?tabs=visual-studio

  • [11] GitHub “ASP.NET”. [Online]. Available: https://github.com/aspnet

  • [12] GitHub “ASP.NET Core”. [Online]. Available: https://github.com/aspnet/home

  • [13] Microsoft “Getting started with Razor Pages and Entity Framework Core” 2017. [Online]. Available: https://docs.microsoft.com/en-us/aspnet/core/data/ef-rp/intro

  • [14] The Apache Software Foundation “Apache TomEE”. [Online]. Available: http://openejb.apache.org/apache-tomee.html

  • [15] Plumbr “Most popular Java application servers: 2017 edition” 2017. [Online]. Available: https://plumbr.io/blog/java/most-popular-java-application-servers-2017-edition

  • [16] GitHub “Chart.js – Simple HTML5 Charts using the tag”. [Online]. Available: https://github.com/chartjs/Chart.js

  • [17] npm “redis”. [Online]. Available: https://www.npmjs.com/package/redis

  • [18] G. A. Francia and R. R. Francia “An Empirical Study on the Performance of Java/.Net Cryptographic APIs” Information Systems Security vol. 16 no. 6 pp. 344–354 Dec. 2007. https://doi.org/10.1080/10658980701784602

  • [19] O. Hamed “Performance Prediction of Web Based Application Architectures Case Study: .NET vs. Java EE.” International Journal of Web Applications vol. 1 no. 3 pp. 146–156 Sept. 2009.

  • [20] A. Abu-Kamel R. Zaghal and O. Hamed “A Comparison between EJB and COM+ Business Components Case Study: Response Time and Scalability” Communications in Computer and Information Science pp. 123–135 2010. https://doi.org/10.1007/978-3-642-14306-9_13

  • [21] P. Sestoft “Numeric performance in C C# and Java” IT University of Copenhagen Denmark Feb. 2010

  • [22] The Computer Language Benchmarks Game “C# .NET Core vs Java - Which are faster?” 2018. [Online]. Available: https://benchmarksgameteam.pages.debian.net/benchmarksgame/faster/csharp.html

Search
Journal information
Metrics
All Time Past Year Past 30 Days
Abstract Views 0 0 0
Full Text Views 3155 1686 57
PDF Downloads 2315 1290 65