Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 18950 invoked from network); 9 Sep 2003 13:16:56 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Sep 2003 13:16:56 -0000 Received: (qmail 86654 invoked by uid 500); 9 Sep 2003 13:16:36 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 86533 invoked by uid 500); 9 Sep 2003 13:16:34 -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 86497 invoked from network); 9 Sep 2003 13:16:34 -0000 Received: from unknown (HELO www.princetongames.org) (66.250.40.202) by daedalus.apache.org with SMTP; 9 Sep 2003 13:16:34 -0000 Received: from localhost (ammulder@localhost) by www.princetongames.org (8.11.6/8.11.6) with ESMTP id h89CcuE02221 for ; Tue, 9 Sep 2003 08:38:56 -0400 X-Authentication-Warning: www.princetongames.org: ammulder owned process doing -bs Date: Tue, 9 Sep 2003 08:38:56 -0400 (EDT) From: Aaron Mulder X-X-Sender: ammulder@www.princetongames.org To: geronimo-dev@incubator.apache.org Subject: Re: [XML][Deployment]POJO design? In-Reply-To: <170A354C-E2B0-11D7-889E-0003934D3EA4@ioshq.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Tue, 9 Sep 2003, Alex Blewitt wrote: > ... > I don't see the rationale for not having an abstract supertype for the > Session/Entity/Message beans. [It may be necessary to also have a > separate supertype for Session/Entity as well, since there are such > issues with the way in which the various Contexts work.] You can't have it both ways: j2ee.ejb.Session extends j2ee.ejb.EJB geronimo.ejb.EJB extends j2ee.ejb.EJB geronimo.ejb.Session extends (j2ee.ejb.Session and geronimo.ejb.EJB???) The rationale for not having geronimo.ejb.EJB (the abstract supertype for Session/Entity/Message beans) is that geronimo.ejb.Session can't extend it! That's why Greg is proposing that everything in J2EE land should turn into interfaces, but I continue to object to having all the implementation in the Geronimo objects only, especially since you STILL can't avoid duplicating code. Aaron