RSS Feed Subscribe to RSS Feed

 

Cloudbees

I’ve been using CloudBees a lot recently for deploying to ‘the cloud’.
There are a couple of things that attract me to CloudBees…
Read more

Tags: , , , , ,

Spring MVC Hello World with Continuous Deployment

Oh dear, yet another ‘Hello World!’. But although the functionality is trivial, this little SpringMVC project is complete enough for me to use as a template to bootstrap more complex projects. It consists of:

  • HTML/JSP client
  • SpringMVC server using a Controller/Service/DAO design
  • Maven for build and dependency management

This is an updated version of an older project I created, with the following enhancements:

  • Added a full suite of automated tests (unit, integration and browser based)
  • Added placeholders for JavaScript and images (both can be a little tricky to put in the correct place with SpringMVC)
  • Incorporated into a continuous deployment environment

More details below, but you can find the full source code on this GitHub repository

(Previously I had the code deployed on a CloudBees instance at http://springmvc.shaunabram.cloudbees.net, but CloudBees have since unfortunately shut down their free tier).

Read more

Tags: , , , , , , , , , , ,

First experiment with Cloud Foundry

I’m at a Cloud Foundry conference today. Cloud Foundry is an open source “cloud” platform as a service (PaaS).

I decided to dive in and try to deploy the server we developed at GiveCamp last week for the ‘Big Brothers and Big Sisters’ charity project. I started by mavenizing the project, so I had a war to deploy.

Then, I created a free Cloud Foundry account, installed their ‘vmc’ command line tool and ran the ‘vmc push’ command to deploy my way to the cloud. And it worked straight off! Don’t you just love it when tools just work?

Our webservice is now running on a remote server that can be accessed by the iPhone and Android apps the team is developing. We still have some database work to complete, but this feels like a nice step forward.

In the mean time, I am now officially a Cloud Foundry fan…

Tags: , , ,

OSCON Day3 – Google App Engine

I have seen several talks on Google App Engine before, but have still not used it in anger, so this talk, Introduction to Google App Engine, acted as a refresher. It was given by Ikai Lan, a software engineer working for the Developer Programs groups at Google.

Google App Engine is a way to run your applications on Google infrastructure. You push your code to App Engine and it gets scaled out depending on how many instances you need.

My notes from the talk are below, but you can find the full slides here or here.

Read more

Tags: , , ,