Implement a custom comparison function for select in Angular 4 using [compareWith]

The Problem There are times when you want to bind a select to a custom object. You use some property of the object for display and you store the entire thing in a field. But, when you receive data from the server, you stumble across a problem. The select does not seem to display correctly…. Continue reading

Install a Spring Boot Application as a Windows Service

Spring Boot applications are versatile by nature and provide a lot of deployment possibilities. In this post, I am going to show you how to install a Spring Boot application as a Windows service. It is a fairly simple process that should take a couple of minutes ๐Ÿ˜‰ 1. Sample Application For this demo, I… Continue reading

How to use the new editor based REST client in IntelliJ

A brand new feature has been introduced with IntelliJ 2017.3, the editor based REST client. This editor allows you to define and execute HTTP requests. You can save them in a file and reuse them whenever you want to test the back-end of your application. I think this is pretty cool from a productivity point… Continue reading

Create Spring Boot Applications using Kotlin in 10 Minutes

Kotlin has been around for a couple of years now. Recently it has become the default language for writing Android applications. So, I think it makes sense to see whether we can use Kotlin to write Spring-enabled applications. In this post, I will guide you in creating a standard Spring Boot application using this exciting… Continue reading

Book Review: Clean Architecture by Robert C. Martin

The primary focus of architecture is to to support the life cycle of the system. Good architecture makes the system easy to understand, develop, maintain and deploy. The ultimate goal is to minimize cost and maximise developer productivity. – Robert C. Martin Who should read this book? Software architects and developers are the ones who… Continue reading

Fix Truncation of @PathVariable After Dot in Spring MVC

The Problem Recently, while working on a project I encountered a strange behavior with the path variable binding in Spring controllers. It seems that, by default, the text after the last dot gets truncated in the @PathVariable value. So I decided to share this problem and a solution for it in this post:) Let’s take… Continue reading