Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 33778 invoked from network); 3 Oct 2004 19:52:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Oct 2004 19:52:35 -0000 Received: (qmail 43816 invoked by uid 500); 3 Oct 2004 19:52:26 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 43746 invoked by uid 500); 3 Oct 2004 19:52:26 -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 Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 43729 invoked by uid 99); 3 Oct 2004 19:52:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [66.235.180.72] (HELO sls-dc1p2.dca2.superb.net) (66.235.180.72) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 03 Oct 2004 12:52:25 -0700 Received: from [192.168.37.166] (adsl-209-233-18-245.dsl.snfc21.pacbell.net [209.233.18.245]) (authenticated bits=0) by sls-dc1p2.dca2.superb.net (8.12.10/8.12.10) with ESMTP id i93JwE6I011789 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 3 Oct 2004 12:58:15 -0700 Message-ID: <41605874.6060001@gluecode.com> Date: Sun, 03 Oct 2004 12:52:20 -0700 From: Jeremy Boynes User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: Resource ref as dependency; WAS: Multiple Inheritance References: <99BB6DF2-154D-11D9-B7E9-000D93361CAA@gluecode.com> <20041003164018.GC2686@caboteria.org> <41605271.5030406@gluecode.com> <49247C4F-1573-11D9-B7E9-000D93361CAA@gluecode.com> In-Reply-To: <49247C4F-1573-11D9-B7E9-000D93361CAA@gluecode.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N David Jencks wrote: > I agree, this is a good idea. Lets have the default value for the flag > be "mandatory", i.e you only include the flag when it is optional. We > can presumably do the same with ejb-refs from web apps to ejbs? I > don't think we can have dependencies between ejbs since there can be > circular references. > CMP EJBs will also have dependencies for the CMRs between them (as well as the dependency on the CMP data store which will not be an ejb-ref). I agree that resolving those will be problematic. Perhaps the compromise is to bundle the dependencies at the EJBModule level rather than at the individual EJB level - this would mirror the model at the web layer where they are define for the WebApplication not individual servlets. In other words, an ejb-ref from a WebApplication would depend on the EJBModule that contained the target EJB not the individual EJB. Similarly, individual EJB's ejb-refs would be rolled up into dependencies from their EJBModule to the EJBModules of the targets. -- Jeremy