My java desktop application runs every time the computer starts up and runs as long as computer is ON.
It monitors all the activities and interacts with database more often and will tell me some updates by looking on the internet at regular intervals etc..etc..
So what I usuallly do is creating the threads and calling the sleep method. BUt is there any way so that i can handle the memory more efficiently as my program runs 24/7. Are there any methods which will be very much useful if we want to make the program sit silently if there is no job to do . Any advice or suggestion will be helpful
Thanks in advance