Example of using spring 4.  Use only java configuration.