You could embed Jetty in your application and it will just work. If
you want to get fancy later you could always run it behind Apache or
lighttpd. I haven't done this myself with Clojure, but I've used an
embedded Jetty for test cases in a plain Java application. It's very
simple- probably much more so than CGI- and it will perform much
better than CGI.

I saw a blog post a while back where a guy made a quick and dirty
Clojure web app with Jetty:
http://robert.zubek.net/blog/2008/04/26/clojure-web-server/

On Jul 20, 5:01 pm, "[email protected]"
<[email protected]> wrote:
> I was wondering what the best way of using clojure as a language for
> writing CGI web applications would be. I know that it can be used for
> web programming using java web servers, however I want to be able to
> develop application which can be simply uploaded to a server and `just
> work', like PHP. for which CGI is the only option I know of.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to