Html chat room or Java

How do i create my own private chat room for my website using asp, java or html?
Who is Participating?
bradl3yConnect With a Mentor Commented:
This one uses flash to connect to an IRC channel, looks nice and straight forward:
thebradnetworkConnect With a Mentor Commented:
Here is a list of ASP scripts for chat scripts

Here is a list of JSP (Java Server Pages) chat scripts
alexpercsiConnect With a Mentor Commented:
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.
pwrBallConnect With a Mentor Commented:
Read this article, it has a link to a free chat script, might be what you are looking for.
amodmulayConnect With a Mentor Commented:
Check this out you will get java source along with it
it is opensource. it also has its own UI. you can just call its class from your code
All Courses

From novice to tech pro — start learning today.