Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 84756 invoked from network); 6 Feb 2004 20:17:34 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Feb 2004 20:17:34 -0000 Received: (qmail 17980 invoked by uid 500); 6 Feb 2004 20:17:09 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 17910 invoked by uid 500); 6 Feb 2004 20:17:08 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 17845 invoked from network); 6 Feb 2004 20:17:07 -0000 Received: from unknown (HELO public.coredevelopers.net) (209.233.18.245) by daedalus.apache.org with SMTP; 6 Feb 2004 20:17:07 -0000 Received: from coredevelopers.net (unknown [209.152.48.170]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by public.coredevelopers.net (Postfix on SuSE Linux 8.0 (i386)) with ESMTP id B4E422CBEF for ; Fri, 6 Feb 2004 12:10:53 -0800 (PST) Date: Fri, 6 Feb 2004 12:19:33 -0800 Subject: Re: Cleaning up deployment (unifying services and 88) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: David Jencks To: geronimo-dev@incubator.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: <4023EF0B.30400@coredevelopers.net> Message-Id: X-Mailer: Apple Mail (2.553) 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 On Friday, February 6, 2004, at 11:46 AM, Jeremy Boynes wrote: > We currently have two different models for deployment: > * -service.xml files > * J2EE modules via the JSR88 API > > The way these are being handled is similar but slightly different and > this is causing problems bootstrapping the installation. > > I am going to try and unify these two approaches as follows... > > Each deployment plugin (Nova, Jetty, Connector) currently provides an > implementation of DeploymentConfigurationFactory which is used by the > 88 plugin to configure/distribute each module type. > > We also have a ServiceDeployer which handles -service.xml files. I am > going to turn this into another GBean just like the module deployers. > For simplicity, I am going to add a Geronimo-specific ModuleType > SERVICE that represents this service type (the 88 spec provides ways > for a vendor to do this). > > The old DeployCommand will be refactored to create a DeploymentManager > that has been extended to allow for deployments containing multiple > source archives. With this (proprietary) API call, you will be able to > bundle multiple DeployableObjects together into a single > Configuration. This will require a deployment plan schema whose only purpose is to hold multiple deployment plans, correct? If so I have one I could check in. It provides the configID and the sub plan. xmlbeans handling of any elements is a little awkward. Perhaps we could define an extensible base schema type for the sub-plans: I haven't tried it yet but it might make the xmlbeans stuff easier. > We will also extend the EAR deployer to allow it to contain SERVICE > modules inside - this will allow developers to create bundles > combining applications with configuration information needed to run > them. +10 > > Having DeployCommand use the same infrastructure as 88 will simplify > the APIs. +100 I wondered if this was possible. thanks david jencks > > The build will generate a executable CAR called "deployer.car" which > will provide a command-line tool for deploying components. This CAR > will comprise a Geronimo Configuration with deployers for all J2EE > types plus SERVICE. It will be used in the assembly stage of the build > to generate the default server configuration; it can also be used > afterward to deploy any modules. > > -- > Jeremy >