I have a Java application that runs programs like Python on my computer like so:
Process p = Runtime.getRuntime().exec("C:/python34/pythonw.exe PWtest.pyw")
I need to deploy this on the web. Now is it possible to make this into a Java Web Start application such that when the app needs to run python, it accesses my server installed with python to generate data? Otherwise, how else can I do this?
NOTE: I don't want any solution that packages the python program or .exe into the .jar file because I have other programs like PowerWorld invoked and this app needs to be scalable.
You could pass the url of a server script such as .asp and read the result: