We have developed a small application using play !, and it works autonomously on a user computer (Windows XP or Windows 7), since users do not have access to the network. It is currently running in the console / command window. I would like to make sure that the taskbar does not have a console window where the game is running - mainly because users tend to close the window. I came up with a couple of ideas, but I was hoping for some validations or other ideas.
First, I was thinking of running Java through javaw, which usually works for GUI applications running in Java, but what would I run? I guess I can run the Winnet Servlet container with the WAR of the game! (referred to as solving another stack thread issue below).
Secondly, I was thinking of trying to wrap it in a Windows service.
This question is similar, but slightly different (I am not opposed to installing the game !, which simply includes unpacking the frame): Expand the game! application as an executable jar
Has anyone used any of these methods, or is there a better way? Pros / Cons / Examples?
Thanks!
Update: Any comments on Winstone? It turns out that due to security restrictions, we will not be able to [easily] create services or scheduled tasks (like SYSTEM). Thanks again.
source share