title: Creating a background process in java
body: <p>I want to create a background process that will be running 24*7 in the background with a unique name/identifier so that I can get reference to that process and kill that when I like. That process will perform some task as well like locking a file database.
  Can I get some idea/code on how to achieve this?</p>