All posts in "Spring"

Hello World in Spring

August 8, 2016

In this lesson of the Spring tutorial, we will create a simple HelloWorld example. To do this, we need to cover at first the topic of the bean in Spring. Beans are just object instances that are managed by Spring. The IoC (Inversion of Control) container, which is one of the core parts of Spring, […]


Dependency injection in Java

August 3, 2016

In this tutorial lesson, we will discuss one of the major concepts of Spring which is dependency injection. Before I explain to you what dependency injection is, let’s have a look on below example. 1. Tightly coupled classes example Let’s create the class named SlowEngine with the method start. For the sake of this example, […]