Hi,
I'm having some problems figuring out, what would be the easiest way to
send binary data from an applet to a servlet, with a third servlet in
between as a gateway. I was thinking if this could be implemented with
RMI, as it seems like a clean solution, but as it's a pain with
firewalls and netscape/IE doesn't really support it, I can't use it.

My second thought was doing it over a clean URLconnection, but this
approach have a few problems I don't now how to solve. A few servlets
need to broadcast data to all clients connected to that specific
servlet, but I don't know how to get the connections/sockets of all the
clients connected. Another problem is that I need to know from which IPs
these clients are connected to send the response to the right gateway,
as there are more than one gateway... Anyway, with these problems solved
I would use this method. Also I like this clean binary transfer model,
as all my previous network programming has been done in C :)

Well I've never had to play around with applets and servlets in a
situation like this, so I've never stumbled across these problems
before, but any help/ideas would be welcome.

Thanks
Edvard Fagerholm

___________________________________________________________________________
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