Creating CLI for java daemon

I have a java daemon that is running constantly. It periodically gets data from other sources and process them autonomously. I would like to create a command line interface for the application that I can start up at any time while the daemon is running. I'd prefer to accomplish this without spawning a new JVM if possible.

I do have some ideas in mind, but I wanted to get some other opinions too.

Re: Creating CLI for java daemon

Re: Creating CLI for java daemon

Originally Posted by Norm

Put an icon in the System tray and use R-C on it have it prompt for input.

I should have mentioned: the daemon runs on a linux system with no GUI interface. I want to make the CLI so it runs either as a part of the daemon that I can 'awaken' (for lack of a better term) or as a separate process that connects to the daemon.