Working with the Grails Database Migration Plugin

Print Friendly, PDF & Email

In this post, I want to share with you some experience you might find useful for your projects when working with the Grails Database Migration plugin. Brief information of the…

Java Remote Debugging

Print Friendly, PDF & Email

https://itnext.io/remote-debugging-spring-boot-on-kubernetes-a5f96a40e5c0 https://medium.com/swlh/remote-debugging-a-java-application-running-in-docker-container-with-intellij-idea-efe54cd77f02 https://www.youtube.com/watch?v=OmQU1p0wQmY&t=608s https://blog.christianposta.com/kubernetes/java-remote-debug-for-applications-running-in-kubernetes/ https://medium.com/swlh/remote-debugging-a-java-application-running-in-docker-container-with-intellij-idea-efe54cd77f02 https://docs.oracle.com/javase/8/docs/technotes/guides/jpda/conninv.html#Invocation    

Optional Parameters in Java: Common Strategies and Approaches

Print Friendly, PDF & Email

Recently, I have written an introduction of default arguments in C++. Now, we are aiming to work with default parameters in Java to see what are similar and different. I…

Deploying a Grails App in a standalone Tomcat Docker container

Print Friendly, PDF & Email

Recently, I have written the post to keep how to dockerise Grails apps with an embedded Tomcat. However, we are entirely able to run Grails apps in a standalone Tomcat,…

Dockerising Grails applications with an embedded Tomcat

Print Friendly, PDF & Email

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,…

How to create a temporary file to store data

Print Friendly, PDF & Email

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

Print Friendly, PDF & Email

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…

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

Print Friendly, PDF & Email

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…

How to test database connection without using Hibernate ORM in Grails

Print Friendly, PDF & Email

You will likely encounter a headache problem when bringing a large project to cloud-based deployment development, especially testing the access of databases if you have to request of accessing internally…

How to consume web service from Grails 4 applications

Print Friendly, PDF & Email

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…