Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I let the users to talk with each other over the web?

 
Maryam Nouhnejad
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends,

I need to let the users to talk with each other over the web for a web based application using JSP and servlet. What should I do...??
I've searched google but could not found a source code that let me to add this feature to this project.

Please guide me or introduce some resources on the net...I don't have much time...any idea from your side would be greatly appreciated !

Thanks in advance
[ February 23, 2007: Message edited by: Bear Bibeault ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you say "talk", do you mean voice chat or text chatting?
[ February 23, 2007: Message edited by: Ben Souther ]
 
Maryam Nouhnejad
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry I actually need both; but I don't have problem with text chatting.. I need to know more about "voice chatting."
...any idea? suggestion? resource? ...anything?

Thanks,
Maryam
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java Media Framework is where you will find audio related toolkits.

Bill
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One thing to understand is that that Servlets (and thus JSPs) operate over HTTP which is a stateless protocol.

Voice chat requires a client that can maintain a statefull connection with the server. This means that, to do this with Java, you would need to look into applets.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic