Click here to Skip to main content
15,885,900 members
Articles / Programming Languages / C#
Article

JMessenger

Rate me:
Please Sign up or sign in to vote.
1.87/5 (9 votes)
29 Sep 20073 min read 39.8K   2.5K   11   9
This is a Java Based Client-Server Chatting application

Introduction

"A Human Being is a SOCIAL animal "

We Human Being are always engaged in exchange of feelings and information. When ever we get together. We communicate even when there is nothing to say.

Sometimes we even communicate to a total stranger too. We can experience this when are traveling.

Background

JMessenger is conceptualized and is based on the Communication nature of Human Being and is an attempt to make the communication better.

JMessenger is a project for the Students Community, to help them stay in touch by being far but are connected to the common connection. JMessenger helps the students to stay connected in a Feasible and Economical way.

"JMessenger" is a combination of two words "J" stands Java because of the platform used to build and "Messenger" because it helps in communication.

Using the code

JMessenger mainly consists of 2 modules


> Server Module

> Client Module

The Server Module is mainly concerned with the administration part and handles All the activities of JMessenger

The Client Module provides the interface for the client using which he can get himself connected to the Server and would be able to community with other active users

Server Module

The Server is concerned with various activities other than helping clients to communicate with each other.

Its activities are classified into 5 parts :

1 Start/Stop Server

2 Enable/Disable Logging

3 View Log

4 Clear Log

5 List Active Users

Start/Stop Server options lets you to start up or stop the server. The clients would be able to connect to Server and communicate with others only when

the Server is running. When the Server is shut down all the clients connected to the Server are automatically logged out and would not be able to communicate any further.

The Enable/Disable Logging is a way to help the Administrator to keep track the proceedings and all the proceedings are recorded in a Log file

The View Log options helps the Administrator to view the Log File which records all the proceedings.

The Clear Log options is used to clear the proceedings which where recorded earlier in the Log File.

The View Users options lets the Administrator to view all the clients who are actively connected to the Server

Screenshot - Server-1.jpg

Screenshot - Server-2.jpg

Client Module

Client Module provides the interface to the clients trough which they can get themselves connected to the Serve and would be able to communicate with others.

Clients Module provides the clients with two option for communication

1 Global Chat

2 Private Chat

Global Chat is an option where the client can communicate with all the other active users who are now connected with the Server.

Private Chat is an option for the client to communicate with a particular client who is now actively connected to the Server. Private Chat is done through a separate interface which connects the 2 actively participating clients. Private Chat is not visible to all other Clients who are connected to the Server.

Screenshot - Client-1.jpg

Screenshot - Client-2.jpg

Screenshot - Client-3.jpg

Points of Interest

Important points to remember don't forget to change the name of the server and client module after downloading. Rename "JMessengerServer_jar.zip" to "JMessengerServer.jar" and
"JMessengerClient_jar.zip" to "JMessengerClient.jar".

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer India
India India
This is Govardhana Reddy, i am here to explore this world of INTERNET. I feel this is one way through which i can explore this world of INTERNET.

I want to be one among the best in this profession (a Software Developer, not a Software Engineer its a bit Controversial.) if not the "BEST"

My definition of a Software Engineer : "A person who knows what to cut/copy and where to paste".

Apart from my technical stuff I love Long Drives, Computer Gaming, Sports, Bikes and much more to say.

Anyways long road ahead keep me accompanied...

Comments and Discussions

 
QuestionHow to run those .zip files? Pin
Milankumar9427-Mar-13 2:51
Milankumar9427-Mar-13 2:51 
Questionsteps Pin
BBAALLDDEEVV18-Sep-12 0:28
BBAALLDDEEVV18-Sep-12 0:28 
GeneralSource Code Pin
selezovic6-Apr-08 3:19
selezovic6-Apr-08 3:19 
GeneralNeed Source Pin
superda17-Oct-07 20:09
superda17-Oct-07 20:09 
Generaljava needs codeproject Pin
ozkan.pakdil29-Sep-07 23:43
ozkan.pakdil29-Sep-07 23:43 
GeneralRe: java needs codeproject Pin
Govardhana Reddy29-Sep-07 23:45
professionalGovardhana Reddy29-Sep-07 23:45 
GeneralJava is Pin
Efi Merdler29-Sep-07 21:54
Efi Merdler29-Sep-07 21:54 
GeneralRe: Java is Pin
Govardhana Reddy29-Sep-07 23:44
professionalGovardhana Reddy29-Sep-07 23:44 
GeneralRe: Java is Pin
frag_nicht27-Feb-11 12:43
frag_nicht27-Feb-11 12:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.