I've used both and find the Commons httpclient to be much easier to work with. Plus, Innovation HTTPClient doesn't work very well with Multipart Posting. If you have files you want to multipart post you have to pull them into byte[]'s to hand to the post method , this creates huge problems with memory when working with large files. I have a MultipartPost method written for the Commons HttpClient that works with files stored on the file system such that thier references can be handed in and the method "streams" everything, much more effective. I've often wondered why the MultipartPostMethod hasn't been added to the commons httpclient. But that is also the beauty of the commons library as well, you can write your own methods if need be.
-Mark Nikolai Iordanov wrote: >Adrian, > >Thanks for your response. > >Has anyone done a comparison between the Jakarta HTTPClient and the one >from Innovation.ch http://www.innovation.ch/java/HTTPClient/ ? > >Why have both? The one from Innovation seem to be much more "advanced" >so to say. > >Regards, >Nikolai > > > >-----Original Message----- >From: Adrian Sutton [mailto:[EMAIL PROTECTED]] >Sent: 30 September 2002 23:14 >To: 'Jakarta Commons Users List' >Subject: RE: [httpclient] > > > >>Is HTTPClient still under development? >> >> > >HttpClient is still under very active development and is pushing towards >a >2.0 release with great gusto. I can't reliably comment on what is and >isn't >supported as I don't know the standards backwards however it is worth >checking out the docs that come with the distribution as they are pretty >good. > > > >>How does it compares with java.net classes? >> >> > >In terms of comparing to the java.net classes HttpClient is by far and >away >a much better library and includes support for a whole bunch of stuff >that >java.net doesn't. > >Adrian Sutton, Software Engineer >Ephox Corporation >www.ephox.com > >This email and any files transmitted with it are confidential and >intended >solely for the use of the individual to whom they are addressed. >Opinions >contained in this email do not necessarily reflect the opinions of Ephox >Corporation. >If you have received this email in error please notify the sender >immediately and delete all copies of the correspondence from your >computer >and/or computer network. No warranty is given that this message upon its >receipt is virus free and the sender in this respect accepts no >liability. > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
