How to embed java.util.properties in spring bean?
Answer / Kapil Agari
You can embed a java.util.Properties object in a Spring bean by defining the Properties object as a field in your bean class, and annotating that field with @Value or @PropertySource.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is spring api?
Differentiate between singleton and prototype bean?
What is webapplicationcontext?
Does spring boot require tomcat? : Spring Boot
What is spring?
What is proxy in spring aop?
What is the use of @service annotation in spring?
What is servlet initializer in spring boot? : Spring Boot
What are the annotation used in spring?
Discuss the benefit of spring framework?
What are different ways to achieve spring ioc?
What is aop in spring with example?