need help about code mobility

Mark Zaini <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <LISTSERV%[email protected]>
Thanks for the advice of reflection to solve my problem...

I have two service,A and B :

Class A{local} extends Class B{remote}


class C

{
    String cls="A"
    ...

    Class resolved=Class.forName(cls,true,classloader);

    ...
}



-If I load the class A(which extends class B) with reflection Where
 could I specify the URL of the remote class B ?

-What classloader can I use to do this? a RMIClassLoader?


Thanks Mark Zaini

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]
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.