Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Help > RMI setup/perfo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 15996 of 16078
Post > Topic >>

RMI setup/performance

by Tom Forsmo <spam@[EMAIL PROTECTED] > Apr 20, 2008 at 08:04 PM

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




 5 Posts in Topic:
RMI setup/performance
Tom Forsmo <spam@[EMAI  2008-04-20 20:04:33 
Re: RMI setup/performance
xinxin <jnzhouxinxin@[  2008-04-21 06:36:08 
Re: RMI setup/performance
RedGrittyBrick <RedGri  2008-04-21 16:56:34 
Re: RMI setup/performance
Lew <lew@[EMAIL PROTEC  2008-04-21 20:05:26 
Re: RMI setup/performance
xinxin <jnzhouxinxin@[  2008-04-21 17:51:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 23:52:19 CDT 2008.