News for hackers. Stuff that matters.
Re:Nodyn – Node.js for the JVM by nl on Thursday February 27, 2014 @05:09AM (#7311351)
Given the asynchronous programming model that node encourages, how have you found integrating with the traditional Java programming model that most of the Java ecosystem uses?
Re:Nodyn – Node.js for the JVM by RyanZAG on Thursday February 27, 2014 @08:00AM (#7311851)
Vert.x has something called a 'worker verticle' that can run blocking IO in a thread pool. You'd communicate with the worker by passing messages on the event bus asynchronously. It makes integrating those kind of services fairly straight forward, but obviously you'd switch to actual async APIs if available.