The moose likes Distributed Java and the fly likes problem while running  RMI program Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "problem while running  RMI program " Watch "problem while running  RMI program " New topic
Author

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)
then
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
Bartender

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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: problem while running RMI program
 
Similar Threads
RMI problem
codebase problem
ClassCastException on client.main
how to get Clients CPU information on Server using Java RMI
RMI using Proxy classes