Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Seeking help abt a Chat application using RMI and Servlets

 
kris reddy
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.
 
Matthew Phillips
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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
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:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic