Module framework other than OSGI, EJB(not really) and Impala
<p>I am interested in looking at module frameworks that support many of the goals of OSGI such as:</p>

<ul>
<li>a module can be restart/replaced</li>
<li>a module can hide classes and control what is exported.</li>
</ul>

<p>Impala: </p>

<p>Seems quite interesting but seems tightly coupled to the Spring Framework which amonst other things means i am sucking in a lot of dependencies which become globally shared ( could be wrong about the last point).</p>

<p>Are there any other frameworks or libraries that offer the above features with minimal dependencies ? </p>

<p>It would be great if any supported the ability to set a security manager for that module so each module has different abilities.</p>
