title: Play! framework deployed as a JAR or Service?
body: <p>We've developed a small app using play!, and it runs standalone on a user's computer (Windows XP or Windows 7), as the users don't have network access. Currently, it runs within a console/command window. I would like to make it so there's no console window in the taskbar where play is running--really, mostly because the users are prone to closing the the window. I came up with a couple of ideas, but I was hoping for some validation or other ideas.</p>
  
  <p>First, I was thinking of running Java via javaw, which is typically what runs for GUI applications running Java--but what would I run? I guess I could run the Winstone Servlet container with the WAR output of play! (mentioned as a solution to the other stackoverflow question below).</p>
  
  <p>Second, I was thinking of trying to wrap it in a windows service.</p>
  
  <p>This question is similar, but slightly different (I don't mind installing play!, which just involves unzipping the framework):
  <a href="https://stackoverflow.com/questions/2599087/deploy-play-application-as-executable-jar">Deploy Play! application as executable jar</a></p>
  
  <p>Has anyone used either of these techniques, or is there a better way? Pros/Cons/Examples?</p>
  
  <p>Thanks!</p>
  
  <hr>
  
  <p>Update: Any comments about Winstone? It turns out that due to security constraints, we'll not be able to [easily] create services or scheduled tasks (as SYSTEM). Thanks again.</p>