cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: [OT rant] there must be some way out of here...
Date Wed, 05 Feb 2003 17:44:54 GMT
Niclas Hedhman wrote:


>I wrote a simple HTTP server for Java 2 MicroEdition over the last weekend, 
>with rudimentary Servlet-style support, not according to spec at all, just a 
>simple Servlet interface with two methods.
>And even though I use a multithreaded approach, Threadpooling, RequestHandler 
>pooling and support of SingleThreadModel interface (or multiple requests 
>through the same initialized servlet concurrently), and even a miniature XML 
>parser it is less than 100kB in size (a lot is debug messages, in total 239kB 
>with the Ethernet driver and the J2ME CLDC class library).
>Next step is to squeeze XSL transformation in another 100k or so. Then tackle 
>to get the rest of Cocoon inside, and then we have a Cocoon for PDAs. How 
>about that? Hmmm.... Why? Because it can be done ;o)

Because it _is already_ done.

>Sylvain, I have decided to go my own way... Your quote on memory footprint was 
>too much, only got 512kB for execution (Gates said I would never need more 
>than 640kB, remember?)

The current footprint is without any optimisation of any kind and with 
Saxon as the XSLT engine. Optimizing the bytecode and using XSLTC should 
hopefully lead under the "Gates limit" !

But this is going off topic...


Sylvain Wallez                                  Anyware Technologies 
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }

To unsubscribe, e-mail:
For additional commands, email:

View raw message