by benchmark task performance

regex-redux
source secs mem gz cpu cpu load
Node.js 4.02 507,480 452 4.02 0% 1% 100% 0%
Java 12.16 927,212 929 37.28 73% 81% 75% 78%
n-body
source secs mem gz cpu cpu load
Node.js 27.82 28,208 1297 27.81 1% 0% 1% 100%
Java 21.50 27,240 1489 21.52 1% 1% 100% 0%
mandelbrot
source secs mem gz cpu cpu load
Node.js 17.49 564,704 778 62.77 84% 84% 96% 97%
Java 5.89 89,504 796 23.08 98% 98% 98% 99%
reverse-complement
source secs mem gz cpu cpu load
Node.js 3.68 245,496 1088 3.93 4% 4% 98% 2%
Java 1.11 345,308 1661 2.44 33% 58% 54% 80%
spectral-norm
source secs mem gz cpu cpu load
Node.js 15.77 28,804 425 15.77 1% 0% 1% 100%
Java 4.29 31,428 950 16.56 97% 96% 98% 97%
fasta
source secs mem gz cpu cpu load
Node.js 9.45 31,892 1745 9.46 1% 1% 1% 100%
Java 2.14 36,192 2457 5.68 71% 58% 62% 77%
fannkuch-redux
source secs mem gz cpu cpu load
Node.js 78.41 27,192 473 78.39 1% 1% 100% 1%
Java 17.74 30,048 1282 69.90 98% 98% 100% 99%
binary-trees
source secs mem gz cpu cpu load
Node.js 50.22 927,540 440 51.07 6% 15% 77% 6%
Java 11.33 592,668 835 39.39 84% 92% 83% 91%
k-nucleotide
source secs mem gz cpu cpu load
Node.js 60.73 2,095,052 904 151.74 96% 84% 84% 83%
Java 8.02 467,004 1802 25.57 76% 98% 73% 74%
pidigits
source secs mem gz cpu cpu load
Node.js Bad Output
Java 0.24 828 938 0.24 71% 38% 8% 4%
Node.js v7.6.0
Java java version “1.8.0_121”
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
The Java Zone is brought to you in partnership with ZeroTurnaround. Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code!

This is the second post on the results of the Java survey I ran recently. If you haven’t seen the first one, you’ll find it here.

This time we’ll be covering web frameworks, and we’ll be covering a lot!

java-survey-web

Only a few languages offers this wide selection of web-frameworks as Java and above chart is a proof of that. Here’s a list of web frameworks other developers are using:

  • Spring MVC / Spring Boot – Spring helps development teams everywhere build simple, portable, fast and flexible JVM-based systems and applications
  • Vert.x – a tool-kit for building reactive applications on the JVM
  • JSF – the official JEE web framework
  • Play Framework – it makes it easy to build scalable, fast and real-time web applications with Java & Scala
  • Grails  – Java-version of Ruby on Rails built on top of Spring and Hibernate written in Groovy
  • Spark – A tiny Sinatra inspired framework for creating web applications in Java 8 with minimal effort
  • Apache Struts – an MVC framework for creating elegant, modern Java web applications
  • Dropwizard – a framework for developing ops-friendly, high-performance, RESTful web services
  • Vaadin – a server-side framework for building single page web applications
  • JHipster – an application generator that generates Spring Boot + AngularJS projects
  • Wicket – web application framework that takes simplicity, separation of concerns and ease of development to a whole new level
  • JAX-RS – a framework inside the JDK used for creating RESTful web services
  • Stripes – makes working with Servlets and JSPs easy
  • Sling – a web framework that uses a Java Content Repository and is powered by OSGIt
  • GWT – a framework by Google that compiles Java code into JavaScript running in the browser
  • XSLT – a language for transforming an XML document into another XML documents
  • Ratpack – set of Java libraries for building modern HTTP applications
  • Express – this is not a java web framework, but a javascript one built on top of Node.js
  • Ninja framework – full stack web framework that works well with GAE
  • Compojure – a small routing library for Ring, a Clojure-based web application framework
  • ZK – an open-source Java framework for building enterprise web and mobile apps
  • Symphony 2 – high performance PHP framework for web development
  • Java Enterprise Edition – is the standard in community-driven enterprise software

I’d love to hear your experience with these frameworks. Leave a comment below.

The Java Zone is brought to you in partnership with ZeroTurnaround. Discover how you can skip the build and redeploy process by using JRebel by ZeroTurnaround.