From general-return-30588-apmail-incubator-general-archive=incubator.apache.org@incubator.apache.org Tue Jul 5 10:13:15 2011 Return-Path: X-Original-To: apmail-incubator-general-archive@www.apache.org Delivered-To: apmail-incubator-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 044464D4A for ; Tue, 5 Jul 2011 10:13:15 +0000 (UTC) Received: (qmail 29860 invoked by uid 500); 5 Jul 2011 10:13:03 -0000 Delivered-To: apmail-incubator-general-archive@incubator.apache.org Received: (qmail 28988 invoked by uid 500); 5 Jul 2011 10:12:55 -0000 Mailing-List: contact general-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@incubator.apache.org Delivered-To: mailing list general@incubator.apache.org Received: (qmail 28965 invoked by uid 99); 5 Jul 2011 10:12:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 10:12:52 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nour.mohammad@gmail.com designates 209.85.216.175 as permitted sender) Received: from [209.85.216.175] (HELO mail-qy0-f175.google.com) (209.85.216.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 10:12:48 +0000 Received: by qyk30 with SMTP id 30so1649374qyk.6 for ; Tue, 05 Jul 2011 03:12:27 -0700 (PDT) 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:content-transfer-encoding; bh=VQeba8EhVnrx7tQydCQCrXGBSwF5Rg0QvLbVOm1gt9o=; b=knY9vJKGTKWwlV4PtO4dDFxswnMdruo2IY+elfYMeCGOBsE5w+D+a/mm8swHH2VQOX WVxQXN6/YApVWN+CAyj4qStSXfU8ml3dJf6KfUSRrcxQGwxRPr0ddxAmbV0nMkvJ+aNZ TZGWFVoe6jKdajCkMsgttPgTU2z/p3GSqWdNk= MIME-Version: 1.0 Received: by 10.229.226.8 with SMTP id iu8mr5239022qcb.252.1309860746588; Tue, 05 Jul 2011 03:12:26 -0700 (PDT) Received: by 10.229.229.137 with HTTP; Tue, 5 Jul 2011 03:12:26 -0700 (PDT) In-Reply-To: <78699B95-2776-475C-B692-509D9C28C247@gmail.com> References: <1309797087.14064.YahooMailClassic@web27802.mail.ukl.yahoo.com> <4E11EE1C.4050907@gmail.com> <78699B95-2776-475C-B692-509D9C28C247@gmail.com> Date: Tue, 5 Jul 2011 13:12:26 +0300 Message-ID: Subject: Re: [PROPOSAL] Deft for incubation From: Mohammad Nour El-Din To: general@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sorry to interrupt this technical discussion, but I believe that now we are ready to go for a [VOTE] ? On Mon, Jul 4, 2011 at 8:59 PM, Roger Schildmeijer wrote: > Hi again, > > Been examining the asyncweb project in more details (atleast the asyncweb= .client and asyncwebserver components). Below is my notes (simple draft). > > asyncweb notes > -client module > * https support for Deft's AHC (AsynchronousHttpClient) could borrow some= details from asyncweb (o.a.asyncweb.client.SimpleTrustManagerFactory) > * Improve the http request decoding (org.apache.ahc.codec.HttpDecoder, eg= . decode[line, status, header, cookie]) > > > -server module > * like the simple and elegant design of o.a.asyncweb.server.resolver.Serv= iceResolver (and its concrete impl., eg. PatternMatchResolver (comparable t= o Deft's "Capturing groups") and ExactMatchURIServiceResolver) > * o.a.asyncweb.server.HttpClientListener (interface with callbacks client= Disconnected, clientIdle, register listeners on HttpServiceContext). I like= the idea. Useful for comet/longpoll (could be worth to add to Deft). > > > Conclusion: > Ofcourse there are overlaps between the two projects. I agree with Emanue= l Emmanuel L=E9charny regarding that "It's almost as difficult to write fro= m scratch some piece of code than to reuse some other with lost support..." > Deft is built (tightly integrated) around the event-loop (org.deftserver.= io.IOLoop) which the modules (e.g the web server component and the async ht= tp client) heavily depend upon. Asyncweb is built on top of the Apache MINA= network framework and to merge these two project (asyncweb and deft) is no= n trivial, therefor I propose we don't. Also, I guess asyncweb was "abandon= ed" for a reason? > > With Best Regards > > Roger Schildmeijer > > On 4 jul 2011, at 18.45em, Emmanuel Lecharny wrote: > >> On 7/4/11 6:38 PM, Roger Schildmeijer wrote: >>> On 4 jul 2011, at 18.31em, Mark Struberg wrote: >>> >>>> I have not looked at Deft a lot, but only from a 10.000 feet point ;) >>>> >>>> It is just that such things like Filters, etc which are available for = Mina already used to be very helpful for lots of projects. >>>> Do such things exist in Deft too? >>> There is no such corresponding feature in Deft, at least not at the mom= ent :) >> >> In any case, I don't think that Deft *has* to use MINA, or not. It's pro= bably something that could be discussed once the podling is accepted, and b= y the core developpers. >> >> Now, what is more important is to check how close are AsyncWeb and Deft,= to see if those two project should be merged, or not, and if Deft has enou= gh potential to be a TLP, or not. >> >> I'm not even sure it should be put under MINA's umbrella. I'd say it wou= ld be convenient, but has side effects. This should be discussed. >> >> -- >> Regards, >> Cordialement, >> Emmanuel L=E9charny >> www.iktek.com >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org >> For additional commands, e-mail: general-help@incubator.apache.org >> > > --=20 Thanks - Mohammad Nour =A0 Author of (WebSphere Application Server Community Edition 2.0 User Guid= e) =A0 http://www.redbooks.ibm.com/abstracts/sg247585.html - LinkedIn: http://www.linkedin.com/in/mnour - Blog: http://tadabborat.blogspot.com ---- "Life is like riding a bicycle. To keep your balance you must keep moving" - Albert Einstein "Writing clean code is what you must do in order to call yourself a professional. There is no reasonable excuse for doing anything less than your best." - Clean Code: A Handbook of Agile Software Craftsmanship "Stay hungry, stay foolish." - Steve Jobs --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org For additional commands, e-mail: general-help@incubator.apache.org