I need to define a string value in Spring context XML file that is shared by multiple beans.
This is how I do it:
<
Something I've used in the past is SpEL to make sure that a bean has the same value as another:
I have found this to be particularly useful when setting the value did something other than a simple assignment.