I'm very thinking about creating a website using Clojure and Compojure, like so:


However, because of my limited knowledge about the Java atmosphere and Java culture, I don't know where to start when looking for an internet-hosting service.

Will I must look for a service that provides me full root access and it has the JDK/JVM? Or exist other needs too?

I personally use Linode 540. Any Linux VPS will most likely work fine. You are able to install the JVM and other things you'll need yourself. Based on what type of site you are running, gradually alter get lots of RAM, since the JVM could be RAM-hungry.

I'd most likely choose Google AppEngine (well, actually I am planning to achieve that eventually).

Here's some reading through to enable you to get began:

Interactive Programming with Clojure, Compojure, Google Application Engine and Emacs

Clojure on GAE

Clojure on the internet AppEngine

You simply need root access + a JVM. After you have that, dealing with Compojure (and it is embedded Jetty) is like it's in your desktop.

I suggest Rackspace Cloud (http://world wide web.rackspacecloud.com/). It's pay-as-you-go, which is ideal for testing, and departing a server running full-time costs only around $12/mo for his or her small instance. And it also causes it to be quite simple to check distributed programs. They have got an excellent admin console and API. (I've no affiliation with Rackspace apart from as being a satisfied customer).

If you wish to make use of a better qualityOrpopular Java server rather than Jetty, you are able to deploy a WAR bundle of the application to Tomcat, Glassfish, Weblogic, etc. Setting up and setting up individuals is past the scope of the question, but implementing a WAR for them is an easy, well-recorded procedure.


Because the other commenter pointed out, if you want to get began having fun with Compojure, it can be done easily in your local machine. There's you don't need to proceed to a server until you need to start serving pages openly.

Consider one of the numerous VPS solutions available. Slicehost and Linode both appear popular. You may also host Clojure+Compojure programs on the internet Application Engine.

Heroku now do clojure hosting: https://gist.github.com/1001206 - it's completely new, so no clue how reliable it's, but might be a great beginning point.

It's also wise to have the ability to get began free of charge with AWS Free Usage Tier having a free EC2 micro instance http://aws.amazon . com.com/free/

You might take a look at Amazon's Elastic Beanstalk, and CloudBees. I can not discuss which could well be perfect for clojure because I'm within the research stage myself. This can be helpful in determining which to choose:

http://world wide web.ibm.com/developerworks/java/library/j-paasshootout/?ca=drs-

UPDATE: this looks very worthwhile (even when the title seems like something you'd get in an adult toy shop): http://world wide web.jelastic.com/