Hi
I have programmed a server which with a implements a network interface,
in corba, and after doing a test I found that corba is really slow (10
seconds corba processing and 0.6 seconds client/server processing).
So as a test I thought I'd try the same interface in RMI, but after
testing it I is actually slower. So I am wondering if I have set up the
RMI server/client correctly, since I know RMI also support RMI over
IIOP, which of course would be just as slow as CORBA.
The client is with
QueryInterface server =
(QueryInterface) Naming.lookup("//127.0.0.1/Query");
server.query(String[], string[], float[]);
the server is
public class QueryImpl extends UnicastRemoteObject
implements QueryInterface {
....
Naming.rebind("//127.0.0.1/Query", this);
I am using serialization here right? not IIOP. And whjy is it actually
slower than corba, anybody got any ideas?
regards
tom


|