In this article I will explain the key concepts behind Spring Framework and how to use it further to build web apps.
Continue readingioc
IOC in Spring
A famous example of explaining the Inversion of Control (IOC) concept is the Holywood principle which states “Dont’ call us, we will call you”. Without a doubt, it is a very accurate analogy, hence the amount of people referencing it as an analogy. Usually, classes create dependencies. However, IOC gives us the opposite functionality –…
Continue readingDependency Injection in Spring Example
In this tutorial you are going to learn what Dependency Injection in Spring is, how it works and how you can use it. What is Dependency Injection? Dependency Injection is one of the fundamentals of Spring which you must know. When you create a complex application, chances are you are going to have different objects…
Continue reading