Now statically creating entity manager and passing that to Jrappy.