Use RMI to achieve parallelism?
I want to distribute array sorting works to two machines. I am now doing in this way :-
First of all, I try to divide the array into two small arrays and pass them to two machines, then invoke the RMI sorting function in each machine. After that, I get two sorted arrays and then merge them into single sorted array.
Here my questions :-
1) In order to achieve parallelism, should I need to write a multi-threading client so that both RMI sorting functions can run simultanously? How can I do this? I think it will involve complex remote objects coordination.... right? Where can I find some sample codes?
2) Any technique to minimize the array spliting and merging works?
1000 thanks!
Alan

