Presentation is loading. Please wait.

Presentation is loading. Please wait.

----> In Server side dos window

Similar presentations


Presentation on theme: "----> In Server side dos window"— Presentation transcript:

1 ----> In Server side dos window
RMI execution steps ----> In Server side dos window 1> compile serverinterface that extends remote interface 2> compile server class that implements serverinterface 3> rmic serverclass(it will create stub and skeleton ) 4> start rmiregistry 7> execute serverclass ----> in Client side Dos window 5> copy stub and serverinterface.class file in client folder 6> Compile clientclass that will invoke method of sever 8>execute clientclass

2 Steps to execute RMI on server side
C:\Documents and Settings\admin>d: D:\>cd DemoWorld D:\DemoWorld>cd server D:\DemoWorld\server>javac RemoteInterface.java D:\DemoWorld\server>javac ServerImplements.java D:\DemoWorld\server>rmic ServerImplements D:\DemoWorld\server>start rmiregistry D:\DemoWorld\server>javac Server.java D:\DemoWorld\server>java Server Server Started 1

3

4 Steps to execute RMI on client side
D:\DemoWorld\client>javac Client.java D:\DemoWorld\client>java Client Add:5 D:\DemoWorld\client>


Download ppt "----> In Server side dos window"

Similar presentations


Ads by Google