Return-Path: Delivered-To: apmail-jakarta-httpcomponents-dev-archive@www.apache.org Received: (qmail 19982 invoked from network); 13 Nov 2007 16:09:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Nov 2007 16:09:02 -0000 Received: (qmail 24155 invoked by uid 500); 13 Nov 2007 16:08:50 -0000 Delivered-To: apmail-jakarta-httpcomponents-dev-archive@jakarta.apache.org Received: (qmail 23991 invoked by uid 500); 13 Nov 2007 16:08:49 -0000 Mailing-List: contact httpcomponents-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list httpcomponents-dev@jakarta.apache.org Received: (qmail 23982 invoked by uid 99); 13 Nov 2007 16:08:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2007 08:08:49 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [62.179.121.47] (HELO viefep27-int.chello.at) (62.179.121.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2007 16:08:50 +0000 Received: from [192.168.0.63] (really [212.71.105.68]) by viefep27-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20071113160827.DMES9364.viefep27-int.chello.at@[192.168.0.63]> for ; Tue, 13 Nov 2007 17:08:27 +0100 Subject: Re: requirements, dependencies, jdk... From: Oleg Kalnichevski To: HttpComponents Project In-Reply-To: <362028.71641.qm@web26115.mail.ukl.yahoo.com> References: <362028.71641.qm@web26115.mail.ukl.yahoo.com> Content-Type: text/plain Date: Tue, 13 Nov 2007 17:08:27 +0100 Message-Id: <1194970107.17437.76.camel@okhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 2007-11-13 at 15:52 +0100, Stojce Dimski wrote: > Do you people have considered moving code to Java 5 and maybe using > something like this http://retrotranslator.sourceforge.net/ for > backward compatibility for Java 1.4/1.3 ? There is even a maven plugin > ;-) > Some small dependency as > http://backport-jsr166.sourceforge.net/index.php could bring benefits > of java.util.concurrent... > Many many users which use Java 5/6 will have not even one dependency... > What is the reason to remain on 1.3, and religious refuse to any > dependency ? > There are http://code.google.com/p/google-collections/ which will > probably become a part of Java7, have a look: > http://publicobject.com/2007/09/series-recap-coding-in-small-with.html > and tell me if this is of no use and benefit... > Maybe some small compromise could benefit greatly, WDYT ? > > Hi Stojce Here's my personal take on this issue (1) Initially the main reason for 1.3 compatibility was easy portability to Java Micro Edition. Now, as Sun is believed to be considering deprecating JME in favor of straight JSE, 1.3 compatibility may no longer be of any practical value, but 1.4 compatibility may still prove useful. (2) HttpCore is meant to be used at the very bottom of a complex component stack. The use of external dependencies has unpleasant implication of forcing the user into transitive dependency on a _specific_ version of those dependencies. The more transitive dependencies there are, the higher are the chances of running into a version conflict. Low level libraries such as HttpCore ought not have external dependencies if they want to play nicely with other libraries. HttpCore is currently a more mature set of components in HttpComponents, but in future its importance will lessen as there will be other higher level components built on top of it such as HttpClient, which are more suitable for end users. We can certainly be much less restrictive about JRE compatibility requirement and the use of external dependencies for those components. I personally would favor upgrading HttpClient 4.0 to Java 1.5, for instance. It is still not too late. Oleg > ___________________________________ > L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org