You can use b4j, php, ruby, or whatever to create the server interface on the pc. From there it depends on the application that you want to run. If it is web aware, you can communicate with it directly, otherwise it is a matter of issuing a shell command in whatever you use on the pc side to start the program. You would need to create the interface on the pc side and possibly a data delivery means as well.
--- Jem