Avatar.js is a project to bring the node programming model, APIs and module ecosystem to the Java platform, enabling a new class of hybrid server applications that can leverage two of the most popular programming languages and ecosystems today. These Java+JavaScript applications can leverage capabilities of both environments - access the latest node frameworks while taking advantage of the Java platform's scalability, manageability, tools, and extensive collection of Java libraries and middleware.

The project includes Java bindings for libuv and node's http parser.

Modules known to work with Avatar.js

abbrev
ansi
async
block-stream
chmodr
chownr
coffee-script
colors
commander
connect
debug
engine.io
express
ftsream[1]
glob[1]
graceful-fs
inherits
ini
init-package-json
grunt
grunt-bower-task
jade
lodash
mime
mkdirp
mocha
moment[2]
mongodb[3]
mongoose[3], [4]
mustache
node-unit
node-uuid
once
opener
optimist
osenv
passport
q
read
redis
request
retry
rimraf
ronn
semver
slide
socket.io
tar
uglify-js
uid-number
underscore
which
winston 

[1]: with minor issues related to symbolic link handling
[2]: some issues with Ancient Greek lang
[3]: Replace all const occurences with var
[4]: Buffer Schema data type is not supported

Modules known to work with Avatar.js that require light patching

Module Patch location Patch content
express/ejs node_modules/ejs/lib/ejs.js line 286

- options.__proto__ = options.locals;

+ if (options.locals) options.__proto__ = options.locals;

grunt-contrib-uglify grunt-contrib-uglify/node_modules/grunt-lib-contrib/node_modules/zlib-browserify/index.js Replace all const occurences with var
vows vows/lib/vows/suite.js line 340 move declaration of function finish before function maybeFinish

Back to top