You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by John Wang <jo...@gmail.com> on 2009/06/06 05:27:22 UTC

Re: WebLuke - include Jetty in Lucene binary distribution?

Hi guys:
     I am interested in what is the latest decision on webluke - I
downloaded the zip, tried it and love it!

    Does it support all Luke's functionality? (especially the plugin
support)

Thanks

-John

On Sun, Apr 27, 2008 at 7:09 AM, Uwe Schindler <uw...@thetaphi.de> wrote:

> Here another Servlet 2.3 compatible container:
>
> http://panfmp.svn.sourceforge.net/viewvc/panfmp/tools/mini-webserver/trunk/
>
> It does not support web.xml files (instead uses a simple properties file),
> but it supports almost everything needed to get simple servlets running
> with
> path mappings etc. The support for web.xml was left out because of
> compatibility with very old java versions without xml support and to keep
> it
> small. JAR file is about 39 KB plus servlet.jar version 2.3 without JSP
> classes (31 KB) and commons-logging.
>
> We use it currenty for a CD-ROM based Lucene search engine. It's licensed
> in
> "Apache 2.0" and Java 1.3 compatible (no generics, StringBuffer). The SVN
> currenty lacks documentation and startup shell scripts, but a working
> config
> file is supplied.
>
> The SVN contains a little bit more jar files, but needed is only
> webserver.jar, servlet-2.3.jar and commons-logging.jar. Some features are,
> that the static content servlet can serve files directly from ZIP files
> (e.g., http://localhost/file.zip/some/example.txt).
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
> > -----Original Message-----
> > From: Nadav Har'El [mailto:nyh@math.technion.ac.il]
> > Sent: Sunday, April 27, 2008 3:08 PM
> > To: java-dev@lucene.apache.org
> > Subject: Re: WebLuke - include Jetty in Lucene binary distribution?
> >
> > 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: java-dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

Re: WebLuke - include Jetty in Lucene binary distribution?

Posted by mark harwood <ma...@yahoo.co.uk>.
Hi John/Grant.

I haven't done any more in developing WebLuke - although still use it regularly.
As Grant suggests there was an unease (mine) about bloating the Lucene distribution size with GWT dependencies so it wasn't rolled into contrib. However I guess I'm comfortable if no one else is concerned about this.

The GWT skin is useful for remote working but I think Luke could/should be built with a front-end-independent back end leaving the door open for  Swing or SWT front-ends for work with local indexes.
The current "Thinlet" skin is the piece that has the unfortunate GPL dependency. GWT is Apache licensed and so would be OK.

I would probably need to upgrade WebLuke to the latest version of GWT prior to any contribution and would also like to de-GWT-ize the back end. 

I guess the main question is how to manage/build/package the contrib section given WebLuke could bring in Jetty and we already have 2 web-based contrib demos in there that could use this too.

Cheers
Mark







________________________________
From: Grant Ingersoll <gs...@apache.org>
To: java-dev@lucene.apache.org
Sent: Monday, 8 June, 2009 14:03:49
Subject: Re: WebLuke - include Jetty in Lucene binary distribution?

Hey John,

I like WebLuke too, but am not sure what ever became of it.  It seemed like it had a lot of traction (http://www.lucidimagination.com/search/document/3b06db2b12dffb70/webluke_include_jetty_in_lucene_binary_distribution) but that the main objection was the size of the GWT stuff and a Web Server as part of the distribution.

Not sure whether Mark has been maintaining it or not.  

In other words, I'm +1 for WebLuke (and Luke, for that matter, although I know it has some GPL components) being a part of Lucene, even if, just maybe, it isn't part of the main distribution.

-Grant



On Jun 5, 2009, at 11:27 PM, John Wang wrote:

Hi guys:

     I am interested in what is the latest decision on webluke - I downloaded the zip, tried it and love it!

    Does it support all Luke's functionality? (especially the plugin support)

Thanks

-John


On Sun, Apr 27, 2008 at 7:09 AM, Uwe Schindler <uw...@thetaphi.de> wrote:

Here another Servlet 2.3 compatible container:

http://panfmp.svn.sourceforge.net/viewvc/panfmp/tools/mini-webserver/trunk/

It does not support web.xml files (instead uses a simple properties file),
but it supports almost everything needed to get simple servlets running with
path mappings etc. The support for web.xml was left out because of
compatibility with very old java versions without xml support and to keep it
small. JAR file is about 39 KB plus servlet.jar version 2.3 without JSP
classes (31 KB) and commons-logging.

We use it currenty for a CD-ROM based Lucene search engine. It's licensed in
"Apache 2.0" and Java 1.3 compatible (no generics, StringBuffer). The SVN
currenty lacks documentation and startup shell scripts, but a working config
file is supplied.

The SVN contains a little bit more jar files, but needed is only
webserver.jar, servlet-2.3.jar and commons-logging.jar. Some features are,
that the static content servlet can serve files directly from ZIP files
(e.g., http://localhost/file.zip/some/example.txt).

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Nadav Har'El [mailto:nyh@math.technion.ac.il]
> Sent: Sunday, April 27, 2008 3:08 PM
> To: java-dev@lucene.apache.org

> Subject: Re: WebLuke - include Jetty in Lucene binary distribution?
>
> 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: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org




--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using Solr/Lucene:
http://www.lucidimagination.com/search 



      

Re: WebLuke - include Jetty in Lucene binary distribution?

Posted by Grant Ingersoll <gs...@apache.org>.
Hey John,

I like WebLuke too, but am not sure what ever became of it.  It seemed  
like it had a lot of traction (http://www.lucidimagination.com/search/document/3b06db2b12dffb70/webluke_include_jetty_in_lucene_binary_distribution 
) but that the main objection was the size of the GWT stuff and a Web  
Server as part of the distribution.

Not sure whether Mark has been maintaining it or not.

In other words, I'm +1 for WebLuke (and Luke, for that matter,  
although I know it has some GPL components) being a part of Lucene,  
even if, just maybe, it isn't part of the main distribution.

-Grant


On Jun 5, 2009, at 11:27 PM, John Wang wrote:

> Hi guys:
>
>      I am interested in what is the latest decision on webluke - I  
> downloaded the zip, tried it and love it!
>
>     Does it support all Luke's functionality? (especially the plugin  
> support)
>
> Thanks
>
> -John
>
> On Sun, Apr 27, 2008 at 7:09 AM, Uwe Schindler <uw...@thetaphi.de>  
> wrote:
> Here another Servlet 2.3 compatible container:
>
> http://panfmp.svn.sourceforge.net/viewvc/panfmp/tools/mini-webserver/trunk/
>
> It does not support web.xml files (instead uses a simple properties  
> file),
> but it supports almost everything needed to get simple servlets  
> running with
> path mappings etc. The support for web.xml was left out because of
> compatibility with very old java versions without xml support and to  
> keep it
> small. JAR file is about 39 KB plus servlet.jar version 2.3 without  
> JSP
> classes (31 KB) and commons-logging.
>
> We use it currenty for a CD-ROM based Lucene search engine. It's  
> licensed in
> "Apache 2.0" and Java 1.3 compatible (no generics, StringBuffer).  
> The SVN
> currenty lacks documentation and startup shell scripts, but a  
> working config
> file is supplied.
>
> The SVN contains a little bit more jar files, but needed is only
> webserver.jar, servlet-2.3.jar and commons-logging.jar. Some  
> features are,
> that the static content servlet can serve files directly from ZIP  
> files
> (e.g., http://localhost/file.zip/some/example.txt).
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
> > -----Original Message-----
> > From: Nadav Har'El [mailto:nyh@math.technion.ac.il]
> > Sent: Sunday, April 27, 2008 3:08 PM
> > To: java-dev@lucene.apache.org
> > Subject: Re: WebLuke - include Jetty in Lucene binary distribution?
> >
> > 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: java-dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)  
using Solr/Lucene:
http://www.lucidimagination.com/search