Integrate with spring - global configuration and java conf for controllers