Java Spring framework implementation