Spring aims to facilitate good programming practice, such as programming to interfaces, rather than classes

Use of an IoC container such as Spring greatly reduces the complexity of coding to interfaces, rather than classes, by elegantly concealing the specification of the desired implementation class and satisfying its configuration requirements. Callers using the object through its interface are shielded from this detail, which may change as the application evolves.

No comments:

Post a Comment