Skip to content

schulzzw/cf-workshop-spring-mvc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pivotal CF Workshop - Spring MVC

Introduction

This is the Spring MVC sample application for the Pivotal CF Workshop. It is intended to demonstrate some of the basic functionality of Pivotal CF:

  • Pivotal CF target, login, and push
  • Pivotal CF environment variables
  • Pivotal CF service variables
  • Scaling, router and load balancing
  • Health manager and application restart
  • RDBMS services and application auto-configuration

Building, Packaging, and Deploying

###To get the source code and build the WAR file

git clone https://github.com/pivotal-cf-workshop/cf-workshop-spring-mvc

mvn clean package

###To run the application

The application is set to use an embedded H2 database in non-PaaS environments, and to take advantage of Pivotal CF's auto-configuration for services. To use a MySQL Dev service in PCF, simply create and bind a service to the app and restart the app. No additional configuration is necessary when running locally or in Pivotal CF.

In Pivotal CF, it is assumed that a MySQL Dev service will be used.

About

Spring MVC web app for Pivotal CF workshop

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 85.7%
  • JavaScript 14.3%