Node.js untangles concurrency by replacing the Java platform's standard, multithreaded approach with single-threaded, event-driven I/O. In this article, Andrew Glover introduces Node.js and explains why its event-driven concurrency has sparked so much interest, even among die-hard Java developers. He then shows you how to leverage Node's Express framework, Mongolian DeadBeef, and MongoDB to build a concurrent, scalable, and persistent web application.
- Posted by: Marc Fasel
- Posted on: November 30 2011 16:55 EST
If you're interested in an event driven approach "node-like" approach, but for the JVM, take a look at https://github.com/purplefox/vert.x.
Vert.x has a similar programming model to node.js, but it runs on the JVM, and currently supports Java and Ruby, we aim to support JS, Groovy and other JVM language in the not too distant future.Edited by: JDenman on Dec 6, 2011 11:06 AM **Link fixed**