What is the best machanism to transfer files in a WAN and how can we achieve it through java.
Through
Socket Programing,
Apache commons Ftp server & client
or through RMI
Printable View
What is the best machanism to transfer files in a WAN and how can we achieve it through java.
Through
Socket Programing,
Apache commons Ftp server & client
or through RMI
Maybe a torrent is nice to use.
kind regards,
Jos
thats great answer i love it ., wow how brilliant you are :p
Ha! Well, I have had good luck with straight TCP. If you're talking file transfer that is. Its easy to write a client/server combo that will allow file transfer like this, and it is fast (as fast as your connection assuming you use large buffers). If you mean for communication, then RMI is great, although a little complicated for basic use. I prefer Object Serialization most of the time, and then code a simple communication package. This is handy for text messages, simple commands, coords or flags, etc...