Skip to content

A centralized chat application built in Java, using Corba for communication.

Notifications You must be signed in to change notification settings

rahulduttt/java-chat-corba

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#java-chat-corba

A simple chat system using Java and CORBA. This was built quickly for an assignment and isn't expected to be updated at any point in the future. As such, there is no documentation or testing, and probably never will be.

Setup

  1. Run orbd -ORBInitialPort 1050
  2. Move to the director containing Conn.idl and run idlj -fall Conn.idl
  3. Build and run ConnServer in IntelliJ with arugments -ORBInitialPort 1050 -ORBInitialHost localhost
  4. Build and run any number of ConnClient in IntelliJ with arguments -ORBInitialPort 1050 -ORBInitialHost localhost

If you want to build the program outside of IntelliJ, some information can be found here: https://docs.oracle.com/javase/7/docs/technotes/guides/idl/jidlExample.html

Chat Commands

The following special chat commands exist:

  • /create foo creates a chat room named foo
  • /join foo joins a chat room named foo
  • /leave leaves the current chat room
  • /list lists all chat rooms
  • /name foo changes the client name to foo
  • /help lists all commands
  • /quit quits the program

Any other text is sent as a message to the current chat room.

About

A centralized chat application built in Java, using Corba for communication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%