There is an implementation of EventMachine written in pure Java called EmReactor?. It is intended for use with JRuby deployments. You can browse the code here. As of version 0.12.10 it is included in the formal EventMachine release and will be selected when running EventMachine under JRuby.