Dockerising Grails applications with an embedded Tomcat

The applications built on the Grails framework can be run (often referred to deployment) on either standalone or embedded Tomcat. Grails applications can be deployed in a number of ways,…

Share files and directories on the host machine with docker containers

If you used to access files and directories of the host machine from a virtual machine (VM), I believe you have been aware of sharing folders between guest and host…

How to create a temporary file to store data

Your application has to write data out in a temporary file to reprocess them before rendering to users. The file will be created temporarily and swept our when the application…

Fastest way to get the first n elements of a List or an Array

Which is the fastest way to get the first n elements of a List or an Array? Let’s give a context where we want to extract some first elements from…

How to console.log in JSX

https://medium.com/javascript-in-plain-english/can-you-console-log-in-jsx-732f2ad46fe1

Running Redis Server on a Docker container

[dropcap]W[/dropcap]hen reading this post, I am thinking of the fact that you are curious at the reasons why we have to do so and why we don’t install Redis Server…

Deploying your first web application to Tomcat on Docker

Before reading this post, you are expected to be familiar with deploying a web-based application to Tomcat or any similar web container. To add another way of deploying your web…

Create Symbolic Links on Windows

Your Python codes store and resident in many places on your computer. Is this a bit messed up to remember which Python directory you are looking for, isn’t it? On…

Use PowerShell to Set Environment Variables

What Are Environment Variables? Two fundamental components of any computer programming language are variables and constants. Like independent variables in a mathematical equation, these take on values that change the results of the…

An annoyed error needed to be paid more attention when using RestBuilder grails plugin

In the previous post about consuming web services in Grails using RestBuilder grails plugin, I explained how to set up a call to the remote service provider. However, I have…