Simple example of command for GlassFish 4 which use server send events