Change Mysql password.

  We all have worked in Mysql with the default username ‘root’ and password ‘root’ but we should not keep our Mysql password to default as its insecure. I am here with a blog which helps you change the password of Mysql with minimal steps...

Observer Design pattern

Hello folks, This post is all about to the Observer Design pattern. There is common occurring problem where we need to define ” a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated...

Handle session timeout in Ajax request

Recently, I was working on a grails application in which I wanted to handle session timeout when ajax request was fired. When session expires in case of normal request, the browser redirects to login page which is handled by spring security.   In case of Ajax...