Posts

Why Spring

Today we will talk about Spring framework. Though you will find numerous websites and blogging available on internet regarding spring, I am going to put some more insight on why spring was needed and how the spring framework works. The basic motive of spring development was dependency injection and simplified programming model using java-beans (simple POJO). So what is mean by dependency injection.?     Every class will define there dependency. And the spring container will provide you the same.     for eg. You went to restaurant , and asked for a coffee, burgers. Now there are two types how the order will be delivered,         1. Self service. (Service Locator Pattern)         2. Service by the Restaurant staff. (Dependency injection)         1. The Service Locator Pattern:          Now in the above example the Restaurant is the Spring application container who provide all types of services. You ask the Spring application container for one service and look for it yourself.  

Lets Begin

Better late than never Though I wanted to start blogging since my college days, I never really gave great attention to it. In my professional and personal life I have read many blogs, websites, forums. From last few days, I had thinking that in  some ways  we can share our knowledge, thinking with people. You never know it might help someone, change someone else life.  Since I am from Information Technology background I will be mostly posting about technology and related stuff, but you may find some interesting stuff as well, so you will not get bored. विद्यां ददाति विनयं विनयाद् याति पात्रताम् । पात्रत्वात् धनमाप्नोति धनात् धर्मं ततः सुखम् ॥ True knowledge gives discipline, from discipline comes worthiness, from worthiness one gets wealth, from wealth (one does) good deeds, from that (comes) joy.