Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 23541 invoked from network); 26 Dec 2003 22:09:54 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Dec 2003 22:09:54 -0000 Received: (qmail 5234 invoked by uid 500); 26 Dec 2003 22:09:35 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 5078 invoked by uid 500); 26 Dec 2003 22:09: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 5062 invoked from network); 26 Dec 2003 22:09:34 -0000 Received: from unknown (HELO public.coredevelopers.net) (209.233.18.245) by daedalus.apache.org with SMTP; 26 Dec 2003 22:09:34 -0000 Received: from coredevelopers.net (gateway [192.168.2.253]) by public.coredevelopers.net (Postfix on SuSE Linux 8.0 (i386)) with ESMTP id 9AF3C21331 for ; Fri, 26 Dec 2003 14:05:09 -0800 (PST) Message-ID: <3FECB1A4.3070607@coredevelopers.net> Date: Fri, 26 Dec 2003 14:09:40 -0800 From: Jeremy Boynes User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: geronimo-dev@incubator.apache.org Subject: Re: Is ejb spec ambiguous about transaction attributes? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 David Jencks wrote: > I don't see anything in the ejb 2.1 spec that indicates how to interpret > transaction attributes such as these: > > > > MyEJB > Local > * > > Required > > > > > MyEJB > Remote > * > > Supported > > > > > MyEJB > > doSomething > > RequiresNew > > > I assume that the third overrides the other two, but I don't see that > specified anywhere. Any help? > > thanks > david jencks > [EJB2.1 pp 378] "If there is also a container-transaction element that uses Style 1 element for the same bean, the value specified by the Style 2 element takes precedence." And similarly for Style 3. So your 3rd case, which is Style 2, overrides the first two which are both Style 1. Or so I read it :-) -- Jeremy