Blog Navigation
Partners
Latest Activity
Phil explains how to use the old telephone tones to wane off telemarketers!
Java RMI Chat Server and Client Implementation
It has been a while since I’ve done any sort of real coding for my website and I’ve been meaning to go back and post some of my old projects that work really well and show what is really good code. Today I’ve decided to bring attention to my RMI chat client and server that I wrote for a class about 2 years ago now. I recently had to refer to myself when implementing RMI code in another project and was hard pressed to find my old project. Since my site is an archive of my work for the future, I thought that it might be appropriate to post this code now.
First, to compile Java code, you need to get the Java development kit (JDK) from Oracle’s Java Download Page. Then you need to run the command “javac” on all the .java files to get the .class files. Finally to invoke the code, you need to make use of the Java command. I’ve tested this project on both Windows and Linux and both work fine, both locally and over a remote network link. Although I’m not going to guarantee support for this code, you may feel free to email me (contact page) if you’d like some help beyond what the readme file says.
You may get the code from here: http://famousphil.com/wp-content/uploads/2011/02/RMIChatServer.zip
Tags: chat, client, java, Programming, rmi, server
Posted in Programming
programing rmi in java