In Grails if we want to execute code on application startup and stop time . We just need to write our code in grails-app/conf/BootStrap.groovy file.Here we have two closure. 1. init :- Here we write code that we have need to execute at application startup time....
I am back with a new OAuth blog, topic: Integration with Yahoo using Grails OAuth Plugin. So far, we have successfully integrated various OAuth providers in our application: 😎 Facebook Google (OAuth 1.0) Google (OAuth 2.0) LinkedIn Twitter Let’s try one more...
This blog post “Harnessing the power of groovy” demonstrates the power of groovy language. In java, what could take 10-15 lines, in groovy we can achieve it using 1-line code. Multiply Each Number by 2 (1..10).collect{it * 2} Adding numbers in a list...
Recent Comments