Java Chat

Hi i'm working in a new project chat
i want some help in that the idea not clear in my mind
could any one describe me the Architucure for chat
Server/Client what the client applet should do and what
is the server i want to use Pure java for client and server
could any one give me a sample or something like that

also i'll include voice chat so if also any one could help me with just a start in that it will be gr8 and thanks for u........
Who is Participating?
Mayank SConnect With a Mentor Associate Director - Product EngineeringCommented:
Hi Hema,

Is it necessary for you to do this using Applets? You'll face some security restrictions while doing that in Applets, for which you might need to sign the Applet.

Is this supposed to be something used over the Internet or just within a LAN?

How much experienced are you in Java programming and what's your experience with sockets?

If you're a beginner, you should go through:

Mayank SAssociate Director - Product EngineeringCommented:
You can build the UI in Swing. Prefer to use something like JFrame, JEditorPane, etc and not applets.

Networking basics:

You'll need to look into sockets.
Mayank SAssociate Director - Product EngineeringCommented:
If you want to use a DB for storing user-information, you should look into the tutorial for JDBC as well:
The new generation of project management tools

With’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Mayank SAssociate Director - Product EngineeringCommented:
Socket examples:

Have a look at the related examples as well.

The server will need to be multi-threaded:
Mayank SAssociate Director - Product EngineeringCommented:
A good place to start with a server and a client is:

For some reason the domain is giving a Forbidden error.  If you see that, try again later and it should be up.  It is a very good resource and helped me out immensely in getting my java chat application off the ground.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.