admin@glassfish.java.net

common/amx-api dependency on api/management

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 13 Mar 2008 12:24:48 -0700

Jerome,

On Tuesday you mentioned that common/amx-api depends on api/management
which depends on api/ejb-api which depends on api/transaction and
javax.xml.

In reality, these are false dependencies resulting from the failure to
separate the MEJB component of JSR 77 from the Stats and Statistics
interfaces.

common/amx-api depends on management-api only for the Stats and
Statistics interfaces; it has no dependency on the ManagementHome.

To break this dependency, we can split the api/management module into
two modules: api/management-stats and api/management with the latter
being dependent upon the former.

By so doing, amx-api can depend on api/management-stats alone, and
thus eliminate the indirect (and inapprpriate) dependency on ejb-api.

==> shall I go ahead and break api/management into two modules?

Lloyd