Multiple level sorting in Groovy

When we interact with database records, we specify a criteria with an order(asc or desc) to get the results sorted by a particular field. Usually we sort on the basis of one field but a situation may arise to sort the objects on the basis of two or more fields. Here...

Access git information during war build

GIT is a widely used version control system which really helps us to keep track of our code in a quite managed way. When we have frequent deployments on server it becomes important to know the details of the build, commit reference, date of build etc. Though we have...

Send SMS using Twilio Java SDK

Using Twilio an application can communicate with other devices like phone, fax, other web applications. In this blog, we will see how to send a text message on phone with the minimum code. Step1 — Add library First, you need to add Twilio library in your...