| Author |
RMI newbie- can i store some of the libraries to be used via RMI directly on the local machine
|
Arvind Ik Chari
Greenhorn
Joined: Dec 02, 2012
Posts: 13
|
|
Hello all,
I wish to access some code via RMI in Java.
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.
Yours sincerely,
Arvind.
|
 |
Pat Farrell
Rancher
Joined: Aug 11, 2007
Posts: 4422
|
|
There is a very simple solution: don't use RMI
Simply send messages. Encode them as you wish, JSON is a popular choice.
|
 |
Jenny Richards
Greenhorn
Joined: Feb 16, 2013
Posts: 1
|
|
RMI will be a long procedure. So go for sending message only.
http://feelday.com/
|
 |
Mr. C Lamont Gilbert
Ranch Hand
Joined: Oct 05, 2001
Posts: 1170
|
|
|
Yes, you can and should.
|
 |
 |
|
|
subject: RMI newbie- can i store some of the libraries to be used via RMI directly on the local machine
|
|
|