Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7C7373961 for ; Mon, 2 May 2011 22:44:04 +0000 (UTC) Received: (qmail 31210 invoked by uid 500); 2 May 2011 22:44:04 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 31163 invoked by uid 500); 2 May 2011 22:44:04 -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 List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 31156 invoked by uid 99); 2 May 2011 22:44:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2011 22:44:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of david.blevins@gmail.com designates 209.85.160.54 as permitted sender) Received: from [209.85.160.54] (HELO mail-pw0-f54.google.com) (209.85.160.54) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2011 22:43:57 +0000 Received: by pwj8 with SMTP id 8so3750725pwj.13 for ; Mon, 02 May 2011 15:43:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=UMaBy2yYR9inj+CIyTwKteiww97rUq8P6mqNgh/VhUc=; b=QjCs9aOHcJKA28gg5BlJmDwXbavmzZckvcAxgY7K1/g+IlMXbejhR969Mck1aw0yHz VbduV5fXARPe96HAAVgsaNS7N+00ChCabnbiPSWDy2ZFjV36ac0kYQ4AwWRrHeOWaOt0 HvvLrV2W/5yQj6Xlm82mREReyyoEB06/NJVOU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=IPwWZGK8D0ZcINYt0EsOCdKqNYcA1fECrmVQp2HE2ID3akzGWiMm97OfqoC6l/KMTR 7tCPB8toYY4mfCPgUOYpERa8rNY6UCwST2MJ4TXoHHiuImNSrb3dvJiWNJcRO+SlsjYC zs+ShYAzTJlKVRA7YbkbnRJKFDDsLY80/pbDo= Received: by 10.68.39.74 with SMTP id n10mr3575649pbk.242.1304376217534; Mon, 02 May 2011 15:43:37 -0700 (PDT) Received: from [192.168.42.22] (pool-71-106-80-145.lsanca.dsl-w.verizon.net [71.106.80.145]) by mx.google.com with ESMTPS id f3sm4053497pbq.58.2011.05.02.15.43.35 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 May 2011 15:43:36 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: How to provide external openejb-jar.xml for ejb in war ? From: David Blevins In-Reply-To: Date: Mon, 2 May 2011 15:43:33 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.1082) On Apr 28, 2011, at 7:21 PM, Ivan wrote: > How about extending the current geronimo-web.xml file ? Add an any = element to hold the contents from openejb-jar.xml. Something like that should work. =20 Interestingly the topic of alt-dds and EJBs in .war files came up in the = Java EE 6 EG. Specifically, that alt-dd support is at best ambiguous = and at worst broken now that a single module can be many different = types. It was an incredibly short conversation with little = participation that basically ended in "well if people complain, we can = fix it next time." Anyway, putting the openejb-jar in the geronimo-web.xml is pretty = natural. -David >=20 > 2011/4/29 Shawn Jiang > We can use following style to provide external openejb-jar.xml for ejb = in ear. >=20 > >=20 > > ejb.jar > >=20 > >=20 > .... > >=20 > > > ... > >=20 >=20 > But, in javaee 6, ejb could put into war directly. When there's = ejb in war, and we want to use external plan to customize these ejb.=20 >=20 > I'm wondering if there's a existing way to do the similar module = config in war like we are doing in ear. >=20 > --=20 > Shawn >=20 >=20 >=20 > --=20 > Ivan