I created a java SE application that runs in the background, without swing or anything ... But how do I control this application? for example, in python applications we can execute commands (python something.py -c command1 -u command2), so I can have a control over the application, how would I do this with my java application?
And how can I control the application through another java application? For example: a panel made with swing with the options to pause the controlled application thread, continue, change configuration information, etc.
The application will run only on Linux.