It's not a secret anymore!
The moose likes Servlets and the fly likes Sockets/Servlets/RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Sockets/Servlets/RMI" Watch "Sockets/Servlets/RMI" New topic


lokesh reddy
Ranch Hand

Joined: Sep 15, 2000
Posts: 66
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.
Kruger Brent

Joined: Jan 05, 2001
Posts: 26
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.
I agree. Here's the link:
subject: Sockets/Servlets/RMI
It's not a secret anymore!