Blog
Transactional behaviour in Grails
21 Oct, 18

Transactional behaviour in Grails

During my interaction with several programmers, I came to know that many of them including experienced ones don’t know the meaning of transactions or we can say transactional behaviour. I am going to explain what is a transaction in the context of Spring/Grails....
Events in Spring security
29 Sep, 18

Events in Spring security

Events can be very useful in application development. When we want to intercept a particular action throughout an application, we can make use of events. Let’s take an example of spring security event InteractiveAuthenticationSuccessEvent. When a user is...
Spring annotation in Grails 3
24 May, 16

Spring annotation in Grails 3

I was recently working on a grails project and found that it is possible to read the configuration/properties defined in application.yml using spring annotation in Grails 3. Its possible in Grails 3 because it uses Spring boot under the hood. Here is an example:...
Spring Bean Life Cycle
26 Aug, 15

Spring Bean Life Cycle

Good Evening Folks. Every Java developer knows that at the time of creation of any object if some initialization is required we keep in constructor. Example. Class Math{ Math(){ // initialization code } } When it comes to J2EE Technology like Servlet we can do same...