Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #6634

Re: Using PHP and JAVA applets together

From Michael Vilain <vilain@NOspamcop.net>
Newsgroups comp.lang.php
Subject Re: Using PHP and JAVA applets together
Date 2012-07-21 00:29 -0700
Organization DexLabs, Inc.
Message-ID <vilain-DC968D.00291121072012@news.individual.net> (permalink)
References <a16b5256-638a-4b9d-a6d7-045347ff081c@googlegroups.com>

Show all headers | View raw


In article <a16b5256-638a-4b9d-a6d7-045347ff081c@googlegroups.com>,
 "K.J.Williams" <lord_kjwilliams@yahoo.com> wrote:

> I wanted to know if you can design a method for a JAVA applet to send data to 
> a PHP server and vice versa (PHP server sends data to the JAVA applet) on the 
> internet, so that either program does something different based on what the 
> data is? 
> 
> Thanks

Not really helpful, but you really can design any sort of Java or php 
program to do anything you want.  The question is why?  Is there some 
application you don't have access to that's written in Java.

Web-based applications have two ways to send data to each other--GET 
with arguments and POST with embedded arguments.  

If you have some separate client/server thing going, then it's an 
interprocess communications thing over a network socket.  Use whatever 
way to code that you know how.  Php has socket functions as I'm sure 
Java does.  You just need to come up with a protocol and design that.

-- 
DeeDee, don't press that button!  DeeDee!  NO!  Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Using PHP and JAVA applets together "K.J.Williams" <lord_kjwilliams@yahoo.com> - 2012-07-20 20:09 -0700
  Re: Using PHP and JAVA applets together Michael Vilain <vilain@NOspamcop.net> - 2012-07-21 00:29 -0700
  Re: Using PHP and JAVA applets together "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-07-23 08:36 +0200
  Re: Using PHP and JAVA applets together Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-07-23 12:08 +0200
  Re: Using PHP and JAVA applets together Denis McMahon <denismfmcmahon@gmail.com> - 2012-07-23 10:46 +0000

csiph-web