Solved

Java Chat

Posted on 2004-08-04
8
643 Views
Last Modified: 2006-11-17
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........
0
Comment
Question by:hema3i
[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
  • 5
8 Comments
 
LVL 30

Accepted Solution

by:
Mayank S earned 150 total points
ID: 11717684
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:

http://java.sun.com/docs/books/tutorial/

Mayank.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 11717753
You can build the UI in Swing. Prefer to use something like JFrame, JEditorPane, etc and not applets.

http://java.sun.com/docs/books/tutorial/uiswing/index.html

http://java.sun.com/docs/books/tutorial/uiswing/learn/index.html

Networking basics:

http://java.sun.com/docs/books/tutorial/networking/

You'll need to look into sockets.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 11717761
If you want to use a DB for storing user-information, you should look into the tutorial for JDBC as well:

http://java.sun.com/docs/books/tutorial/jdbc/
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 30

Expert Comment

by:Mayank S
ID: 11717789
Socket examples:

http://www.javaalmanac.com/egs/java.net/CreateServerSocket.html?l=rel

Have a look at the related examples as well.

The server will need to be multi-threaded:

http://java.sun.com/docs/books/tutorial/essential/threads/index.html
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 11717830
0
 

Expert Comment

by:ctjoumas
ID: 11719257
A good place to start with a server and a client is: http://www.cn-java.com/download/data/book/socket_chat.pdf

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.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Weekend adv creator 3 65
web application structure 18 117
ejb mdb examples 1 22
Eclipse for Java EE development 2 46
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

696 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