aspose file tools*
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
Similar Threads
can rmi be used with servlets?
getting an instance from an application running on different JVM
Did SCJA yesterday
Why use RMI when Socket programming can do it all?
Seeking help abt a Chat application using RMI and Servlets