[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: transfer files accross different JVM using RMI
I had to implement a similar module to send large files using RMI. I had to
think various ways of doing that. Used RMI was the only solution, as only
one port (the RMI port) was enabled for the outer world.
The file is divided into blocks of 1KB, and sent over to the server block by
block, which is by calling the RMI method in a loop. Had to implement a
buffering mechanism (basically a Hashtable, which contains the
FileInputStream) on the server side.
Hope this would be of some help,
Regards,
Vikas Varma
----- Original Message -----
From: "linda fan" <lxfan_2000@yahoo.com>
To: <ajug-members@www.ajug.org>
Sent: Wednesday, April 17, 2002 2:12 PM
Subject: transfer files accross different JVM using RMI
> Hi,
> Is it possible to transfer files to another JVM using
> RMI without using FTP or HTTP protocol?
> Thanks in advance!
>
> Linda
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
>
>