Sorry, 

i forgot to mention the package that you might really want to review...

java.net is the java package that provides all these classes, like
URLConnection and Sockets as mentioned by another person.

--
Ray

On Fri, 2003-10-24 at 08:24, Ray Hunter wrote:
> You have various options and it depends on how you want to accomplish it
> and what you are familiar with.
> 
> Java has many capabilities of doing network io (class HttpUrlConnect).
> You can contact your php page on your server and pull down the
> information (similar to what a browser does). 
> 
> Another alternative is to have php run as soap and have your java access
> the php soap service and get xml data. Then you java app can parse the
> xml and then display it to the user.
> 
> HTH...
> 
> --
> Ray 
> 
> On Fri, 2003-10-24 at 08:10, 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

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

Reply via email to