My software in Java 1.6 is a sort of crawler, going through the database and making certain calculations, in an endless loop. The calculations are of different types and organized as a collection of classes.
The question is - how do I deploy this application to the server? As a standalone application executed just once from command line and running endlessly (I don't like this approach), or with some application server? Please, give me a general advise.