The person class contains property named name which is of string type. Calling a method with parameters. Spel examples with both xml and annotation based configuration.