Now, some of the libraries which are used by the code (that will be used by client after being retrieved from server using RMI) are quite large in size and bandwidth of client machines is limited.
Hence, what I wish to do is--copy the libraries (some of them--> the ones that are large in size) directly in the client machine beforehand. And later, when the client wants to run some code via RMI--> it simply downloads the relevant code portions--using the libraries that are already present in client beforehand.
Is such a setup/config possible in RMI? How do I implement the same? If this is not possible, is there some other way to reduce the code that is actually transmitted using RMI, to the barest minimum possible.