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 4C1AD913B for ; Thu, 14 Jun 2012 08:21:01 +0000 (UTC) Received: (qmail 41492 invoked by uid 500); 14 Jun 2012 08:21:00 -0000 Delivered-To: apmail-incubator-deltaspike-dev-archive@incubator.apache.org Received: (qmail 41377 invoked by uid 500); 14 Jun 2012 08:21:00 -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 41351 invoked by uid 99); 14 Jun 2012 08:20:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2012 08:20:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.160.47] (HELO mail-pb0-f47.google.com) (209.85.160.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2012 08:20:54 +0000 Received: by pbbrq2 with SMTP id rq2so3376344pbb.6 for ; Thu, 14 Jun 2012 01:20:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=EYcFB9vZJKgXZ2jXeGhzXAUL4LXnQRKcVLZXCobYrcw=; b=Kr9XVy+cpfv6FSjbj0e9VT/xVMKGaceT3kqDxx/KK1TDuwSQKPpO0umnAPOfW3Opld UdNo1/obSbz7SRL1y6gePPk7zfkTHBiE7xHBXL0WwPSBs9MpR/1BpIMaxGy584Xxq769 AX5oKY4yiT+JL1SQk794Gex3wH6LcxwHjqQTa6CD6e/GAWqsMiqYr8SwpWP5GNhyxVT/ bkrYZqAMOJiWcKnpoxVxKFNVF8iXsfCvbZ5IrpWF0+zb+RAuodWwzyVnrMUseYMQg6hs Wi9M+Cz6rl4vo+UPGdA7sQuN/H7WyAHLdbhaEuU36iXnG8+me0X9+NWbsqTynyXc5bIS beFQ== Received: by 10.68.201.9 with SMTP id jw9mr6298905pbc.28.1339662033788; Thu, 14 Jun 2012 01:20:33 -0700 (PDT) References: <1339649080.8905.YahooMailNeo@web171504.mail.ir2.yahoo.com> <10F8B5E1-EDCF-4CE8-9DDC-463F4D6A2E08@sabot-durand.net> <1339654896.4894.YahooMailNeo@web171504.mail.ir2.yahoo.com> From: Antoine Sabot-Durand In-Reply-To: Mime-Version: 1.0 (1.0) Date: Thu, 14 Jun 2012 10:20:29 +0200 Message-ID: <3085002747243430006@unknownmsgid> Subject: Re: About Converter framework vote To: "deltaspike-dev@incubator.apache.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnWaxOyns9p9p5Ptxo/9e72jtwmWPA3mteqAevC9LVzB1H0cg0TawZY81pcOJkcymivThm5 X-Virus-Checked: Checked by ClamAV on apache.org I was obviously not clear enough. I didn't say DS should redevelop what already exist but should perhaps integrate it. When I read that there are no use cases for converter since JSF provides it, it makes me react. Antoine Le 14 juin 2012 =E0 09:51, Pete Muir a =E9crit : > Agree with Mark, much better to CDI enable a converter framework in DS, t= han make a whole converter framework :-) > > On 14 Jun 2012, at 07:21, Mark Struberg wrote: > >> Hi Antoine! >> >> DS is imo clearly not only targeting JSF! >> >> And I wasn't saying that a Converter framework wont be fine. >> >> BUT: writing this _properly_ is a pretty complex task, and it has barely= to do with DeltaSpike as it is not CDI depending. In fact, if I would do s= uch a thing, I'd keep all the Converter logic purely native Java and additi= onally provide bindings to CDI and Spring. >> >> >> I think there is already some Converter work done in Apache commons btw.= - a converter framework in commons which can be used universally is the wa= y to go imo. >> >> LieGrue, >> strub >> >> >> >> ----- Original Message ----- >>> From: Antoine Sabot-Durand >>> To: deltaspike-dev@incubator.apache.org >>> Cc: >>> Sent: Thursday, June 14, 2012 8:02 AM >>> Subject: About Converter framework vote >>> >>> Hi, >>> >>> I'll probably vote +1 but wanted to comment this point >>> >>>> a.) What is this for? -> no one knows >>> >>> As I was away for a long time (Launching Agorava) I won't comment this >>> >>>> b.) Do we need it in DeltaSpike? -> not yet. >>> >>> Yes you're probably right : we have more important things to deal with = now >>> >>>> c.) Do we need it for JSF? -> No, JSF has it's own Converter logic >>> >>> Yes, but JSF is not the only use case for using CDI >>> >>>> d.) Do we need it somewhere else? -> No, not afaik >>> >>> That's the point I don't agree with. I'm working on Java EE 6 POCS >>> for a customer. One go this POC is a full rest application using HTML5 = techs on >>> client and Jax-RS / CDI and other Java EE tech on the server. It's obv= ious >>> that a converter framework would be very useful here since we won't hav= e JSF >>> to deal with it. We'll have to create some batch POC, again converter w= ould >>> be nice. >>> >>> In fact it questions the goals of DS. We all agree on the fact that DS = should >>> provide a way to ease CDI extension development. But beyond that should= it >>> provide only tools ease to JSF development or should it be more ambitio= us by >>> bringing missing features for the whole Java EE 6 stack. You probably g= uessed >>> that I prefer the second solution ;-). >>> >>> Antoine Sabot-Durand >>> ------------------------------- >>> http://agorava.org >>> @antoine_sd >>> >