This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes RMI question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "RMI question" Watch "RMI question" New topic
Author

RMI question

Albert van Weperen
Greenhorn

Joined: Nov 10, 2007
Posts: 2
Hi,

The code below gives "variable y of class1 is null" instead of "variable y of class1 is FromMyRemoteImpl". Could somebody explain this to me?
Thanks.

Vinicius Florentino
Greenhorn

Joined: Feb 26, 2008
Posts: 16
Hi It is static? remove that and will work. =]
Eric Ushie
Ranch Hand

Joined: Dec 01, 2005
Posts: 31
Just in case there was an oversight, did you start the server before trying to connect to it?
Albert van Weperen
Greenhorn

Joined: Nov 10, 2007
Posts: 2
Thanks for your reactions.
It is working now.

Bye,
Albert
 
GeeCON Prague 2014
 
subject: RMI question