Java doesn't fit well with windows services nor daemons. Probably in Java 7 or further versions, resources will be in place to support service integration. While this time comes, Jboss developed an smart wrapper for his Application Server.
With little effort this can be configured to create your own services. However, I've done this work and extracted the “service” part of jboss and here it is: