This content has been marked as final. Show 2 replies
All the code I have written is not useful as I am unable to use the jar produced out of it because of my problem. I have to make avaliable the stub in jar to RmiRegistry. Can anyone please help me.
Thats because its not able to locate RMI Registry to bind itself.
If you want to use JAR file, its better to use RMIRegistry as an embedded service. You can do this by follwing,
Include LocateRegistry.createRegistry(1099); in your server program before binding your remote object.
Need not to run RMIRegistry service explicitly.- Rajesh