Social Media

Category Archives for Java

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
  • Jackson JSON RESTFUL API

The source code can be downloaded from https://github.com/farrelmr/parkrunPB

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

parkrunPB

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.