Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 33917 invoked from network); 17 Mar 2006 09:01:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Mar 2006 09:01:22 -0000 Received: (qmail 31716 invoked by uid 500); 17 Mar 2006 09:01:18 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 31660 invoked by uid 500); 17 Mar 2006 09:01:17 -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 31415 invoked by uid 99); 17 Mar 2006 09:01:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2006 01:01:16 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_00_10,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of james.strachan@gmail.com designates 64.233.182.205 as permitted sender) Received: from [64.233.182.205] (HELO nproxy.gmail.com) (64.233.182.205) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2006 01:01:15 -0800 Received: by nproxy.gmail.com with SMTP id l37so390928nfc for ; Fri, 17 Mar 2006 01:00:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=s9y9kh42C8+PnR9Xw5+r29+wHCWkD0P+Pu+UjwPbRsv7dL9vrR7iMezJDjrg/cydLAFMmokBP7p0gwlB4bsfHNdurcoE6iyEX91PDLRjS+7xuNGGRkDcsXLltM6U23LGa9E+Vluv3hW+19g/lEhh2f0WThtYNARYL03TsV4AkQo= Received: by 10.49.8.1 with SMTP id l1mr1298959nfi; Fri, 17 Mar 2006 01:00:53 -0800 (PST) Received: by 10.48.209.20 with HTTP; Fri, 17 Mar 2006 01:00:53 -0800 (PST) Message-ID: Date: Fri, 17 Mar 2006 09:00:53 +0000 From: "James Strachan" To: dev@geronimo.apache.org Subject: Supporting XBean services within the GBean kernel MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_498_12597606.1142586053768" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_498_12597606.1142586053768 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I fell for the charms of XBean a long time ago; both ActiveMQ and ServiceMi= x have been using it as its primary configuration mechanism for some time. I recently XBean-ified Jetty too which took about an hour and can currently configure most of Jetty. Incidentally there's currently a real simple file system based deployer that can walk the file system building up classpath trees and booting up any XBean or Spring applications it finds. e.g. the following test repository boots up ActiveMQ fully configured via XBean. (This deployer could use some work to be able to deal with service and classpath dependencies, to allow graphs rather than just trees to be used) http://svn.apache.org/repos/asf/geronimo/xbean/trunk/xbean-server/src/test/= repository/ The GBean integration of ActiveMQ has always been pretty simple and limited= ; I"ve always wanted full rich integration where every single transport connector, network connector, journal configuration, thread pool, queue, topic, connection & subscription are all richly available to the GBean kernel & management subsystem etc. We kinda have that today with a combination of XBean and JMX; but it doesn't really integrate yet with the GBean kernel. So I'm wondering if we can put together some kind of GBean facade to XBean; so the current kernel sees the XBean world as just a bunch of GBeans and anything which can deploy in XBean (which includes pretty much every Spring application on the planet) suddenly becomes available nicely into the GBean world. Something like a GBean which boots up the XBean kernel and exposes all the registered services as GBeans would do the trick. It shouldn't be too hard right? A second question is; what to do about JMX. In ActiveMQ we've written a bunch of MBeans so whether you use ActiveMQ in J2SE or J2EE you can point JConsole at the JVM and see all the various stats, queue depths, buffer sizes and so forth. Some of these things are created at deployment time; though most of them come and go as clients connect to the broker and the brokers own runtime state changes e.g. deach connection & subscription has an MBean; clients can create new destinations at runtime etc. How would it be best to integrate those into the GBean infrastructure - or would it be best to just leave them in JMX and let the management portlets just use JMX to access them. -- James ------- http://radio.weblogs.com/0112098/ ------=_Part_498_12597606.1142586053768 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I fell for the charms of XBean a long time ago; both ActiveMQ and ServiceMi= x have been using it as its primary configuration mechanism for some time. = I recently XBean-ified Jetty too which took about an hour and can currently= configure most of Jetty. Incidentally there's currently a real simple file= system based deployer that can walk the file system building up classpath = trees and booting up any XBean or Spring applications it finds.=20 e.g. the following test repository boots up ActiveMQ fully configured via X= Bean. (This deployer could use some work to be able to deal with service an= d classpath dependencies, to allow graphs rather than just trees to be used= )
http://svn.apache.org/repos/asf/geronimo/xbean/= trunk/xbean-server/src/test/repository/

The GBean integration of= ActiveMQ has always been pretty simple and limited; I"ve always wante= d full rich integration where every single transport connector, network con= nector, journal configuration, thread pool, queue, topic, connection & = subscription are all richly available to the GBean kernel & management = subsystem etc. We kinda have that today with a combination of XBean and JMX= ; but it doesn't really integrate yet with the GBean kernel.

So I'm wondering if we can put together some kind of GBean facade t= o XBean; so the current kernel sees the XBean world as just a bunch of GBea= ns and anything which can deploy in XBean (which includes pretty much every= Spring application on the planet) suddenly becomes available nicely into t= he GBean world.

Something like a GBean which boots up the XBean kerne= l and exposes all the registered services as GBeans would do the trick. It = shouldn't be too hard right?

A second question is; what to do about = JMX. In ActiveMQ we've written a bunch of MBeans so whether you use ActiveM= Q in J2SE or J2EE you can point JConsole at the JVM and see all the various= stats, queue depths, buffer sizes and so forth. Some of these things are c= reated at deployment time; though most of them come and go as clients conne= ct to the broker and the brokers own runtime state changes=20 e.g. deach connection & subscription has an MBean; clients can create n= ew destinations at runtime etc. How would it be best to integrate those int= o the GBean infrastructure - or would it be best to just leave them in JMX = and let the management portlets just use JMX to access them.

--

James
-------
http://radio.weblogs.com/0112098/ ------=_Part_498_12597606.1142586053768--