On Sep 9, 4:13 pm, Mike Meyer <mwm-keyword-googlegroups.
620...@mired.org> wrote:
> Here I thought I could save time by choosing a nice, simple example
> application that everyone would understand, rather than spending a lot
> of time explaining (or abstracting out) irrelevant details of some
> real-world application before asking the question about the overhead
> required to deploy java web apps.

The subject of the thread is Simple Things Should Be Simple.  Others
in this thread have done a good job attempting to explain that they
are in fact simple so I won't continue.  Perhaps you should play
around with ring and/or Compojure a bit and learn yourself.  This is
something you would have to do for any serious evaluation anyway.

I will answer your specific question about deploying applications.
While creating a war file may involve some of what you conceive to be
boilerplate, it does so to simplify deployment of multiple
applications to a single server; which is exactly what you're now
asking about.

Download jetty, copy a war into the webapps directory and start the
server.  Done.  Don't like Jetty for some reason?  Download tomcat,
copy the war to the webapps directory, start server.  Done.  Want
another app in that server, just copy the war into webapps.

It's the same with the scripts really.  You think project.clj, lein, a
main class and running java -jar myapp.jar is silly when you can just
gcc myapp.c and run it with myapp.  Sure, but that only works on a
single platform.  The java -jar will work anywhere.  Like I said, you
might think some things are boilerplate or unnecessary, but they're
done that way to provide benefits that are beyond simplicity.

Best of luck to you.

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

Reply via email to