I would not think about dealing with classloaders directly, you end up in doing that only ;-) because the topic is everything else than trivial.<div><br></div><div>I would rather start introducing OSGi in Yanel, going deeper phase by phase:</div>
<div><br></div><div>phase 1) The complete realm (including yanel) is 1 OSGi bundle</div><div>phase 2) Some resources are added as OSGi bundle</div><div>phase 3) every resources is an OSGi bundle</div><div><br></div><div>Cheers</div>
<div>Balz<br><br><div class="gmail_quote">On Thu, Mar 31, 2011 at 10:42 AM, Michael Wechner <span dir="ltr"><<a href="mailto:michael.wechner@wyona.com">michael.wechner@wyona.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi<br>
<br>
According to<br>
<br>
<a href="http://127.0.0.1:8080/yanel/yanel-website/en/documentation/best-practices/rapid-development-of-components.html" target="_blank">http://127.0.0.1:8080/yanel/yanel-website/en/documentation/best-practices/rapid-development-of-components.html</a><br>

<br>
one can build resources individually and/or needs just to restart Tomcat (if reloadable is set to false).<br>
<br>
Thinking of OSGi based environments (like for example Apache Felix) and how one can update bundles, e.g.<br>
<br>
>g! lb (list bundles)<br>
>g! update <bundle-ID><br>
<br>
it would be nice if  Yanel would also have a similar functionality in order to update (or import) resources<br>
without having to restart Tomcat (or whatever web app server is used).<br>
<br>
I guess we just have to add our own class loader ;-)<br>
<br>
WDYT?<br>
<br>
Cheers<br>
<br>
Michael<br><font color="#888888">
-- <br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com" target="_blank">Yanel-development@wyona.com</a><br>
<a href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development" target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a><br>
</font></blockquote></div><br></div>