Sample of boilerplate code for Java+Spring