Integration with spring now working.