#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.
- Run
orbd -ORBInitialPort 1050
- Move to the director containing
Conn.idl
and runidlj -fall Conn.idl
- Build and run
ConnServer
in IntelliJ with arugments-ORBInitialPort 1050 -ORBInitialHost localhost
- 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
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.