Skip to content

Nikolow/simple-java-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Description

This is a simple Chat Server-Client without any GUI.

Image

Functionality

  • DB Connection

Using: JDBC Driver

Init function: Create tables if they do not exist


  • Server

Using: ServerSocket

Functions: Login, Register, Last Messages, Help Text, Commands


  • Client

Using: ServerSocket

Functions: Send Message / Command, Read Message

Image

Function: Login

  • Validations
  • Check and get last messages to the account after login

Image

Function: Logout

  • Validation
  • Simple command

Image

Function: Last Messages

  • Simple query with limit
  • Print the messages in DESC

Image

Function: List

  • Show online users logged in

Image

Function: Help Text

  • Show the text on each login
  • Show usage of the commands

Image

Function: Commands

  • Command: Login -> Login Function
  • Command: Logout -> Logout Function
  • Command: List -> Online Users
  • Command: History -> Last Messages with limit
  • Command: Help -> Help Text
  • Send Messages

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages