RE: [PHP] Java Applet to PHP Communication

2003-07-02 Thread Ray Hunter
you want to use either dom or saxon to parse the xml within java. So
your applet can call some class that loads, parses and then does
something with the xml.

Usually you want to use a sax parser for the speed, however you can use
a dom parser to manipulate the dom tree...

--
BigDog


On Wed, 2003-07-02 at 05:02, Sharat Hegde wrote:
> Thanks Justin,
> 
> Do you have any leads on where I can get info on accessing XML data using
> SOAP from a Java Applet. I know how to parse XML data.
> 
> Regards,
> Sharat Hegde
> Phone: 6575800 Ext 4610
> Direct: 6566615
> 
> 
> -Original Message-
> From: justin gruenberg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 02, 2003 1:27 PM
> To: Sharat Hegde
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Java Applet to PHP Communication
> 
> 
> Sharat Hegde wrote:
> 
> >Hello,
> >
> >I need to be able to communicate from a Java Applet to a PHP program on the
> >server to enable "Live Connect" for data. This is what I intend to do:
> >
> >In my web application, a Java Script program will call a Java Applet which
> >then calls the PHP program on the server. The PHP program works like a
> >"servlet" and passes the result back to the Java applet which passes the
> >information back to the JavaScript program.
> >
> >How can a Java applet work with a PHP program? Are there any special
> >precautions / programming issues involved?
> >
> >Thanks in advance
> >
> >With Regards,
> >Sharat
> >
> Not anything that you wouldn't have to pay attention to in passing stuff 
> between applications in other instances.
> 
> I'd use XML/SOAP to pass around the data.  There are many reasons to do 
> this, I wont list them here just because there are plenty of articles on 
> the web advocating the use of XML.  The added bonus is the buzzword factor.
> 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> *
> Disclaimer: The information in this e-mail and any attachments is
> confidential / privileged. It is intended solely for the addressee or
> addressees. If you are not the addressee indicated in this message, you may
> not copy or deliver this message to anyone. In such case, you should destroy
> this message and kindly notify the sender by reply email. Please advise
> immediately if you or your employer does not consent to Internet email for
> messages of this kind.
> *


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



RE: [PHP] Java Applet to PHP Communication

2003-07-02 Thread Sharat Hegde
Thanks Justin,

Do you have any leads on where I can get info on accessing XML data using
SOAP from a Java Applet. I know how to parse XML data.

Regards,
Sharat Hegde
Phone: 6575800 Ext 4610
Direct: 6566615


-Original Message-
From: justin gruenberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 1:27 PM
To: Sharat Hegde
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Java Applet to PHP Communication


Sharat Hegde wrote:

>Hello,
>
>I need to be able to communicate from a Java Applet to a PHP program on the
>server to enable "Live Connect" for data. This is what I intend to do:
>
>In my web application, a Java Script program will call a Java Applet which
>then calls the PHP program on the server. The PHP program works like a
>"servlet" and passes the result back to the Java applet which passes the
>information back to the JavaScript program.
>
>How can a Java applet work with a PHP program? Are there any special
>precautions / programming issues involved?
>
>Thanks in advance
>
>With Regards,
>Sharat
>
Not anything that you wouldn't have to pay attention to in passing stuff 
between applications in other instances.

I'd use XML/SOAP to pass around the data.  There are many reasons to do 
this, I wont list them here just because there are plenty of articles on 
the web advocating the use of XML.  The added bonus is the buzzword factor.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
*
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*

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



Re: [PHP] Java Applet to PHP Communication

2003-07-02 Thread justin gruenberg
Sharat Hegde wrote:

Hello,

I need to be able to communicate from a Java Applet to a PHP program on the
server to enable "Live Connect" for data. This is what I intend to do:
In my web application, a Java Script program will call a Java Applet which
then calls the PHP program on the server. The PHP program works like a
"servlet" and passes the result back to the Java applet which passes the
information back to the JavaScript program.
How can a Java applet work with a PHP program? Are there any special
precautions / programming issues involved?
Thanks in advance

With Regards,
Sharat
Not anything that you wouldn't have to pay attention to in passing stuff 
between applications in other instances.

I'd use XML/SOAP to pass around the data.  There are many reasons to do 
this, I wont list them here just because there are plenty of articles on 
the web advocating the use of XML.  The added bonus is the buzzword factor.



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


[PHP] Java Applet to PHP Communication

2003-07-02 Thread Sharat Hegde
Hello,

I need to be able to communicate from a Java Applet to a PHP program on the
server to enable "Live Connect" for data. This is what I intend to do:

In my web application, a Java Script program will call a Java Applet which
then calls the PHP program on the server. The PHP program works like a
"servlet" and passes the result back to the Java applet which passes the
information back to the JavaScript program.

How can a Java applet work with a PHP program? Are there any special
precautions / programming issues involved?

Thanks in advance

With Regards,
Sharat

*
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*

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