Dynamic Module Classloading in JXTA
Bri <[email protected]> Tue, 30 Aug 2005 16:07:54 -0300
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Everyone,
I'm new to these lists, so perhaps this question is better
directed at [email protected].
I'm wondering is anyone have had difficulties with dynamic
classloading of modules using the JXTA reference impl. I noticed that
the Reference Classloader (RefJxtaLoader.java) has an essentially
useless implementation for dynamically loading JARs and classes from
URLs which means that a non-standard module based on an advertisement
cannot dynamically load the class code at runtime. The code I am
referring to is at: RefJxtaLoader.java:130. Because of this particular
code, when I try to define a new peer group using a non-default
membership service, the StdPeerGroup doesn't load the membership
service class from my web-server.
Am I missing something here? Thanks in advance for your help. :)
Cheers,
Brian