What is the cleanest way to design methods of remote...
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ted_B
Posted On:   Monday, February 5, 2001 12:19 PM

What is the cleanest way to design methods of remote objects that may return null? Normally, I let the method return null, and the code that calls the method checks for null before using the object that was returned. Unfortunately, this doesn't work with RMI, as if (obj == null) returns false, because the obj references a valid stub which references null.

About | Sitemap | Contact