Re: Need help about code mobility

Dan Creswell <[email protected]>
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
Andrea Angeloni wrote:
> Hello, Gregg!
> You wrote to "Andrea Angeloni" <[email protected]> on Thu, 04 May 2006
> 08:40:26 -0500:
>
> GW> As Dan said, this code, has to executing within the confines of a
>
> Thanks for the example. It clarifies me further what I was suspecting.
>
> Before your and Dan's explanations I thought  RMI codebase property
> specification as a true classpath extension of an application. After Dan's

Do you think this mistaken understanding of RMI codebase is common?
Asked another way, do you think a lot of programmers view codebase like
this?

> answers, I've guessed something like your tip: I've already used dynamic
> classloading (URLClassloader) for downloading classes from a class
> repository in a general java developing field (where RMI is not present); I

Okay, so just an FYI:

I'd suggest you check out the JavaDoc for
net.jini.loader.pref.PreferredClassLoader which provides some additional
useful behaviours that URLClassLoader doesn't have.

> thought that in RMI this could be been unnecessary because of the presence
> of a default use of RMIClassLoader. Instead of RMIClassLoader, producers
> and
> consumers are resolved by default classloader. This is obvious (now).
>

Glad we got it sorted!

Best wishes,

Dan.

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

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.