<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Folks,<br>
<br>
while working on a minimal modular server I noticed a questionable
dependency from server to embedded. Server only uses types from
embedded in EmbeddedStandAloneServerFactory, which should live in
embedded. Other than that there are no embedded usages in server.
Embedded uses convoluted refection code to access types in server
because it does not have a dependency on it. IMHO, the dependency
direction should be the other way around and </tt><tt><tt>EmbeddedStandAloneServerFactory
should move to embedded</tt>.<br>
<br>
Reversing the order of dependency reduces the transitive graph of
binary dependencies for a minimal server </tt><tt>from 739 to 188
and the download size by 78% to 18MB<br>
<br>
The pull request is: <a
href="https://github.com/jbossas/jboss-as/pull/3425">#3425</a><br>
<br>
cheers<br>
--thomas<br>
</tt>
<pre class="moz-signature" cols="72">--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
JBoss OSGi Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
</pre>
</body>
</html>