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


Groups > comp.lang.php > #6640

Re: Using PHP and JAVA applets together

From "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid>
Newsgroups comp.lang.php
Subject Re: Using PHP and JAVA applets together
Date 2012-07-23 08:36 +0200
Organization http://alvaro.es/
Message-ID <juirch$rre$1@dont-email.me> (permalink)
References <a16b5256-638a-4b9d-a6d7-045347ff081c@googlegroups.com>

Show all headers | View raw


El 21/07/2012 5:09, K.J.Williams escribió/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?

Not sure of what you mean with "together", given that Java applets run 
on top of a browser and PHP scripts typically run on top of a web server 
(never a browser) but short answer is "yes, you can". But it's important 
to understand that the way HTTP is designed makes it impossible to 
*start* a connection from the server. If you need to communicate with 
the browser, you must start the connection from Java.


-- 
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--

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