Factory pattern is used to create objects runtime which provides loose coupling by placing object creation at one placce.Does Spring applies same pattern sincein spring we does coding to interface and keeps objects creation in xml configuration file?…
Factory pattern is used to create objects runtime which provides loose coupling by placing
Share
Yes, Spring allows it, by using
FactoryBeaninterface. For more information follow these links: