Using Spring’s Java based configuration.

Using Spring’s Java based configuration is fairly straightforward and more flexible. In order to do it, you will have to annotate your java class, that is going to contain your beans, with @Configuration and as we have added the component-scan in our one post...

Configure servlets in Grails application.

Recently, I had to configure jolokia in my grails application. Jolokia is a JMX-HTTP bridge giving an alternative to JSR-160 connectors. Grails doesn’t provide web.xml directly to configure but you can do it by installing the templates. Just issue the following...