A while ago I ran across a project that did something like this, and I cannot find it now anywhere. The idea was this thing would run your java program for you, and you'd interact with it over the network. Presumably text-only programs, though I didn't get all the details (I'd probably remember it better if I had). This would allow you to use the output of a java program on a php web page, say, and avoid taking the java program startup hit every time.
Does anyone know of this project or anything similar?