Running Workers on Cloud Foundry with Spring

by May 9, 2012

In the two previous posts in this series, we discussed using Cloud Foundry’s new support for standalone apps to deploy worker processes. We looked at an example using Resque for Ruby apps. In this third installment, we explore using Spring to create workers in Java apps.

Also in this series:

Cloud Foundry Improves Support For Background Processing

Running Resque Workers on Cloud Foundry

Running Standalone Web Applications on Cloud Foundry

Let’s walk through an example.
Deploying the Cloud Foundry Twitter Search Sample
Cloud Foundry Twitter Search includes two applications: a standalone Java application that periodically polls Twitter for tweets containing the word “cloud” and a Node.