Best practices and code templates for Spring