Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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


Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI question