Re: Clarification on firewall issues with Java networking APIs



Qu0ll wrote:
I understand that RMI doesn't play well with the internet because it can't work properly when either the client or the server is behind a proxy unless tunneling is used and that tunneling is slow and prevents callbacks from being used. So I get it that RMI is probably not the network API for me.

It is difficult but possible to get RMI through an opened port in
a firewall.

A proxy server that only knows HTTP seems as a total roadblock for
RMI to me.

And I understand that servlets don't have this problem because they communicate through the standard HTTP port

The proxy server understands HTTP and forward those. Note that in
most cases client/server via HTTP through proxy server will only
work if it is on the client side.

but that servlets don't support callbacks for non-HTML clients. (Feel free to disagree if appropriate).

It is not obvious to me what you mean with callbacks. But most
certainly the servlet does not care what type of client is requesting.

Which leads me back to NIO. Does it suffer the same problems as RMI? Namely, will it play well if the client is behind a proxy?

NIO is an API not a protocol.

Plain sockets (both normal and via NIO) will usually only be able
to go out through a proxy server if they emulate the HTTP protocol.

I you need something network allowable, then look for web services
(SOAP/HTTP).

Arne


.



Relevant Pages

  • Re: Please enter password for HTTP proxy
    ... Web Proxy log: WEBEXTDyyyymmdd.log ... This newsgroup only focuses on SBS technical issues. ... |> on to the SBS server that hosts the ISA. ... |> sure the problematic clients also have Firewall Client installed. ...
    (microsoft.public.windows.server.sbs)
  • Re: Error 49, socket problem?
    ... lo0: flags=8049mtu 16384 ... proxy: HTTP: attempt to connect to 127.0.0.1:81 failed ... based apps on the server fail, yet nothing in /var/log/messages indicating a ...
    (freebsd-net)
  • Re: breaking the model
    ... > The forms data then is in the Request object. ... HTTP Request; in this case, the form POST Request from the Page. ... client and server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Banana Republic (was Re: OpenVMS Book Wins award)
    ... client ... No bollocks HTTP, SOAP, XML, Java, Garbage ... receive messages from any number of server processes who in turn could be ... Unlike TCP/IP and/or UDP Sockets with Java that have been around since ...
    (comp.os.vms)
  • RE: Proxy requires authentication
    ... problem where it is being asked to authenticate to the proxy server. ... sure the problematic client also have Firewall Client installed. ... | Thread-Topic: Proxy requires authentication ...
    (microsoft.public.windows.server.sbs)