Hi,
Depending on the Java VM, ZipInputStream/ZipOutputStream might use
some native libraries for zipping/unzipping. However, we have seen
that on at least a specific combination of Java VM and operating
system using these native libraries resulted in a huge bottleneck. As
far as I remember this was IBM's Java VM 1.4.x on Solaris - not sure
about the OS version.
Regards
--Bruno
On 17.07.2006, at 20:53, Daniel Pfeifer wrote:
Hi Mark,
ULC´s zip carrier stream is based on java.util.zip.ZipInputStream and
...ZipOutputStream.
Greetings,
Daniel
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von markee
Gesendet: Montag, 17. Juli 2006 17:35
An: [EMAIL PROTECTED] Canoo. Com
Betreff: Re: [ULC-developer] Improving performance when sending
bytes in 6.1
On 17 Jul 2006, at 16:34, Daniel Pfeifer wrote:
Hi Mark,
With ULC you cannot switch the carrier stream per request, you can
only set it once per application. However you could write your own
"Filer extension"
for ULC which conceptually does the following (assuming you upload
the
corresponding file to server):
1) The client reads in the file via a zipping stream and buffers it.
2) Then it sends resulting buffered, zipped byte array to the server.
3) The server unzips the resulting byte stream for further
processing.
(You would use the regular way for writing extensions, meaning
subclassing UIProxy and ULCProxy.)
Hope this helps.
Greetings,
Daniel
Thanks for the ideas. Is Canoo using native compression or is it Java?
MArk
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer
------------------------------------------------------------------------
Bruno Schaeffer Tel: +41 61 228 94 44
Canoo Fax: +41 61 228 94 49
Kirschgartenstrasse 7
CH-4051 Basel
http://www.canoo.com [EMAIL PROTECTED]
Beyond AJAX - Java Rich Internet Applications http://www.canoo.com/ulc
------------------------------------------------------------------------
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer