This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes problem while running  RMI program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "problem while running  RMI program " Watch "problem while running  RMI program " New topic

problem while running RMI program

sapana jain
Ranch Hand

Joined: Oct 24, 2007
Posts: 42
i am following all the steps to run my rmi program but putput is not coming.please help............
i have created the following programs........
1. interface exntending Remote (interface name is...AddIntf)
2. class implmenting the above interfaceand extending UniCastRemoteObject(class name is.....Add)

3.a register class (class name is........ Reg)
4.a client program......(class name is...........Client)
i have compiled all the above programs..........
then the class that i have developed in step 2 i have done
rmic Add
then a have started the rmiregistry...........
but not showing the output.............
please help me............
Nitesh Kant

Joined: Feb 25, 2007
Posts: 1638

In your message i can see the last statement as
have started the rmiregistry
Did you run the register and client classes!!!
If yes, then what is the output that you are expecting and is not coming?
Is there any exception?

apigee, a better way to API!
I agree. Here's the link:
subject: problem while running RMI program