process 24x5 in jar how to convert to .war

1

I have created a jar to calculate forex signals, but I would like to host it on some server in the cloud. As I've been researching, it will be much easier to convert it to a war.

Since my app is supposed to run 24x5, I'd need it to run around this time, without having to do any command for it.

I have already created a web project, initially in servlet, but the main problem:

In .jar I looped the main and ready ... no .war, where could I do something like this?

Thank you!

    
asked by anonymous 09.05.2016 / 03:59

1 answer

0

From what I understand, you perform a certain action from time to time, right?

I think Quartz solves your problem. It is basically a scheduled task, similar to Linux's CRON.

09.05.2016 / 14:20