• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Seeking help abt a Chat application using RMI and Servlets  RSS feed

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi frienz!
1. I would like to know about how to develop a chat application using RMI and Servlets.
2. I would like to know the advantages of developing such an application over a chat application developed using an applet as a client and a server using sockets.
Kris.
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read http://www.javaranch.com/name.jsp and re-register with a name that conforms. We would like you to be able to continue to post here at JavaRanch.
Matthew Phillips
 
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What a coincidence, one of the permutations of a chat application in my book uses RMI and servlets. It works just fine.
Advantages over the applet approach - your client does not have to download an applet, any browser will work. With the actual chat application running as a separate process that the servlet talks to with RMI, your chat could include other clients that are not linked by HTTP.
Bill
------------------
author of:
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!