stu nicholls dot com | menu - Professional dropdown #3

Steps for running RMI Program

You are running both the Server and Client programs on the same machine:

set path=C:\j2sdk1.4.0-rc\bin

Step 1: compile all the java programs

1) javac

2) javac

3) javac

4) javac

Step 2: Generate stubs and skeleton

> rmic dollarimp

Step 3: start the rmiregistry

> start rmiregistry [A new blank window will be generated]

Step 4: In a new window

> java dollarserver

Step 5: In another window

> java dollarclient 4


>java dollarclient localhost 4

Our aim is to provide information to the knowledge seekers. 

comments powered by Disqus