11- Spring Framework - Full Course [Arabic] - Inject Literal Values

Опубликовано: 21 Май 2026
на канале: Ahmed Salah
134
15

In this video, we will build upon our Spring Dependency Injection knowledge by learning how to inject literal values into our Java objects. While we previously focused on injecting helper services, we will now see how to populate fields like email addresses, team names, or configuration constants directly from our XML configuration.

Before we begin:

Review: Look back at the development steps from the previous video on Setter Injection, as we will use a similar workflow.

Challenge: Try to implement the literal injection yourself first!

Resources:

Libraries: Ensure you have the necessary Spring JARs:
https://drive.google.com/drive/folder...

Configuration: Download the updated applicationContext.xml:
https://drive.google.com/file/d/10alg...

Practice: Once finished, check the specific task for literal value injection and solve it:
https://docs.google.com/document/d/1c...