How to consume web service from Grails 4 applications

Recently, I have shared my experience in using grails 2.5.x to consume RESTful API/WebServices. In addition, to know how to retrieve remote data via RESTful WebServices with Grails 3 or…

How to build and render data in JSON format with Grails

Nowadays, an awful lot of web based applications are using JSON as a principal data to load and render information rapidly. While some applications store data into persistence volume as…

How to consume web services in Grails

Frankly, implementing RESTful API endpoints/services is a vital part of any modern web-based applications these days because of inherent advantages of this technology. However, how do you consume RESTful services…

How to change default server port for Grails application

As a web developer, all of us are aware of the number 8080 as the holy port nobody can forget. In Grails based applications, there is no exception at all.…

Spring Autowired Annotation

In this post, we want to introduce to you an annotation that is quite common to ones already familiarised with Spring framework. It is @Autowired annotation that will be presented…

Change server port on a Spring Boot application

Today, developing a web-based application is as easy as getting a hand because there are so many tools that we can build a web server right on your laptop or…

Internalisation of your Grails based application with i18n-asset-pipeline plugin

What I will present below about i18n-asset-pipeline grails plugin which is doing the same job as jquery.i18n.properties.js as such. You probably find a few implementations of jquery.i18n.properties.js on grails plugin…

Getting started with Log4j2

Log4j2 is the upgraded version of Apache Log4j with significant improvements over its predecessor and provides many of the improvements available in Logback while fixing some inherent problems occurred in…

The Groovy Spaceship Operator Explained

Have you ever heard of the spaceship operator? If it is the case, how does it look like? To be honest, I have known it recently when I used this…

ArrayList in Java

ArrayList class implements List interface and it is based on Array data structure. It is widely used because of the functionality and flexibility that it offers. Most of the developers…