Exam4Training

Which mechanism could you use?

You want to externalize constants from your Spring XML configuration file into a .properties file to your Spring beans.

Which mechanism could you use? (select one)
A . Use a PropertyEditor
B . Use a PropertyPlaceholderConfigurer
C . Use <util:constant … />
D . Use a BeanPostProcessor

Answer: B

Exit mobile version