Hello all,
I have a question concerning access to Java Objects via a PHP interface. If I were to have a persistent Java Object running on a Linux computer (perhaps running in an infinite loop?) would I be able to access the data/methods of that java object via PHP using a socket connection? I see that there are some PHP functions pertaining to functions so I assume that this is possible. If so, what would be the correct syntax for invoking a Java method? For example, if my java class had a method "getString()" which returned a string value (like "Hello World"), how would I call it from the PHP end? Any ideas or suggests are appreciated.
Thanks!
Jisoo23
I have a question concerning access to Java Objects via a PHP interface. If I were to have a persistent Java Object running on a Linux computer (perhaps running in an infinite loop?) would I be able to access the data/methods of that java object via PHP using a socket connection? I see that there are some PHP functions pertaining to functions so I assume that this is possible. If so, what would be the correct syntax for invoking a Java method? For example, if my java class had a method "getString()" which returned a string value (like "Hello World"), how would I call it from the PHP end? Any ideas or suggests are appreciated.
Thanks!
Jisoo23