Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 65879 invoked from network); 25 Mar 2004 16:47:39 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Mar 2004 16:47:39 -0000 Received: (qmail 14168 invoked by uid 500); 25 Mar 2004 16:46:32 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 14097 invoked by uid 500); 25 Mar 2004 16:46:32 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 14008 invoked from network); 25 Mar 2004 16:46:31 -0000 Received: from unknown (HELO pd2mo2so.prod.shaw.ca) (24.71.223.10) by daedalus.apache.org with SMTP; 25 Mar 2004 16:46:31 -0000 Received: from pd3mr6so.prod.shaw.ca (pd3mr6so-qfe3.prod.shaw.ca [10.0.141.21]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HV500E2658LKU@l-daemon> for dev@cocoon.apache.org; Thu, 25 Mar 2004 09:45:57 -0700 (MST) Received: from pn2ml1so.prod.shaw.ca ([10.0.121.145]) by pd3mr6so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0HV5008DG58QTPE0@pd3mr6so.prod.shaw.ca> for dev@cocoon.apache.org; Thu, 25 Mar 2004 09:46:02 -0700 (MST) Received: from [192.168.3.200] ([24.108.184.249]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HV500H8S58KJQ@l-daemon> for dev@cocoon.apache.org; Thu, 25 Mar 2004 09:45:57 -0700 (MST) Date: Thu, 25 Mar 2004 08:45:56 -0800 From: Thor Heinrichs-Wolpert Subject: Re: [RT] On building on stone In-reply-to: <4062F7B5.6030509@apache.org> To: dev@cocoon.apache.org Message-id: MIME-version: 1.0 X-Mailer: Apple Mail (2.613) Content-type: text/plain; format=flowed; charset=US-ASCII Content-transfer-encoding: 7BIT References: <40603ACA.2070303@apache.org> <4062F7B5.6030509@apache.org> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Possibly, but JMX is also used to load and unload components. If the API matched, I can replace any component at runtime with a simple config change. JMX forms the kernel of JBOSS to handle all of it's inter-core loading and can act as a runtime message-plane for communicating between components. It has more to it than just the ability to see into objects or components through an MBean. In the product I was referring to, we just update the config of the server in its datastore (JMX allows us to use flat files, XML files and databases if the API is consistent for the component) and then message the backplane to reload, change, alter, download new components in jars, etc. all at runtime. The one thing we are adding in is MD5Urls which is a new thing in the Jini API allowing us to distinguish between different versions of similarly named jars. So I think JMX can be a bolt on, or an underpinning depending on how you use it. I'd be surprised if it didn't meet the core of what you described blocks needed. If a block has a consistent API (Interface) then any block that supports that API could be loaded/unloaded and messaged to from other components using the JMX services and usage guidelines. Thoughts? Thor HW On 25-Mar-04, at 7:16 AM, Stefano Mazzocchi wrote: > Thor Heinrichs-Wolpert wrote: > >> Sounds good ... as you may remember when you started to talk about >> Blocks in Ghent we started talking about JMX then as well. It may >> not have everything you want or need, but it does have some good >> points and a basic lifecycle. I believe that MX4J >> (http://mx4j.sourceforge.net/) is released under an Apache license >> and is also being used in Geronimo. I think it would be worth >> examining it as a piece of the Core needed for blocks. >> I can say that in a previous commercial endeavour I used JMX as the >> core to manage all of the component loading, monitoring and >> distribution. >> I'm willing to pitch in here ... and after March 29th able to as well. > > Thor, > > there is a great deal of value in having a JMX wrapper around our > blocks, but just to let JMX do what JMX is supposed to: remote > management and configuration. > > At the same time, I think JXM is not capable of doing what we need for > cocoon blocks, so it cannot be used as the core and, even more > important, it's not something we control. > > The important thing is both stability of our foundations and the > ability to evolve them (without passing thru a massive world-impacting > political JSR). > > -- > Stefano. >