On Sun, Dec 09, 2007, markharw00d wrote about "WebLuke - include Jetty in 
Lucene binary distribution?":
> The only open question is if we should bundle Jetty in the Lucene binary 
> distribution as part of the build packaging. This could be used to 
> launch both WebLuke and the existing luceneweb.war but adds about 6 or 7 
> meg to the overall zipped download size.
> Thoughts?

My thoughts is that 6-7 MB for a tiny HTTP Server and/or servlet engine is
way, way, too much. I'm surprise that Jetty, originally intended to be simple
and embeddable, reached that size (which is 10 times larger than Lucene's core,
for example)!

For demo purposes, I wrote myself something similar, and its (uncompressed)
.class size is:
  14 K for the basic HTTP server
  24 K for the servlet container (jaxax.servlet API support)
And there's also the Servlet API itself from Sun, at around 40 K (this is part
of J2EE but not of J2SE, so you need to include this as well if you want to
use the servlet API). And that's it.

I'm sure that similar tiny Web Servers can also be found on the Web, but if
there's interest, I can see about publishing mine.


-- 
Nadav Har'El                        |       Sunday, Apr 27 2008, 22 Nisan 5768
IBM Haifa Research Lab              |-----------------------------------------
                                    |Why do we drive on a parkway and park on
http://nadav.harel.org.il           |a driveway?

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

Reply via email to