The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Java RMI implementations

Posted by Tim W on December 14, 2001 at 7:05 AM

I'm working on developing a client/server application based on Java RMI. The only success that I've had in getting classes to compile/run correctly is to 1) Create an interface that extends java.rmi.Remote and make sure that every method on that interface throws remote exception. 2) Create a class which extends java.rmi.server.UnicastRemoteObject and implements my extension of the Remote interface.

Needless to say, this is very restrictive from the point of view of class or interface inheritance, and I'd be surprised if there wasn't some other means of structuring my classes and interfaces, I just can't manage to figure out what it is.

Anyone have ideas?

Thanks,

Tim W



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us