Does RMI work through firewall?
How can I make it work?
What is the best way to pass file on the other machine and pass firewall
without problems?
Is URLConnection good for this purpose?

If that is a credit card info will it be secure to pass the file or string
through RMI or CORBA distributed object or by using sockets or URL objects?