Glassfish is a Java Enterprise Edition application server. If it is installed on a windows server it is necessary start it automatically, for example after a maintenance reboot. To achieve this goal the glassfish startup process has to be performed with a windows service.