I've got a process that will constantly run in the background, update a database, then the results can be checked in a noir based web app.
I'm currently running on windows. The currently runs as a local java process, however I'm wondering what the best practice is currently with Clojure running a background process.
I've got two possible thoughts
1 - Run the application as a local service. However I'm not sure what the best route for achieving this is on windows in the Java/Clojure world.
2 - Run and control the background process in something like Tomcat and make it is part of some sort of background process, separate from the users session. If this is viable, can anyone provide any guidance on what i should investigate to achieve this?