Over a million developers have joined DZone.

Java EE vs Node.js: High-Level Comparison

DZone 's Guide to

Java EE vs Node.js: High-Level Comparison

This table information comes from a StrongLoop blog, so it's from the node.js perspective, but it does show how quickly the node.js ecosystem has grown.

· Web Dev Zone ·
Free Resource

I was looking for a quick comparison of JavaEE and Node.js and came across a blog from StrongLoop that I thought did a good job of a quick comparison including an example for both.  

In their post, they showed how to create a REST based web service using Java EE. This service returned a list of beers from the fantastic Pabst Brewing Company. Then created the same application using StrongLoop LoopBack and Node. With very little code in Node, they created a REST web service that returns the name and description of our beers. In addition, the LoopBack API also provides default actions for the entire CRUD process.

The table below shows some of the comparisons discussed in the blog:

Feature Java EE Node.js
Great IDE support Yes, multiple choices including Eclipse, Sublime and Idea Yes, multiple choices including Visual Studio, Eclipse, Sublime
Dependency management Maven NPM
Enterprise ready Yes, in use today Yes, in use today
Large ecosystem of libraries Yes Yes
Requires JVM Yes No
Common frameworks Spring, JEE Express
Database support Yes Yes
ORM frameworks Yes Yes
Testing Frameworks Yes Yes





node.js ,java ,java ee

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}