I want to make a chat application which will have a desktop client for it. Also, I want that there should be some kind of software on my server which will be responsible for carrying out all the communication part between different users(who are connected throught the desktop client.). I am well versed with the Java programming language but I am not able to sort which technology(like RMI, servlet, webstart,etc.) will be more suited to this project. Please help me out.