Spring jdbc template example

JdbcTemplate class is the central class in the JDBC core package of Spring framework. It handles the creation and release of resources, performs the basic tasks of the core JDBC programming  such as statement creation and execution, closing the statement and the jdbc connection. The… Read More

Why Spring framework

One of the hardest part in learning Spring is to understand why do you need spring and what is it exactly. Once this is clear, rest all becomes easy. Spring is generally described as ” A light weight framework for building Java applications”. This means… Read More

Spring Dependency Injection – DI

Spring uses inversion of control to satisfy dependencies between objects. Traditional approach before Spring framework was to hard code the dependencies and this creates tightly coupled code and there was no easy way to change that. People used to minimize this tight coupling, by resorting… Read More