Re: Is HttpClient supported by non-Sun VMs?

2003-07-03 Thread Michael Becke
Yes NTLM and SSL would probably be lost.

I agree.  I think 1.1 is old enough that it should be forgotten.  Having 
said that, doing some minor refactoring work to make HttpClient work in 
1.1 is certainly much better then reinventing the wheel.

I guess my intent is to encourage people to make their own 1.1 port of 
HttpClient.   I was able to get the unit tests (local and no host) up 
and running in eclipse with 1.1 in about 15 minutes.  This is not 
something that I would like to maintain alongside the standard 
HttpClient, but it certainly can be done.

Mike

Oleg Kalnichevski wrote:
NTLM & SSL as standard features would also have to go (there are some
Java 1.1 compatible JCE & JSSE implementations but I do not know of any
available under open-source licence)
In general the use of Java 1.1 should be strongly discouraged in my
opinion. The users of legacy platforms like Mac OS < 10 and IE should
feel the pressure to upgrade (side-grade in case of IE ;-))
Oleg

On Thu, 2003-07-03 at 19:34, Michael Becke wrote:

I was just looking at how much work is required to make HttpClient work 
in a 1.1 JVM.  Suprisingly it would not be that hard.  Mostly it would 
just require the 1.1 collections jar and some package import rewriting. 
 There are a few things like GCed connection reclaiming in 
MultiThreadedHttpConnectionManager and the use of 
Socket.sendBufferSize() that would need to be removed but that's about 
it.  Is there enough interest in 1.1 support for a semi-supported version?

Mike

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Is HttpClient supported by non-Sun VMs?

2003-07-03 Thread Wilcox, Mark
I'd agree. I think at some point you just have to put the line in the sand (funny when 
we do it, it's ok, when M$ did it with Win 3.1 with Win95, we bitch and moan :) 
because the costs of maintaining for older JDK's are much higher than any benefits on 
those platforms.
 
Mark
 
 

-Original Message- 
From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] 
Sent: Thu 7/3/2003 1:52 PM 
To: Commons HttpClient Project 
Cc: 
    Subject: Re: Is HttpClient supported by non-Sun VMs?



NTLM & SSL as standard features would also have to go (there are some
Java 1.1 compatible JCE & JSSE implementations but I do not know of any
available under open-source licence)

In general the use of Java 1.1 should be strongly discouraged in my
opinion. The users of legacy platforms like Mac OS < 10 and IE should
feel the pressure to upgrade (side-grade in case of IE ;-))

Oleg


On Thu, 2003-07-03 at 19:34, Michael Becke wrote:
> I was just looking at how much work is required to make HttpClient work
> in a 1.1 JVM.  Suprisingly it would not be that hard.  Mostly it would
> just require the 1.1 collections jar and some package import rewriting.
>   There are a few things like GCed connection reclaiming in
> MultiThreadedHttpConnectionManager and the use of
> Socket.sendBufferSize() that would need to be removed but that's about
> it.  Is there enough interest in 1.1 support for a semi-supported version?
>
> Mike
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Re: Is HttpClient supported by non-Sun VMs?

2003-07-03 Thread Oleg Kalnichevski
NTLM & SSL as standard features would also have to go (there are some
Java 1.1 compatible JCE & JSSE implementations but I do not know of any
available under open-source licence)

In general the use of Java 1.1 should be strongly discouraged in my
opinion. The users of legacy platforms like Mac OS < 10 and IE should
feel the pressure to upgrade (side-grade in case of IE ;-))

Oleg


On Thu, 2003-07-03 at 19:34, Michael Becke wrote:
> I was just looking at how much work is required to make HttpClient work 
> in a 1.1 JVM.  Suprisingly it would not be that hard.  Mostly it would 
> just require the 1.1 collections jar and some package import rewriting. 
>   There are a few things like GCed connection reclaiming in 
> MultiThreadedHttpConnectionManager and the use of 
> Socket.sendBufferSize() that would need to be removed but that's about 
> it.  Is there enough interest in 1.1 support for a semi-supported version?
> 
> Mike
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Is HttpClient supported by non-Sun VMs?

