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
Author

Sockets/Servlets/RMI

lokesh reddy
Ranch Hand

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

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.
KB
 
I agree. Here's the link: http://aspose.com/file-tools
 
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