Social Media

parkrunPB – Spring MVC/Hibernate Application

I wrote this app to demonstrate some of the features of a number of technologies, and primarily Spring MVC.

The main technologies I’ll be demonstrating are –

  • Twitter Bootstrap and WebJar
  • Spring 3 and Spring MVC
  • Hibernate
  • Mockito

The source code can be downloaded from

Ive deliberately not strayed into proper Spring 4 MVC/Java 8 territory as I want to cover these in a future tutorial


The application itself is based on one of my favourite hobbies parkrunning. These are free weekly 5km running time trials, which started in London, but have expanded throughout the UK and globally. They are open to all, so you see everything from Olympic athletes to walkers. You also have people running with buggies or dogs. If your into running or want to get into running then it’s a good place to start.

The application is fairly simple – take your 5k time at one parkrun, then estimate your time on other courses by using the ratio of average times for the courses. Ive restricted the courses to only those in Scotland – but you could add more.

About the Author Martin Farrell

My name is Martin Farrell. I have almost 20 years Java experience. I specialize inthe Spring Framework and JEE. I’ve consulted to a range of businesses, and have provide Java and Spring mentoring and training. You can learn more at About or on my consultancy website Glendevon Software

follow me on:

Leave a Comment: