Creating new java project with Cloudfoundry and Spring Source Tool

After picking up SpringSource Tool Suite and Installing the Cloudfoundry plugins creating a new java project is painless, as long as you know which options to choose. From the New wizard you need to choose “Dynamic Web Project”

Target runtime at the time of this post was “Cloud Foundry (Runtime) v1.0” and Dynamic web module version “2.5” with a Configuration of “Default Configuration for Cloud Foundry (Runtime) v1.0”

The Project layout

Creating a new Package and class

Create a classic HelloWorld

Time to extend the HttpServlet and override doGet

Add entries of the servlet and servlet-mapping

Add Application

Start the service

And you have the basic hello world from the cloud foundry samples.


About financecoding
I enjoy coding in dart.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: