On 4=D4=C221=C8=D5, =C9=CF=CE=E72=CA=B104=B7=D6, Tom Forsmo
<s...@[EMAIL PROTECTED]
> wrote:
> 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 sup****t RMI over
> IIOP, which of course would be just as slow as CORBA.
>
> The client is with
>
> QueryInterface server =3D
> (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
i am caring ahout this question .if you get any idea ,please let me
know .thanhsk in advance


|