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 B068E9192 for ; Thu, 22 Dec 2011 11:30:47 +0000 (UTC) Received: (qmail 43214 invoked by uid 500); 22 Dec 2011 11:30:47 -0000 Delivered-To: apmail-incubator-deltaspike-dev-archive@incubator.apache.org Received: (qmail 43179 invoked by uid 500); 22 Dec 2011 11:30:47 -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 43167 invoked by uid 99); 22 Dec 2011 11:30:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2011 11:30:47 +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 (athena.apache.org: domain of john.d.ament@gmail.com designates 209.85.220.175 as permitted sender) Received: from [209.85.220.175] (HELO mail-vx0-f175.google.com) (209.85.220.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2011 11:30:43 +0000 Received: by vcbf1 with SMTP id f1so5897516vcb.6 for ; Thu, 22 Dec 2011 03:30:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=3fBfnnqvVRknPeWvB7AM4b9fvK3E4+jtyV+Y+U1UPeg=; b=Dw753S5g+1MPL+iSN6WtIvqV6FxvmhQFIFBdxkJniAdvbAIrUxtXOx1H2MD3afO9WD 5QCSe+ipAxuOQ9Q8NMXx9K5E1s7auwtGZo1zQgbBe0lm9bo1BTpwkfDrdsb1UyI6pAWW TrBdAIUCqVElW6Tu89iUptYCaUuQZvI1i3k08= MIME-Version: 1.0 Received: by 10.220.231.136 with SMTP id jq8mr6782638vcb.18.1324553422150; Thu, 22 Dec 2011 03:30:22 -0800 (PST) Received: by 10.52.89.75 with HTTP; Thu, 22 Dec 2011 03:30:22 -0800 (PST) In-Reply-To: References: Date: Thu, 22 Dec 2011 06:30:22 -0500 Message-ID: Subject: Re: [DISCUSS] [DELTASPIKE-28] ServiceProvider From: "John D. Ament" To: deltaspike-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=14dae9cdbf6f369aaf04b4aca0b6 --14dae9cdbf6f369aaf04b4aca0b6 Content-Type: text/plain; charset=ISO-8859-1 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/weld/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 delta spike > is > > against EE6) is for Java SE 6. Even if the implementation is using 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/webbeans-impl/src/main/java/org/apache/webbeans/service/DefaultLoaderService.java > > > [3] > > > > > > https://cwiki.apache.org/confluence/display/DeltaSpike/SE+Feature+Ranking > > > > > > --14dae9cdbf6f369aaf04b4aca0b6--