Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 422
  • Last Modified:

Html chat room or Java

How do i create my own private chat room for my website using asp, java or html?
0
cartmam114
Asked:
cartmam114
5 Solutions
 
bradl3yCommented:
This one uses flash to connect to an IRC channel, looks nice and straight forward: http://www.everywherechat.com/addachat.php
0
 
thebradnetworkCommented:
Here is a list of ASP scripts for chat scripts

http://www.hotscripts.com/ASP/Scripts_and_Components/Chat_Scripts/index.html

Here is a list of JSP (Java Server Pages) chat scripts

http://www.hotscripts.com/Java/JSP_and_Servlets/Chat_Systems/index.html
0
 
alexpercsiCommented:
If you build it from scratch, it will take a larger arsenal of languages than just one or the other of what you suggested.

The architecture I would go for would use HTML, javascript, ASP (ASP.NET in my case - any other web server technology will do) and a database system (MySQL or SQL Server)

Basically I would keep a table with users and a table of messages.

The messages table would store messages with at least the senderUserID, messageBody and reciepientUserID as fields, with the IDs being values from the unique identifier column in the users table.

Every few seconds, I would have an ASP page query the database for messages that should be delivered to the user.  Once messages are retrieved, they should also be deleted from the table.

When a user types in a message, it is sent to the database and stored in the messages table, with the appropriate sender and reciepient user IDs.

That's pretty much it, in short. Please let me know if you would like me to detail further or if you have any other questions.

Best Regards,
Alex Percsi.
0
 
pwrBallCommented:
Read this article, it has a link to a free chat script, might be what you are looking for.

http://www.2createawebsite.com/enhance/create-chat-room.html
0
 
amodmulayCommented:
Check this out you will get java source along with it
http://chipchat.sourceforge.net/
it is opensource. it also has its own UI. you can just call its class from your code
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now