As we know that Docker has released a newer version of their Docker Engine i.e. version 1.9. One major change is in the way we handle Docker networking and that is what we will be talking about in this blog. You can install the latest version of Docker from this link. It is supported in the newer […]
I was trying to intercept method calls of a Grails Service class for a little while. Adding interceptors to Controllers is really easy and I wanted to intercept calls to one of the methods in a Service class in a similar fashion. But adding interceptors to Grails Service Classes is not as straightforward as for […]
In case you are using Grails resources plugin and at some point you need to generate the static resource link in some service or ordinary ‘src’ class – following is a quick code that can help you getting the resources link/URL (by using resources tag lib only). The good part is that it’s not a […]
In a recent project we were required to move our static content files to some CDN because servers were getting millions of hits every hour and many of the resources on the main page were static (like JS/CSS/etc). I hope most of the people understand CDN already. So, I’m not covering any information on CDN […]
Jetty is one of the many open source HTTP servers and servlet containers available today. The key features that help us decide to use Jetty are: Performance: Jetty focuses on multi-HTTP connections to reduce page load time significantly Smaller Memory Footprint: It also takes up a very small amount of the sever’s available memory so […]
Chef, a configuration management tool not only brings a lot of functionality to DevOps but can also ease the process of multiple deployments at the same time. A major use case of Chef is to deploy the latest code on your old as well as new production servers. Chef, with its enormously great functionalities, can […]
Groovy by default uses dynamic dispatch. Dynamic Dispatch could be defined as the capability of adding or replacing units of code at run time. For example, we can change the definition of a method or we can add new methods to a class at run time using metaprogramming in Groovy. Even after being a powerful […]
jQuery DataTables is simple to use as a jQuery plug-in with a huge range of customizable options. As discussed in a previous blog, we already know how to draw a basic paginated html table using DataTables. Another way is to make an ajax call for every page. This causes multiple requests to be made on […]
Recently in my project, we needed to store documents on some cloud based storage. So we choose Amazon S3 as it is secure and has proper backup mechanism and enough data centres so that we have minimum latency to access the server. Amazon has provided a great API available in different languages and we can […]