Return-Path: X-Original-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 296617558 for ; Fri, 23 Dec 2011 03:45:56 +0000 (UTC) Received: (qmail 3753 invoked by uid 500); 23 Dec 2011 03:45:56 -0000 Delivered-To: apmail-incubator-deltaspike-dev-archive@incubator.apache.org Received: (qmail 3725 invoked by uid 500); 23 Dec 2011 03:45:55 -0000 Mailing-List: contact deltaspike-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltaspike-dev@incubator.apache.org Delivered-To: mailing list deltaspike-dev@incubator.apache.org Received: (qmail 3717 invoked by uid 99); 23 Dec 2011 03:45:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Dec 2011 03:45:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lightguard.jp@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Dec 2011 03:45:49 +0000 Received: by werm13 with SMTP id m13so4093258wer.6 for ; Thu, 22 Dec 2011 19:45:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ZpkGGOF9n8utlIqcscd3WirlWj3KmrNwnu3Uf/Btw28=; b=xi8GEphTjkJZ5tsZKC+WM+RDT2upePKnwHsfo68ayU89I5qK6MQtImv0RP7faOp/0V tPS8fdV90tsYjq8icQc8EijI7WCQIJgzsSDcj6xL29CZHdaGmPKforG7yw5tVm03bBUW s4Bbq0siohcyCUjU2OtaKCt5vkVhq2e26cWLM= Received: by 10.216.54.212 with SMTP id i62mr12967885wec.22.1324611929274; Thu, 22 Dec 2011 19:45:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.96.144 with HTTP; Thu, 22 Dec 2011 19:45:08 -0800 (PST) In-Reply-To: References: From: Jason Porter Date: Thu, 22 Dec 2011 20:45:08 -0700 Message-ID: Subject: Re: [DISCUSS] [DELTASPIKE-28] ServiceProvider To: deltaspike-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=0016e6dbe5f48277f104b4ba3fd2 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6dbe5f48277f104b4ba3fd2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable We have it in Seam, and Weld for that Java 5 support, but I'd prefer to stay on 6+. We *could* do a version compiled for jdk5. But then we get into issues of which branch, making sure it's all Java 5 features, etc. -0.5 On Thu, Dec 22, 2011 at 04:45, Jos=C3=A9 Rodolfo Freitas < joserodolfo.freitas@gmail.com> wrote: > +0 > > On Thu, Dec 22, 2011 at 9:42 AM, Gerhard Petracek < > gerhard.petracek@gmail.com> wrote: > > > hi john, > > > > this feature won't prevent users from using deltaspike with candi > > (even >if< candi only supports java6+). > > > > regards, > > gerhard > > > > > > > > 2011/12/22 John D. Ament > > > > > Hi Gerhard, > > > > > > How about resin (CanDI)? > > > > > > John > > > > > > > > > On Thu, Dec 22, 2011 at 6:01 AM, Gerhard Petracek < > > > gerhard.petracek@gmail.com> wrote: > > > > > > > hi john, > > > > > > > > the impl. would >not< be bound to a cdi impl. > > > > owb as well as weld (see [1]) support java5. > > > > > > > > regards, > > > > gerhard > > > > > > > > [1] > > > > > > > > > > > > > > https://github.com/weld/core/blob/master/impl/src/main/java/org/jboss/wel= d/util/ServiceLoader.java > > > > > > > > > > > > > > > > 2011/12/22 John D. Ament > > > > > > > > > -1 > > > > > Java5 is past EOL at this point. Not suitable for production > > > deployments > > > > > from my perspective. Java EE 6 (since any code we write for delt= a > > > spike > > > > is > > > > > against EE6) is for Java SE 6. Even if the implementation is usi= ng > > > Java > > > > 5 > > > > > at compilation time, the runtime is 6; and I would hope we would > code > > > > > against spec rather than specific impls. > > > > > > > > > > John > > > > > > > > > > On Wed, Dec 21, 2011 at 3:41 PM, Gerhard Petracek < > > > > > gerhard.petracek@gmail.com> wrote: > > > > > > > > > > > hi @ all, > > > > > > > > > > > > fyi: please check [1] before you answer. > > > > > > > > > > > > [2] is the implementation used in owb. i suggest to start with = it > > > > > (instead > > > > > > of the version of codi), because the version of codi provides > > > > additional > > > > > > mechanisms we might need later on (if we include the > corresponding > > > > > > features). > > > > > > > > > > > > the basic concept: > > > > > > ServiceProvider (btw. DefaultLoaderService) is a custom > > > implementation > > > > of > > > > > > the ServiceLoader mechanism which allows to use codi with java > 1.5 > > > (if > > > > > the > > > > > > cdi container allows it as well). > > > > > > in case of java6+ the std. ServiceLoader gets used. > > > > > > > > > > > > please send > > > > > > +1, +0 or -1 because... > > > > > > for the basic idea as well as the basic concept. > > > > > > if there are >basic< objections, please also add them to [3] > > > > > > > > > > > > regards, > > > > > > gerhard > > > > > > > > > > > > [1] http://markmail.org/message/7yefspfuvtz4jvmp > > > > > > [2] > > > > > > > > > > > > > > > > > > > > > > > > > > > https://svn.apache.org/repos/asf/openwebbeans/tags/openwebbeans-1.1.3/web= beans-impl/src/main/java/org/apache/webbeans/service/DefaultLoaderService.j= ava > > > > > > [3] > > > > > > > > > > > > > > > > > > > > > https://cwiki.apache.org/confluence/display/DeltaSpike/SE+Feature+Ranking > > > > > > > > > > > > > > > > > > > > > --=20 Jason Porter http://lightguard-jp.blogspot.com http://twitter.com/lightguardjp Software Engineer Open Source Advocate Author of Seam Catch - Next Generation Java Exception Handling PGP key id: 926CCFF5 PGP key available at: keyserver.net, pgp.mit.edu --0016e6dbe5f48277f104b4ba3fd2--