What is retrofit? A type-safe REST client for Android and Java. It is simple to use and much efficient as compare to other methods of using REST apis like Asynctask or Volley. Retrofit is developed by Square and is well documented. Using this library provides a great performance improvement for performing network operations using various […]
In this blog, I will show you how to build responsive table layout with using CSS only. The best practice says not to use table while creating HTML markup but sometime we came across such situations to use table to show tabular data. In the tabular data, sometime it’s not easy to manage in different […]
When to Use Protractor for automation testing? Protractor is an end-to-end testing framework for AngularJS applications. It is customized for selenium to create tests for AngularJS applications like locator strategies are based on angular js specifically. Protractor is based on AngularJS concepts, Which makes it easy to use if you already know about AngularJS.It is […]
Background Recently (in a project) we were required to determine the master node from a pool of similar type of nodes. And if master node fails, any other node should take on the responsibility – so that the service remains available. So, the use-case was something like – Only single node should behave as a […]
Objective My purpose to write this blog post is just to briefly introduce you to Apache Curator framework, esp. in case you have been using Apache ZooKeeper Java API but never tried Curator framework. In such case, I strongly recommend you to try Curator. Difficulties while using ZooKeeper API Handling the client/server connections. Writing so […]
Local networks are now being flooded with political campaign advertisements, presidential aspirants have begun to promise that they will build bridges on non-existent rivers just to win the votes of the masses. Meanwhile, avid supporters have spilled out on the streets to boost their candidate’s morale and spates of screaming headlines and mudslinging against presidential […]
In computing, Hazelcast is an open source in-memory data grid based on Java. This blog will help you to tune the performance of your Grails application using Hazelcast. Integrating Hazelcast with Grails Step 1: Setup Hazelcast server using server.sh (Packaged within Hazelcast zipped bundle): Download the Hazelcast .zip from this link http://hazelcast.org/download/ Execute server.sh from hazelcast-<version>/bin […]
This blog is about using Amazon Elasticsearch with Amazon Cloudwatch. I had a use case where I have to make a setup for centralised logs, which can be done by using Amazon ElasticSearch and CloudWatch services. Pre-requisites: New Amazon Elasticsearch Instance can be setup from here. A new EC2 Instance with an attached role having […]
Appium is an open source tool for mobile application. It is a bridge or we can say in simple terms it is a mediator between PC and mobile. It supports three types of mobile application i.e. native, web application and hybrid. Native Applications are developed for use on a particular device or platform. It is installed […]
This blog post refers to a newly established concept in Docker Technology i.e. Docker Swarm. The Swarm can be used for clustering of more than one Docker engines. Using Swarm, Docker containers can be launched to any node in the cluster. It comprises of 2 logics based on which containers can be launched and managed […]
Building a Docker image from a Dockerfile, creating a latest tag and pushing it on DockerHub are equivalent to executing three different commands manually. This could be automated by creating a bash script. Well, that was not a big deal until I had a requirement where I needed to perform above actions and additional task […]
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 […]