spring way to deal with application properties