Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 26718 invoked from network); 8 Sep 2003 12:23:29 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Sep 2003 12:23:29 -0000 Received: (qmail 54812 invoked by uid 500); 8 Sep 2003 12:23:11 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 54747 invoked by uid 500); 8 Sep 2003 12:23:11 -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 54731 invoked from network); 8 Sep 2003 12:23:10 -0000 Received: from unknown (HELO smtp011.mail.yahoo.com) (216.136.173.31) by daedalus.apache.org with SMTP; 8 Sep 2003 12:23:10 -0000 Received: from unknown (HELO yahoo.co.uk) (james?strachan@217.204.102.101 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 8 Sep 2003 12:23:08 -0000 Date: Mon, 8 Sep 2003 13:22:58 +0100 Subject: Re: Geronimo Deployment Descriptors Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: James Strachan To: geronimo-dev@incubator.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <2E50F78A-E1F7-11D7-9652-000A959D0312@yahoo.co.uk> X-Mailer: Apple Mail (2.552) 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 Monday, September 8, 2003, at 11:30 am, Greg Wilkins wrote: > Geir Magnusson Jr. wrote: >> On Monday, September 8, 2003, at 02:36 AM, Greg Wilkins wrote: >>>> >> [SNIP] >>> >>> But I don't want that to stop discussion while the code is being >>> written. >>> I think what is best for web is bad for ejb and what is best for ejb >>> is bad >>> for web - so Jeremy and I are a little entrenched in our view points >>> - and >>> would appreciated input from others. >>> >> Are there any spec requirements that must be considered? > > > Jeremy and I could not agree if there were or not :-) > > I think that it is agains the spirit (if not the letter) of the > spec to ignore the contents of a standard DD just because of the > presence of a vendor DD. > > Jeremy thinks that it is not, as he sees the generation of the > vendor DD as being part of the deployment step. > > But if we do go with Jeremies model, we have agreed that the > standard DD must at least be check for consistency with the > geronimo DD - so it will not be ignored. Quick question. While the J2EE specs might be moving away from the 'embedding namespaced-extensions inside the standard XML descriptors' - is there anything in the spec anywhere which says a container cannot support it? i.e. could one of our options be to use our deployment extensions inside the standard deployment descriptors. This would avoid some of Gregs concerns - we can just use web.xml and ejb-jar.xml with our extensions inside it. There seems to be a few different ways of skinning this particular cat and it seems to depend on your exact usage patterns. For developers wishing to target many different containers for a single deployment unit then making a standard deployment descriptor + extra container specific files seems the best approach. In this model a tool like XDoclet would probably be used and so the fact that duplicate stuff occurs in geronimo-ejb-jar.xml and ejb-jar.xml probably wouldn't be that much of an issue. Another class of users could be those targeting just Geronimo - where they have no main need to also support other containers - in which case they may prefer to embed the Geronimo extensions directly inside web.xml or ejb-jar.xml etc. The other option is Jeremy's approach, where the standard deployment descriptors remain completely clean & so guaranteed to work on any container - and the geronimo-*.xml overload them. I can see all these approaches having value to users; so having a way for folks to configure Geronimo to suit their needs sounds like a good idea. James ------- http://radio.weblogs.com/0112098/