I'm not sure about B and D. I know @Value doesn't support SpEL, but I thought @ConfigurationProperties could bind properties from both .properties and .yml files.
I think the correct answers are C and E. @ConfigurationProperties is definitely preferable for type-safety, and it supports relaxed binding but not SpEL.
Chun
10 days agoLyndia
20 days agoShayne
21 days agoLaurel
6 days agoAlease
24 days agoAnnette
29 days ago