Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RMI chat system

843793Jan 30 2003 — edited Feb 11 2003
I've made a basic chat server/client using RMI. The clients register to the rmi registry as well in order to be 'callbacked' from the server whenever some client says something. It works fine but I have some questions.

is rmi appropriate for such an application or should I just use packets to send the data arround ? because I feel that starting 1 rmi service for the server and n rmi services for the n clients is a waste of memmory or cpu ? is that right ? would the system perform well if 500 clients were connected ?

in my windows 98 I start 3 clients in separate dos prompt windows and there is a noticable latency (lag) when the server calls the remote methods of each client. In my university server which runs solaris it worked very very fast. any thoughts ?

finally, how is it possible to start the 'rmiregistry' without having to tell people to run it manually ? is this possible ?

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 11 2003
Added on Jan 30 2003
15 comments
256 views