Return-Path: Delivered-To: apmail-click-dev-archive@www.apache.org Received: (qmail 46902 invoked from network); 1 Jun 2010 08:39:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 08:39:16 -0000 Received: (qmail 84204 invoked by uid 500); 1 Jun 2010 08:39:16 -0000 Delivered-To: apmail-click-dev-archive@click.apache.org Received: (qmail 84149 invoked by uid 500); 1 Jun 2010 08:39:15 -0000 Mailing-List: contact dev-help@click.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@click.apache.org Delivered-To: mailing list dev@click.apache.org Received: (qmail 84142 invoked by uid 99); 1 Jun 2010 08:39:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 08:39:14 +0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=FREEMAIL_FROM,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gcwcd-click-development-2@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 08:39:05 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OJMzg-0006c4-Rn for dev@click.apache.org; Tue, 01 Jun 2010 10:38:40 +0200 Received: from 85.121.188.133 ([85.121.188.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Jun 2010 10:38:40 +0200 Received: from a.adrian.tech by 85.121.188.133 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Jun 2010 10:38:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@click.apache.org connect(): No such file or directory From: "Adrian A." Subject: Re: Could Click run on SimpleWeb? Date: Tue, 01 Jun 2010 10:38:25 +0200 Lines: 30 Message-ID: References: <1275211028557-5118280.post@n2.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.121.188.133 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: <1275211028557-5118280.post@n2.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org > Could Click be modified/tweaked easily to run on SimpleWeb server? > > http://simpleweb.sourceforge.net/index.php I don't think it would be an easy task. If you count in how many places javax.* package is used, you will see that it would require quite allot of changes. If such a update would be made, than we would need to throw away the backward compatibility (one of the main selling points of Click) since the servlet API is also exposed to the user applications. > SimpleWeb seems to be the fastest Java based HTTP server to date, and it > supports Velocity too :). It looks fast indeed, but the tests there compare SimpleWeb to jetty 6 - not the new and faster jetty 7 :). Also there's no comparison with Tomcat :) (at least 6, if not the new and faster Tomcat 7 - still RC for now). > Click needs a Servlet Container, but how much of it is really using > (considering that Click has it's own life cycle)? > Couldn't be that part a little bit more generic? (like the templating or the > logging service )? To be able to run on SimpleWeb too? I suppose you could try to run a Click application right now on SimpleWeb too, since SimpleWeb seems to have a Servlet adapter: http://sourceforge.net/projects/simpleweb/files/simpleweb/4.0.6/simple-servlet-0.8.zip/download (You can find some examples of running Tapestry and Wicket on SimpleWeb on the net, so Click should run too) Adrian.