I have noticed, that sending about 1100 SampServer Objects (Java objects) from Server to Client, can, in case that you have got a slow internet connection, take multiplee seconds to complete. Since that is the case, i might consider compressing all SampServer Objects on the server side before sending them to the client. The zipping will happen only once at server startup. Instead of sending Seralized SampServer Objects over RMI i will instead send a byte array containing a list of servers.
I have noticed, that sending about 1100 SampServer Objects (Java objects) from Server to Client, can, in case that you have got a slow internet connection, take multiplee seconds to complete. Since that is the case, i might consider compressing all SampServer Objects on the server side before sending them to the client. The zipping will happen only once at server startup. Instead of sending Seralized SampServer Objects over RMI i will instead send a byte array containing a list of servers.
Might come in handy: