User:Jens Laufer/sandbox

Vert.x is a polyglot event driven application framework that runs on the Java Virtual Machine. Vert.x exposes the API currently in Java, JavaScript, Groovy, Ruby andPython. Scala and Clojure support is on the roadmap.

The application framework includes these features:
 * Polyglot. Application components can be written in Java, JavaScript, Groovy, Ruby or Python.
 * Simple concurrency model. All code is single threaded, freeing from the hassle of multi-threaded programming.
 * Simple, asynchronous programming model for writing truly scalable non-blocking applications.
 * Distributed event bus that spans the client and server side. The event bus even penetrates into in-browser JavaScript allowing to create effortless so-called real-time web applications.
 * Module system and public module repository, to re-use and share components.

Example
A web server serving static files could be written in JavaScript like this:

in Java: In Ruby:

In Groovy:

In Python:

All cases will result in a web server serving content in a highly scalable manner. Support for Scala and Clojure are under development.