Return-Path: Delivered-To: apmail-jakarta-httpclient-dev-archive@www.apache.org Received: (qmail 98096 invoked from network); 26 Jan 2005 08:10:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 26 Jan 2005 08:10:30 -0000 Received: (qmail 58071 invoked by uid 500); 26 Jan 2005 08:10:27 -0000 Delivered-To: apmail-jakarta-httpclient-dev-archive@jakarta.apache.org Received: (qmail 58051 invoked by uid 500); 26 Jan 2005 08:10:27 -0000 Mailing-List: contact httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "HttpClient Project" Reply-To: "HttpClient Project" Delivered-To: mailing list httpclient-dev@jakarta.apache.org Received: (qmail 58032 invoked by uid 99); 26 Jan 2005 08:10:26 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_30_40,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mtagate4.de.ibm.com (HELO mtagate4.de.ibm.com) (195.212.29.153) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 26 Jan 2005 00:10:25 -0800 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate4.de.ibm.com (8.12.10/8.12.10) with ESMTP id j0Q8ALvU233684 for ; Wed, 26 Jan 2005 08:10:21 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j0Q89L3C130210 for ; Wed, 26 Jan 2005 09:09:21 +0100 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11/8.12.11) with ESMTP id j0Q89LFS004294 for ; Wed, 26 Jan 2005 09:09:21 +0100 Received: from d12ml067.megacenter.de.ibm.com (d12ml067.megacenter.de.ibm.com [9.149.164.162]) by d12av02.megacenter.de.ibm.com (8.12.11/8.12.11) with ESMTP id j0Q89LUd004283 for ; Wed, 26 Jan 2005 09:09:21 +0100 In-Reply-To: <1106681305.7229.8.camel@localhost.localdomain> To: "HttpClient Project" MIME-Version: 1.0 Subject: Re: [POLL] Minimal JRE requirement for HttpClient 4.0 X-Mailer: Lotus Notes Release 6.0 September 26, 2002 From: Roland Weber X-MIMETrack: S/MIME Sign by Notes Client on Roland Weber/Germany/IBM(Release 6.0|September 26, 2002) at 26.01.2005 09:08:18, Serialize by Notes Client on Roland Weber/Germany/IBM(Release 6.0|September 26, 2002) at 26.01.2005 09:08:18, Serialize complete at 26.01.2005 09:08:18, S/MIME Sign failed at 26.01.2005 09:08:18: The cryptographic key was not found, Serialize by Router on D12ML067/12/M/IBM(Release 6.51HF338 | June 21, 2004) at 26/01/2005 09:09:20, Serialize complete at 26/01/2005 09:09:20 Message-ID: Date: Wed, 26 Jan 2005 09:09:19 +0100 Content-Type: multipart/alternative; boundary="=_alternative 002CB4C9C1256F95_=" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=_alternative 002CB4C9C1256F95_= Content-Type: text/plain; charset="US-ASCII" Hi Julius, I understand your concerns. In this case however, we can give very precise guidelines. That's mainly because there would only be the 1.4 NIO implementation to choose from, at least for a while :-) After that, it's: use the 1.3 IO implementation only if you have to. And hopefully, we would have the performance statistics to back that up. I don't think the end users will have to make a choice here, it's the application developers that decide. I also imagine some kind of autoconfig class that tries to load the NIO implementation and falls back to IO if that fails. There would be a section about choosing NIO or IO in the documentation on the web site. Of course some people won't read that and will post a question on the mailing list, but they are easily directed to the web site. No, you are not annoying at all. The more input we get for this discussion, the better the choices that will be made. Thank you for addressing a real-life concern which at least I would have overlooked otherwise. cheers, Roland Julius Davies 25.01.2005 20:28 Please respond to "HttpClient Project" To HttpClient Project cc Subject Re: [POLL] Minimal JRE requirement for HttpClient 4.0 Hi, I haven't really been following this discussion, but this dependency table caught my eye: > http-common-api depends on 1.3 > http-common-implIO depends on 1.3 > http-common-implNIO depends on 1.4 Personally, I don't like it when applications ask me to choose an implementation (Apache2's thread-model, for example!). I never feel like I have adequete information to make a choice. The implementations might as well be called "Door Number 1" and "Door Number 2". In this specific case one might argue that java developers understand the difference between IO and NIO, and so we're informed enough to make the choice. But even if I know that I'm supposed to prefer NIO, I still prefer the code that is running in 99% of installations. What will the "default" out-of-the-box implementation will be? Would the end-user have to make some configuration changes? (How much traffic would these choices generate on this mailing list?) Hope I'm not being annoying! HTTPClient is fantastic, and I'm really excited to see so much momentum behind it. yours, Julius On Tue, 2005-25-01 at 20:15 +0100, Oleg Kalnichevski wrote: > On Tue, 2005-01-25 at 14:33 +0100, Roland Weber wrote: > > Hi Oleg, > > > > Still, I wouldn't expect java.nio to show up there. Sockets neither, > > in some of the smaller profiles. And even then, 1.4 features could > > only be found in high-end, early-adopter devices for quite a while. > > If we want to keep the J2ME option open for widespread use, we should > > have streams instead of channels in the API, and create wrappers around > > channels if an implementation uses java.nio. Which would make Java 1.3 > > support an option: > > > > http-common-api depends on 1.3 > > http-common-implIO depends on 1.3 > > http-common-implNIO depends on 1.4 > > > > and one needs at least the -api and one -impl component to get going. > > > > What do you (all) think? > > > > Roland, > > I am +1 to try to keep http-common API Java 1.3 compatible. I would not > worry about http-common-implIO and concentrate exclusively on NIO impl > until some real J2ME demand materializes backed by a number of > contributers. > > Oleg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org --=_alternative 002CB4C9C1256F95_=--