Re: [OT] Applet communication with web app

2004-03-02 Thread Thad Humphries
We use HTTP/HTTPS.  Our application is a web frontend to a document management 
a workflow system (http://www.mindwrap.com).  As such we move both text and 
binary data between applets and the server, calling both servlets and JSPs 
depending upon the requirement.

On Monday 01 March 2004 23:03, Andrew Hill wrote:
> Quick question:
>
> Given an applet that is part of a web app, what is the usual
> (best/easiest?) technique for said applet to communicate with the server
> and vice-versa:
>
> 1. Handle the socket stuff itself and open a connection with the server
> 2. Use RMI
> 3. Other?
>...


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Applet communication with web app

2004-03-02 Thread Jesse Alexander (KAID 11)
1. -> Which socket? remember firewalls?
2. -> remember firewalls? jdk-compatibility-issues
3. Other
3.a) use http/https to transfer serialized objects
 - jdk-compatibility issues
  b) use http/https to transfer command-strings
 (sort of roll your own serialization, but simplified
  - comand-strings, name/value pairs)
  c) use http/https to transfer XML-messages
why http/https?
- easy 
- firewall-friendly
why limitation to strings?
- less problems with jdk-changes
- easier to test and debug

hope this helps
Aexander


-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 2. März 2004 05:03
To: Struts
Subject: [OT] Applet communication with web app


Quick question:

Given an applet that is part of a web app, what is the usual (best/easiest?)
technique for said applet to communicate with the server and vice-versa:

1. Handle the socket stuff itself and open a connection with the server
2. Use RMI
3. Other?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] Applet communication with web app

2004-03-01 Thread Andrew Hill
Quick question:

Given an applet that is part of a web app, what is the usual (best/easiest?)
technique for said applet to communicate with the server and vice-versa:

1. Handle the socket stuff itself and open a connection with the server
2. Use RMI
3. Other?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]