admin@glassfish.java.net

Re: common/amx-api dependency on api/management

From: Lloyd Chambers <lloyd.chambers_at_mac.com>
Date: Thu, 13 Mar 2008 12:27:13 -0700

Package separation seems to be OK:

javax.management.j2ee for the MEJB crap
javax.management.j2ee.statistics for the interfaces needed by AMX









On Mar 13, 2008, at 12:24 PM, Lloyd L Chambers wrote:

> 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
>
>
>
>




pastedGraphic.png
(image/png attachment: pastedGraphic.png)