ryl Pentz <[EMAIL
> PROTECTED]>
> Sent: Tuesday, September 9, 2008 9:25:07 PM
> Subject: Re: Piggybacking HTTP with binary protocol
>
> On Tue, Sep 9, 2008 at 1:10 PM, Darryl Pentz <[EMAIL PROTECTED]> wrote:
>
>> Thanks for that suggestion - I'll definitely look
Hi Hassan, pardon my stupidity, but how exactly do you do what you're
suggesting?
- DP
- Original Message
From: Hassan Schroeder <[EMAIL PROTECTED]>
To: Tomcat Users List ; Darryl Pentz <[EMAIL
PROTECTED]>
Sent: Tuesday, September 9, 2008 9:25:07 PM
Subject: Re:
On Tue, Sep 9, 2008 at 1:10 PM, Darryl Pentz <[EMAIL PROTECTED]> wrote:
> Thanks for that suggestion - I'll definitely look into it. In the meantime
> what we've done is to solve our problem in the hardware, by using 2 network
> cards (i.e. 2 IP addresses)
Uh, you don't need multiple NICs to h
eaner, and hardware is cheap cheap these days.
But I will have a look at the Apache client nonetheless.
Thanks,
Darryl
- Original Message
From: Raymond Kroeker <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Tuesday, September 9, 2008 5:41:20 PM
Subject: Re: Piggybacking HTTP with
Darryl,
One thing I might suggest is instead of rolling your own http
client; is to use the http client from apache http://hc.apache.org. I
use it myself for various projects including binary data transfer. It
will let you focus on your protocol instead of having to implement
http.
Raymo
Darryl-
you're encountering a content-length restriction
one workaround is to transmit as a MTOM binary attachment
I believe the current hard-limit is 1GB for attachment size
http://wso2.org/library/264
complete guide is available at
http://ws.apache.org/axis2/1_0/mtom-guide.html
HTH
Martin
_