Hi,

For this scenario, Ray's suggestion of SOAP is IMHO the best option. But just out of curiosity why do you want to mix the two languages? If you are familiar with java you might be better off doing your server side stuff using J2EE. Then you might be able to use
Object Streams for your communications or RMI. Then there is the XMLEncoder class that was made availble with 1.4


better stop before someone shoots me down this is a PHP list after all :-)



Matt Palermo wrote:

I have been searching the web for ways to execute remote PHP files through
the use of JAVA code, but I haven't had any luck.  I have found many ways to
call JAVA functions from a PHP script, but not the other way around.  What
I'm trying to accomplish is I want to build a JAVA application that will be
run from a users local computer after installation and this JAVA program
will connect to a url on my server (a url to a PHP script).  This PHP script
will be used to connect to the server's MySQL database and send some
retrieved information back to the JAVA application on the users machine.  I
have been searching the web for hours trying to find a tutorial, or advice
on how to accomplish this, but so far I have had no luck.  If anyone has any
advice or suggestions please let me know.

Thanks,

Matt





--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/          |  http://www.raditha/megaupload/
Lean and mean Secure FTP applet with  |  Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB  |  with progress bar.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to