Talk:Java remote method invocation

Steps to executing the RMI Programme into your computer machine
Here I'm giving steps which is follow to execute the RMI Programme into our local machine:-

1). Compile Interface File, Server File, Client File and Registry File with your JDK softee. ex.      javac *.java

2). Use RMIC command for creting Stubs and Skeleton.

rmic serverFile Name

3). Start RMI regisetry which is the part of yur JDK Softeee.

JDK path's in your machine:-

C:/ProgrameFiles/JAVA/Jdk1.6.0/bin/rmiregistry.exe

Allow your firewall to allow that particular application for run it execution..

start rmiregistry (a command prompt will be open which having blank screen)

4). Run that Registry File.

java registerIT.java

5). After that open new command Prompt

6). The enter this command into your command promt

C:/> java.exe -Djava.security.policy=registerIT.policy Client File Name (*HelloClient)

Note:-

Here I'm writing HelloClient due to my client file name start with "HelloClient" —Preceding unsigned comment added by Aaditya025 (talk • contribs) 06:38, 1 September 2010 (UTC)

Example: Java conventions
Just noticed in the example the use of the name "RmiServerIntf" for an Interface. Shouldn't it be replace by "IRmiServer" or something? 178.1.248.111 (talk) 13:03, 5 August 2012 (UTC)