We removed our free Sandbox April 25th.
You can read more on our blog.

Play!

The Play framework makes it easy to build web applications with Java and Scala. The framework’s focus is on developer productivity and RESTful architectures.

In this tutorial, we’ll walk through the deployment of the sample chat application that ships with the Play framework.

Create a compressed WAR file

First, download and unzip the latest version of the Play framework. You’ll also want to create a new directory somewhere for your DotCloud app, which will contain the compressed WAR file and your dotcloud.yml file. Change to the directory that contains Play and run:

$ cd samples-and-tests
$ ../play war chat -o /YOUR_APP_DIR/chat.war --zip

Deploy the WAR file to DotCloud

Now, create a DotCloud app:

$ dotcloud create YOUR_APP_NAME

Change to the directory that contains your app and create a dotcloud.yml file with the following contents:

www:
    type: java

“www” can be replaced by whichever name you prefer for this service within your app.

Finally, to push the WAR and dotcloud.yml files to DotCloud, run:

$ dotcloud push YOUR_APP_NAME .

That’s all it takes! Your app will build automatically, and you can find the URL of your new app in the output of the push command.