From Erlang To Java and Back Again