2003-07-03 Thread Michael Becke
I was just looking at how much work is required to make HttpClient work 
in a 1.1 JVM.  Suprisingly it would not be that hard.  Mostly it would 
just require the 1.1 collections jar and some package import rewriting. 
 There are a few things like GCed connection reclaiming in 
MultiThreadedHttpConnectionManager and the use of 
Socket.sendBufferSize() that would need to be removed but that's about 
it.  Is there enough interest in 1.1 support for a semi-supported version?

Mike

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Is HttpClient supported by non-Sun VMs?

2003-07-03 Thread Kalnichevski, Oleg
Robert,
Welcome to the club. I use HttpClient for a similar purpose: exchanging XML formatted 
files between a client and a server, (or as I like referring to it: poor man's SOAP). 
And [sigh] I do have to support all those two and a half users who insist on using 
MacOS 9.x with no Java 2 compatible JVM. 

If you do not need a full blown HTTP protocol support, you might be much better off 
just writing to a raw socket. I am not that lucky. I'll have to fork HttpClient at 
some point and port it to Java 1.1.8. 

Oleg


-Original Message-
From:   Robert Csiki [mailto:[EMAIL PROTECTED]
Sent:   Thu 7/3/2003 16:51
To: 'Commons HttpClient Project'
Cc: 
Subject:    RE: Is HttpClient supported by non-Sun VMs?
Oleg,

That's what I was affraid of.
The only reason I wanted to use it in my applet was to solve memory issues
for large file uploads (java.net.URLConnection allways buffers the output
before sending and for large files I got out of memory error message).
The applet is part of a product that must support all Windows and Macintosh
browsers.
Having that known, I cannot use HttpClient and have to try another solution
to handle my issue.

Thank you.
Robert

-Original Message-
From: Kalnichevski, Oleg [mailto:[EMAIL PROTECTED]
Sent: July 3, 2003 10:42 AM
To: Commons HttpClient Project
Subject: RE: Is HttpClient supported by non-Sun VMs?


Robert,
If my memory does not fail me, IE is shipped with Microsoft JVM 1.1.4.
HttpClient requires a Java 2 compatible (1.2.x and above) JVM.  I am afraid
your only option is to deploy Sun's Java plug-in for IE if you want to be
using HttpClient in an applet. As to Mac OS 9.x, to my best knowledge, Java
2 is not even officially supported by Apple on that platform. The highest
JVM version supported on MacOS 9.x is 1.1.8. 

Oleg



-Original Message-
From:   Robert Csiki [mailto:[EMAIL PROTECTED]
Sent:   Thu 7/3/2003 16:06
To: '[EMAIL PROTECTED]'
Cc: 
Subject:        Is HttpClient supported by non-Sun VMs?

> Hi,
> 
> I want to use HttpClient inside an applet that will run in both Microsoft
> VM (Internet Explorer) and MRJ (Macintosh browsers).
> Are those supported Virtual Machines?
> 
> Thanks!
> Robert








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is HttpClient supported by non-Sun VMs?

2003-07-03 Thread David Kavanagh
Robert,
They way I solved this for one project was to do a custom uploader to my 
own servlet. You can get much better performance streaming your own 
binary data to a servlet you control. You can even deflate the data first.

David

Robert Csiki wrote:

Oleg,

That's what I was affraid of.
The only reason I wanted to use it in my applet was to solve memory issues
for large file uploads (java.net.URLConnection allways buffers the output
before sending and for large files I got out of memory error message).
The applet is part of a product that must support all Windows and Macintosh
browsers.
Having that known, I cannot use HttpClient and have to try another solution
to handle my issue.
Thank you.
Robert
-Original Message-
From: Kalnichevski, Oleg [mailto:[EMAIL PROTECTED]
Sent: July 3, 2003 10:42 AM
To: Commons HttpClient Project
Subject: RE: Is HttpClient supported by non-Sun VMs?
Robert,
If my memory does not fail me, IE is shipped with Microsoft JVM 1.1.4.
HttpClient requires a Java 2 compatible (1.2.x and above) JVM.  I am afraid
your only option is to deploy Sun's Java plug-in for IE if you want to be
using HttpClient in an applet. As to Mac OS 9.x, to my best knowledge, Java
2 is not even officially supported by Apple on that platform. The highest
JVM version supported on MacOS 9.x is 1.1.8. 

Oleg



-Original Message-
From:   Robert Csiki [mailto:[EMAIL PROTECTED]
Sent:   Thu 7/3/2003 16:06
To: '[EMAIL PROTECTED]'
Cc:     
Subject:    Is HttpClient supported by non-Sun VMs?
 

Hi,

I want to use HttpClient inside an applet that will run in both Microsoft
VM (Internet Explorer) and MRJ (Macintosh browsers).
Are those supported Virtual Machines?
Thanks!
Robert
   





 




RE: Is HttpClient supported by non-Sun VMs?

2003-07-03 Thread Robert Csiki
Oleg,

That's what I was affraid of.
The only reason I wanted to use it in my applet was to solve memory issues
for large file uploads (java.net.URLConnection allways buffers the output
before sending and for large files I got out of memory error message).
The applet is part of a product that must support all Windows and Macintosh
browsers.
Having that known, I cannot use HttpClient and have to try another solution
to handle my issue.

Thank you.
Robert

-Original Message-
From: Kalnichevski, Oleg [mailto:[EMAIL PROTECTED]
Sent: July 3, 2003 10:42 AM
To: Commons HttpClient Project
Subject: RE: Is HttpClient supported by non-Sun VMs?


Robert,
If my memory does not fail me, IE is shipped with Microsoft JVM 1.1.4.
HttpClient requires a Java 2 compatible (1.2.x and above) JVM.  I am afraid
your only option is to deploy Sun's Java plug-in for IE if you want to be
using HttpClient in an applet. As to Mac OS 9.x, to my best knowledge, Java
2 is not even officially supported by Apple on that platform. The highest
JVM version supported on MacOS 9.x is 1.1.8. 

Oleg



-Original Message-
From:   Robert Csiki [mailto:[EMAIL PROTECTED]
Sent:   Thu 7/3/2003 16:06
To: '[EMAIL PROTECTED]'
Cc:     
Subject:    Is HttpClient supported by non-Sun VMs?

> Hi,
> 
> I want to use HttpClient inside an applet that will run in both Microsoft
> VM (Internet Explorer) and MRJ (Macintosh browsers).
> Are those supported Virtual Machines?
> 
> Thanks!
> Robert






RE: Is HttpClient supported by non-Sun VMs?

2003-07-03 Thread Kalnichevski, Oleg
Robert,
If my memory does not fail me, IE is shipped with Microsoft JVM 1.1.4. HttpClient 
requires a Java 2 compatible (1.2.x and above) JVM.  I am afraid your only option is 
to deploy Sun's Java plug-in for IE if you want to be using HttpClient in an applet. 
As to Mac OS 9.x, to my best knowledge, Java 2 is not even officially supported by 
Apple on that platform. The highest JVM version supported on MacOS 9.x is 1.1.8. 

Oleg



-Original Message-
From:   Robert Csiki [mailto:[EMAIL PROTECTED]
Sent:   Thu 7/3/2003 16:06
To: '[EMAIL PROTECTED]'
Cc: 
Subject:    Is HttpClient supported by non-Sun VMs?

> Hi,
> 
> I want to use HttpClient inside an applet that will run in both Microsoft
> VM (Internet Explorer) and MRJ (Macintosh browsers).
> Are those supported Virtual Machines?
> 
> Thanks!
> Robert




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Is HttpClient supported by non-Sun VMs?

2003-07-03 Thread Robert Csiki

> Hi,
> 
> I want to use HttpClient inside an applet that will run in both Microsoft
> VM (Internet Explorer) and MRJ (Macintosh browsers).
> Are those supported Virtual Machines?
> 
> Thanks!
> Robert