added code of JavaSpring project