commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@gmail.com>
Subject Re: [chain2] ServiceLoader in Chain2 to load Jackson supported formats
Date Mon, 06 Aug 2012 16:08:27 GMT
+1 for Java 6 as well.

Matt

On Mon, Aug 6, 2012 at 10:59 AM, James Carman
<james@carmanconsulting.com> wrote:
> +1 to upgrade to Java 6.
>
> On Mon, Aug 6, 2012 at 11:13 AM, Simone Tripodi
> <simonetripodi@apache.org> 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


Mime
View raw message