Improve fastness in RMI application

Hi,

I have developed a chat application using RMI. My chat application has features like room chatting, personal chatting, conference chatting. There are no permanent users. I am storing the users in a hashtable.

My application is becoming slow when I try to open any windows like personal windows(to chat personally with other users), conference windows.

Can anyone give me a solution to overcome this problem?

Thanks in advance.

Savitha

[483 byte] By [savita_gomatam] at [2007-9-26 2:04:19]
# 1

Is your app running slow just when opening those windows for the first time? Or any time you redisplay them? If the latter, then you need to cache the values of the RMI calls locally so you don't make unnecessary calls over the wire. RMI is not exactly a blazingly quick protocol, but I suspect it should work fine for a small chatting application.

Kirk

kswoll at 2007-6-29 8:48:06 > top of Java-index,Archived Forums,Java Programming...