Hi, I would like to know, which of these technologies is best for writing a chat application. Sockets, Servlets, RMI. If possible, i would like to know the reason behind that. I hope i find a solution for my query. Bye. Loke.
posted 15 years ago
All have advantages and disadvantages. It depends on the environment that the program will run, for example if it is intranet then I would suggest -sockets. If it is internet then I would suggest servlets cause socket connections are not accepted by firewalls by default. I hope this gives you a hint to get started. KB