Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 30307 invoked from network); 21 Jul 2005 22:45:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Jul 2005 22:45:53 -0000 Received: (qmail 36582 invoked by uid 500); 21 Jul 2005 22:45:52 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 35855 invoked by uid 500); 21 Jul 2005 22:45:50 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 35842 invoked by uid 99); 21 Jul 2005 22:45:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2005 15:45:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [66.250.40.202] (HELO saturn.opentools.org) (66.250.40.202) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2005 15:45:44 -0700 Received: by saturn.opentools.org (Postfix, from userid 500) id 66D1A3F6A; Thu, 21 Jul 2005 18:52:05 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by saturn.opentools.org (Postfix) with ESMTP id 620EEF36B for ; Thu, 21 Jul 2005 18:52:05 -0400 (EDT) Date: Thu, 21 Jul 2005 18:52:05 -0400 (EDT) From: Aaron Mulder X-X-Sender: ammulder@saturn.opentools.org To: dev@geronimo.apache.org Subject: Re: Management API In-Reply-To: <7b3355cb050718204042bfcb18@mail.gmail.com> Message-ID: References: <7b3355cb050718204042bfcb18@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dain, David J, and I talked about management options on IRC. I put a writeup on the Wiki (top of the page, with the original proposal below): http://wiki.apache.org/geronimo/Geronimo_Management_API I also have an IRC log if anyone cares, but I think the writeup is more coherent. :) Also, to address the JSR-77 point in the message below, this in no way reduces our JSR-77 compliance. It's just adding a "friendlier" option in addition to JSR-77. You can always use pure JSR-77 if you're a masochist (or just really really need portable code). Thanks, Aaron On Mon, 18 Jul 2005, Bruce Snyder wrote: > On 7/16/05, Aaron Mulder wrote: > > So after looking at the web console code and the JSR-77 spec, I > > got the idea in my head that we could use a management API made up of > > actual classes and interfaces, instead of object names and attribute > > names. This is not meant to replace JSR-77 as a portable interface across > > servers and protocols, and not meant to replace GBeans and the Kernel as a > > method to inspect and tweak every last property of any object available in > > any Geronimo configuration. > > > > It is meant to make it easier to develop management tools (such as > > the web console) against the common case of the Geronimo J2EE server. > > > > Anyway, since I've gotten trouble over long e-mails before, I > > wrote up what I have in mind and why I think it's a good idea (compared > > to the management options we have now) on the Wiki: > > > > http://wiki.apache.org/geronimo/Geronimo_Management_API > > Geez, that's just as bad as a long email ;-). > > Taken from the URL above: > > [And if we're going to be reusing code across tools, I would much > rather it be an API layer like this, not copying and pasting kernel > invocations with string arguments and so on.] > > I agree completely and have always thought this when looking at that > code. It just seems very brittle. But I share the same concerns as > David and so I pose these questions: Aren't we just prolonging the > period of instability by continuing to change APIs as it suits us? > What if this work is undertaken and then someone else pops up with a > valid reason to provide strict JSR-77 compliance? > > Also taken from the URL above: > > [Suggestion... create this layer in a reusable(extensible?) manner, to > enable the creation of other G-management APIs applicable when > Geronimo assumes other "personalities" (J2EE subset, J2EE superset, no > J2EE - purely embedded, etc)] > > Couldn't this be accomplished in some way by using the dependency > system provided by the kernel? E.g., upon startup of management > console, check to see if web container X is running; if yes then > deploy the web container X management portlet, else don't deploy it, > etc. Just a thought. > > Bruce > -- > perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E );' > > The Castor Project > http://www.castor.org/ > > Apache Geronimo > http://geronimo.apache.org/ >