title: Wrapping a jar file in a Windows service
body: <p>Have you had experience with running a jar file using a command line, wrapped in a Windows service?</p>
  
  <p>I'm trying to find a way to run a jar file without being logged into the machine, and since it allows command shell, I was wondering if it's a good idea.</p>
  
  <p>Thanks!</p>
  
  <hr>
  
  <p>Original Post:</p>
  
  <p>I'm trying to run Associated Press's Web Feeds Manager, which is basically a jar file that can be run when logged in by double clicking it. </p>
  
  <p>I'd like to run the same file but without being logged in to the machine. In their manual (http://wfm.ap.org/admin/content/help/Running_Agent_on_a_Remote_Server.htm) they write how to do that, using a commandline parameter.</p>
  
  <p>Basically I'd like the jar to run as a Windows service, regardless of who's logged in, but Googling it showed it was problematic. </p>
  
  <p>Have you had experience with remotely running jar files? What are the pitfalls?</p>
  
  <p>Thanks!</p>