Let's say I have a server application that listens to incoming connections via sockets to the application. I want this program to be able to be started and stopped remotely. What are the technologies I need to do this with. I was reading on JSP but I don't really need to generate HTML I don't think, as it will just be a black box sort of thing that clients will connect to and be provided services.