Multiple codebase and inheritance

Andrea Angeloni <[email protected]> Wed, 3 May 2006 16:37:11 +0200
Newsgroups gmane.comp.java.sun.rmi
Message-ID <001001c66ebf$109ea880$a8f1fea9@omino>
Hi, this is my first message to this mailing list.

I'm studying, in my thesis, the use of inheritance in distributed systems.
I've found some RMI-based technologies, like Jini and JavaSpaces, very
interesting for my work.

I've found the feature of dynamic class downloading in RMI (using
RMIClassloader in RMI internals, I think).

The question: suppose I have a codebase defined as

-Djava.rmi.server.codebase="http://site1/A/ http://site2/B/"

I have a client that, according to this codebase, downloads classes from A
and B.

The question: can a class x located in B have relationships with a class y
in A (x uses objects of y type)? In particular, can x extend y? Can the
RMIClassloader, in the client call, "resolve" an inheritance relationship
between remote locations?


Thanks, Andrea

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html