As per my understanding,
-> define few spring beans in my xml,
-> load that xml inside web.xml
, which is available throughout my application
Question is
How the internals bean of Spring initialized, i do not include any xml from Spring, is it through Name Space..??
What triggers Spring internal beans to get loaded/initialized with our application beans.
for eg, to read beans defined in xml
file, we provide in web.xml
or scan our package
and enable component scan
, to scan for annotated beans.
But What about Spring beans, beans/classes inside Spring jar.