Research of java game engine