<HTML><BODY>Hi all<br><br>Let me first explain what I want to do. I want to have the following tree of JPMS layers:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Site 1 layer<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /<br>WebServer layer - Site M layer<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Site N layer<br><br>As we see WebServer layer has access to all site layers and every site<br>layer has access to WebServer layer. Any site layer can be added<br>and removed dynamically. Every site layer has one .war file and some .jar<br>files.<br><br>For every site I need two java ee technologies: servlets and cdi. So, for servlet container<br>I plan to use Jetty and for cdi container I want to use weld. <br><br>Could anyone answer the following questions:<br>1) can weld be used this way?<br>2) how should I use weld - should I create container for every layer or ...?<br><br>I would appreciate any help and ideas.<br><br>Best regards,&nbsp; Alex Sviridov</BODY></HTML>