spring core examples