Skip to content

freemanpivo/rmi_JAVA_chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RMI - Chat App

1. Dependencies

  • Java
  • RMI

2. Setup RMI files

Clone the repository:

$ git clone https://github.com/freemanpivo/rmi_JAVA_chat.git

Enter bin/ folder:

$ cd rmi_chat/bin/

Compile RMI ChatClient

$ rmic com.client.ChatClient

Compile RMI ChatServer

$ rmic com.server.ChatServer

Open RMI registry

$ rmiregistry

3. Start Server

Open another tab in your terminal and certifies that you are into bin/ folder.

$ cd rmi_chat/bin/

Start the server.

$ java com.server.ServerDriver

4. Start a Client

Open another tab in your terminal and certifies that you are into bin/ folder.

$ cd rmi_chat/bin/

Start a Client with your name.

$ java com.client.ClientDriver YOUR_NAME_HERE

Now you can write things into the terminal! So, if you want to talk to someone else, you need to open a new tab and redo the steps described in this section.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages