Interpretting php scripts in Java
Posted: Mon Dec 28, 2009 12:44 pm
Hi all,
Java has recently introduced a great feature, named ScriptEngine, which allows integration of Java with other languages, by providing a scripting interface.
More info here: http://java.sun.com/developer/technical ... languages/
Shortly, one can write a simple console Java application, that can load/parse/interpret/execute/etc. php script, allowing user to script that application (like mIRC scripts, for example).
My question is: does PHP have any official engine for integration with Java, and if does, can anyone please give me a link to some more info about it?
Thanks in advance
Java has recently introduced a great feature, named ScriptEngine, which allows integration of Java with other languages, by providing a scripting interface.
More info here: http://java.sun.com/developer/technical ... languages/
Shortly, one can write a simple console Java application, that can load/parse/interpret/execute/etc. php script, allowing user to script that application (like mIRC scripts, for example).
My question is: does PHP have any official engine for integration with Java, and if does, can anyone please give me a link to some more info about it?
Thanks in advance