When using Spring Boot @RestController, we are able to return directly an Entity in json format, given that we are able to convert our Entity Class object to Json using Jackson, however if using a ...
Persisting JSONObject Using JPA
Sometimes we don’t want to serialize a JSONObject into a plain old java object (POJO), as it may be a complex JSON resulting in multiple classes, or because we simply want to store json in our rela...
Using sbt jib google's jib inspired sbt plugin to dockerize Play!Framework application
Disclaimer: this plugin is far from being production ready, yet it’s a great attempt to bring jib to sbt This post describes how to dockerize a Play!Framework application using sbt-jib plugin ...
Springboot project using different resource folders for testing
When testing Springboot development, sometimes, we require to have different properties to allow for testing to be made easier. We could make use of the anotation @TestPropertySource and define a ...
How to run a script with maven depending on Windows or Linux host
This is a simple post, that shows how to leverage Maven profiles and Maven Exec plugin to run your scripts according to the underlying OS. An example of usage would be with your CI tool with diffe...