Gagan Agrawal

Gagan Agrawal is a Sr. Consultant at Xebia IT Architects. I have 7 years of experience in Software industry and has worked mainly on Java/J2EE and related technologies. Currently he is working on Groovy/Grails and very much excited to explore more in dynamic language space.


GPars: Solution For Common Concurrency Problems

Computers of current era are shipped with 4,8 or 16 processor cores. However writing multi-threaded code to leverage full power of multi-processor systems has always been a challenging task. Java does provide APIs for writing multi-threaded code, but developer has to deal with low-level concurrency primitives like threads, locks or synchronized blocks which makes the […]

Meta-programming with AST Tranformations in Groovy

Have you ever come across a situation where you want to auto inject a common method or field at compile time to set of classes? AST Transformations is the solution.

AST Transformations provide a wonderful way of manipulating code at compile time via modifications in Abstract Syntax Tree. AST Transformations provides Groovy with improved compile-time […]