Nodester is now AppFog

Quickly add Java, Java Grails, PHP, Python, Ruby, Node.js, … apps.

The free one allows unlimited apps like Heroku.

It also supports a bunch of free services like OpenShift (MySQL, Postgresql, MongoDB, RabbitMQ, and Redis <- very few support this great NoSQL option).

Fast, free and a slick web GUI.

Your choice of data hosting (Amazon, Rackspace, HP or Azure) in different locations (Virginia, Europe, Asia, Dallas, Vegas and San Antonio.)

Up to 2 Gigs free, up to 8 services.

Running CloudFoundry Sample

Docs for accessing mysql

On Windows 7

af login
gem update --system gem install af
mvn clean package af update tspannjavajava gem update --system Latest version currently installed. Aborting. gem install af Successfully installed af-0.3.18.11 1 gem installed Installing ri documentation for af-0.3.18.11... Installing RDoc documentation for af-0.3.18.11... af login Attempting login to [https://api.appfog.com] Email: email@email.com Password: ***************** Successfully logged into [https://api.appfog.com] mvn install F:Projectscloudfoundry-sampleshello-java>af update tspannjavajava Uploading Application:   Checking for available resources: OK   Packing application: OK   Uploading (12K): OK Push Status: OK

RabbitMQ

Need to move WEB-INF to maven root

Failed until I made the directory exactly like ZIP file source code download, see META-INF and WEB-INF.

Directory of Projectscloudfoundry-sampleshello-java

01/22/2013  02:37 PM    <DIR>          .

01/22/2013  02:37 PM    <DIR>          ..

01/22/2013  02:37 PM                42 .gitignore

01/22/2013  02:37 PM             5,312 README.md

01/22/2013  02:37 PM    <DIR>          src

04/16/2012  11:38 PM               692 pom.xml

04/16/2012  11:39 PM               117 pom.properties

01/22/2013  02:45 PM    <DIR>          target

01/22/2013  02:37 PM    <DIR>          WEB-INF

4 File(s)          6,163 bytes

5 Dir(s)  15,830,614,016 bytes free

Projectscloudfoundry-sampleshello-java>af update tspannjavajava

Uploading Application:

Checking for available resources: OK

Packing application: OK

Uploading (15K): OK

Push Status: OK

Stopping Application ‘tspannjavajava’: OK

Staging Application ‘tspannjavajava’: OK

Starting Application ‘tspannjavajava’: OK

F:Projectscloudfoundry-sampleshello-java>

Spring

same as cloudfoundry

https://github.com/SpringSource/cloudfoundry-samples/wiki/Cloud-foundry-environment-variables

http://blog.springsource.org/2011/10/13/using-cloud-foundry-services-with-spring-part-1-the-basics/

Similiar to Stackato

http://docs.stackato.com/deploy/languages/java.html

http://jackson.codehaus.org/1.0.1/javadoc/org/codehaus/jackson/JsonNode.html

http://blog.springsource.org/2011/10/13/using-cloud-foundry-services-with-spring-part-1-the-basics/

http://docs.stackato.com/deploy/services/data-services.html#database-services-advanced

https://github.com/Stackato-Apps/hello-java-mysql

Leave a comment

Your email address will not be published.

*