java

maven, archetype, tip, jvm, java, build

About Maven Archetypes

The goal of this tutorial post is to first give a quick introduction to Maven Archetypes, to see how useful they can be and how we can easily create and use one. And finally we will walk through few tips I think can be useful to bear in mind when working with Maven Archetypes.
Armel Soro
Armel Soro
6 min read
May 15 2019
jmx, jvm, java, logging, logback, mbean, monitoring, slf4j

Changing the logging level of a running JVM application with jmxterm and Logback, without any downtime

We are going to see how to change the logging level of a running JVM application with jmxterm and Logback, without any application downtime
Armel Soro
Armel Soro
4 min read
Feb 14 2019
graalvm, graal, jpa, java, ruby, native-image, jit, aot, jvm, jdk

GraalVM with JPA-based applications (Part 1)

The goal of this blog post is to go beyond the basic HelloWorld program, and see how we can leverage GraalVM against a sample real-world JPA-based application, able to interact with a database. We will walk through what can be done along with the potential limitations.
Armel Soro
Armel Soro
6 min read
Jan 11 2019
junit, tests, postgresql, h2, hsqldb, java, spring

Running Java Integration Tests against a PostgreSQL Embedded database

Today, I'm going to walk you through running integration tests on the JVM against a real production-like PostgreSQL database. All without losing in terms of overall testing time or performance (especially when you have a database with hundreds of tables). In-memory databases (e.g., H2 [http://www.h2database.com/html/main.html], HSQLDB [http://hsqldb.org/], SQLite [https://www.sqlite.org/inmemorydb.html], ...) are very often used as drop-in replacements when running integration tests. This is ge
Armel Soro
Armel Soro
8 min read
Sep 28 2018