Over a million developers have joined DZone.

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

Start coding today to experience the powerful engine that drives data application’s development, brought to you in partnership with Qlik.

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





Create data driven applications in Qlik’s free and easy to use coding environment, brought to you in partnership with Qlik.

node.js,java,java ee

Published at DZone with permission of Kenneth Peeples, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}