There is an implementation of EventMachine written in pure Java, and intended for use with JRuby deployments. You can browse the code here. It has yet to be released in a formal EventMachine release, but this will change soon.