?
Solved

Chat Room Setup

Posted on 1998-08-06
6
Medium Priority
?
356 Views
Last Modified: 2013-12-25
I would like to know how is a chat room set up on the internet. Is it done so by using programming langanges like
CGI? Can it be done using Java, etc? Can anyone kindly advice me on that. Thankss
0
Comment
Question by:khan_yew
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 2

Expert Comment

by:SirCaleb
ID: 1858846
CGI would be an awkward way of doing so....Java is the most efficient way to do it.  There is a Java chat room already out there for use.  It does have some advertising on it but have a look anyway...maybe this can save you the hassle of having to totally re-write one.  And you can put this on ANY WEB PAGE!

Here is the place where you can get the chat room:
http://www.parachat.com/

This is that Java Chat on somebody's webpage:
http://members.xoom.com/RipFire/chat.html

Hope this helps you.
0
 

Author Comment

by:khan_yew
ID: 1858847
Yes, I know that Chat Setup can be gotten free on the Internet, as I have found another web site at www.beseen.com that gives free chat room. However, I want to know the way to write the code, etc. any ideas?
0
 
LVL 2

Expert Comment

by:SirCaleb
ID: 1858848
You could try downloading that Java Applet from Parachat and maybe "decompile" it, if that is possible...I'm not sure if you can "decompile" Java...not my specialty  :-)
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 2

Accepted Solution

by:
gravity earned 200 total points
ID: 1858849
To write a chat room, you need two parts: The client, which is the end which the user types into, displays and everything, and the server, which handles all the requests, and sends the messages to the client.
Java would be a good start for the client end, and although you could write a server in Java, I would be more inclined to write the server in C++.
Now comes the tricky part... connecting them, but if you use the Java Develpment Kit (JDK), this comes with include files that can handle this.
The server is the more complicated part of the two. It must have an open or closed file status, to which the client sends the chat messages. Picture this:
Client one sends a message to the server at the same time as client two does. Result ends up with garbled text being returned to the client, as the two messages are combined.
Solution:
Set up a locked/unlocked status for your server that puts the clients request into a que as each client asks for the message to be sent.

I hope this gives you a brief overview of the sheer complexities of chat rooms.

Gravity.
0
 

Author Comment

by:khan_yew
ID: 1858850
Thanks for the infomation, but I don't think I want to do that stuff.
0
 
LVL 2

Expert Comment

by:gravity
ID: 1858851
I thought that I would want to make a chat room as well once... then I realised what was involved...

0

Featured Post

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This video teaches users how to migrate an existing Wordpress website to a new domain.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question