NOTE : : : TO RUN THIS FIRST PUT ALL FILES TOGETHER IF YOU WANT TO RUN THIS ON SINGLE MACHINE. IF YOU WANT TO RUN ON DIFFERENT MACHINES SEPARATE CLIENT AND SERVER FILES CLIENT FILES : Client.java , Addint.java . SERVER FILES: Server.java , Addint.java , Addimpl.java COMPILE ALL JAVA FILES. THEN ON CMD RUN : rmic Addimpl check whether Addimpl_Stub.class is created or not. (don't worry about warning) THEN RUN ON SEPARATE CMD " start rmiregistry 2345" (2345 IS PORT NUMBER) AFTER SUCCESSFUL STARTING REGISTRY START Server and then Client file
OUTPUT:First run Server and then run client.
OUTPUT:First start server and then client and give full path of file if file is in other directory. if file is in same dir then just give file name..
OUTPUT::
This is simple chat application in which client must have to send first message. this is a simpler version of chat application i will upload multi threaded version later. Note: First run Server.java file and in other separate cmd run other Client file.
OUTPUT: |
Hello friends, i am a CSE student and i am going to upload all the programs of various language which might be in your collage practical list or might help you in performing your practicals in lab. ArchivesCategories |