Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Java Chat

Posted on 2004-08-04
8
Medium Priority
?
647 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 600 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
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 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
 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

618 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