Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-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 061E0D26B for ; Mon, 6 Aug 2012 18:02:37 +0000 (UTC) Received: (qmail 54224 invoked by uid 500); 6 Aug 2012 18:02:36 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 54111 invoked by uid 500); 6 Aug 2012 18:02:36 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 54101 invoked by uid 99); 6 Aug 2012 18:02:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2012 18:02:36 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simone.tripodi@gmail.com designates 209.85.215.171 as permitted sender) Received: from [209.85.215.171] (HELO mail-ey0-f171.google.com) (209.85.215.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2012 18:02:32 +0000 Received: by eaah11 with SMTP id h11so469581eaa.30 for ; Mon, 06 Aug 2012 11:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=Myw4Ii20KKNsALWFWP9KJuNCNjRjTjbp1mDqJUX+AAY=; b=DY25D4cZWwRIP/G2CP5l2M1XGSaDshi4wDSr/n/B5mUsovdeL9aYmI0Xxcqmy4a2Vf EdkC4kQ9NyJZDwbUwyiOxHD7OzabXvK0cKeciXzvP6ALXOUJmXLrr7CT7Z18Ylf6dMNp 0FY222bMgEGfEMGMjl+vdURSRRShMlak6w+yxypxo4n10wVmN3Du+g7z9EWy5AwJnsM/ QDLzLRPChlwVyUduHB36UIVoxYXykXS8rw4rE90OSiX6E3HJdutOAHN2JOna1EeGj9tS 9H31F+4p3yX2Hh8ACNazQWzIPauzHpRxThMnWKW1KO5wCi3L0X27qhPMB7Nf01EJyxg5 CZnQ== MIME-Version: 1.0 Received: by 10.14.202.69 with SMTP id c45mr14201451eeo.4.1344276130816; Mon, 06 Aug 2012 11:02:10 -0700 (PDT) Sender: simone.tripodi@gmail.com Received: by 10.14.97.129 with HTTP; Mon, 6 Aug 2012 11:02:10 -0700 (PDT) In-Reply-To: References: Date: Mon, 6 Aug 2012 20:02:10 +0200 X-Google-Sender-Auth: aGF9zNKrO58Q6BPzkq_WbTnSoXE Message-ID: Subject: Re: [chain2] ServiceLoader in Chain2 to load Jackson supported formats From: Simone Tripodi To: Commons Developers List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Democracy wins, long live Java6! :) thanks for the feedbacks! -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Mon, Aug 6, 2012 at 6:08 PM, Matt Benson wrote: > +1 for Java 6 as well. > > Matt > > On Mon, Aug 6, 2012 at 10:59 AM, James Carman > wrote: >> +1 to upgrade to Java 6. >> >> On Mon, Aug 6, 2012 at 11:13 AM, Simone Tripodi >> wrote: >>> Hi all guys, >>> >>> I am prototyping the Jackson support as described in CHAIN-76 and >>> found an elegant solution with ServiceLoader to support, via Jackson, >>> multiple format support without hardcoding them in the ConfigParser >>> code but rather loading available parsers at runtime. >>> >>> Since [chain2] hasn't been published yet and my prototype would >>> require an API which is not available on Java5, we have 3 options: >>> >>> * using the [discovery] component >>> >>> * using a backport[1] component I wrote time ago for java5 (it's ALv2) >>> >>> * upgrade to java6 >>> >>> The second option sounds to me the more reasonable since uses java >>> standard APIs and is Java6 compatible, while keeping Java5 backward >>> compatibility... >>> >>> WDYT? >>> Many thanks in advance, all the best! >>> -Simo >>> >>> [1] http://99soft.github.com/backport-spi/ >>> >>> http://people.apache.org/~simonetripodi/ >>> http://simonetripodi.livejournal.com/ >>> http://twitter.com/simonetripodi >>> http://www.99soft.org/ >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >>> For additional commands, e-mail: dev-help@commons.apache.org >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >> For additional commands, e-mail: dev-help@commons.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org