-----Original Message-----
From: Thompson, Willard (GTICCC)
Sent: Wednesday, September 13, 2000 9:02 AM
To: 'Kevin Jones'
Subject: RE: Servlet to Applet Dynamic Updating


Thanks so much Kevin.  So by client-side socket you mean set up a Socket
type component within my applet?  Furthermore, this is not going to be on
the Internet it's just in a LAN so I wouldn't have to worry about firewalls.
Because of this would I still use java.net.HttpURLConnection?  Finally,
could I get rid of the applet part in my system and just use a servlet to
display real time graphs and charts on a client-side computer or would I
need an applet for the necessary GUI's?

WT

-----Original Message-----
From: Kevin Jones [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 13, 2000 8:38 AM
To: [EMAIL PROTECTED]
Subject: RE: Servlet to Applet Dynamic Updating


You can't open a server-side socket in an Applet. You can open a client-side
socket and read from the server (or have the server write to you), however,
the problem then becomes the port you want to use.

If the server sits behind a firewall, it may only allow incoming connections
on port 80 (http), so you'll probably need to talk to a servlet/jsp/asp/cgi
script, and if you are going to do this you may as well use
java.net.HttpURLConnection.

BTW, this as nothing to do wth servlets and shouldn't really be posted to
this list :-)

Kevin Jones
DevelopMentor
www.develop.com

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Willard Thompson
> Sent: 13 September 2000 13:51
> To: [EMAIL PROTECTED]
> Subject: Servlet to Applet Dynamic Updating
>
>
> Hello,
>
> I was wondering how to dynamically update a chart within an applet in real
> time?  Would you use the java.net.*; package and open a streaming
> socket???
> Would applet/browser security allow that??
>
> Sincerely,
> Willard Thompson
> Software Engineer
> 860.896.6050
> [EMAIL PROTECTED]
> Gerber Technology, Inc.
> www.gerbertechnology.com
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to