Category: Tutorial


A jshell script incorporating JDK 13 Text Block feature

In this post I’ll show you how I managed to develop my first bash script in Java using JShell which incorporates JDK Text Block feature to produce a new file. The script is used to process hundreds of JPA entity classes and produce a builder class for them in Groovy. The Story During recent refactorings in our...

Apache DeltaSpike Logo

Implementing Repositories in Java SE using DeltaSpike

Repositories are one of my favorite patterns to make an abstraction of the data layer of an application. You may have heard about it if you have ever read an article about Domain Driven Design. Hence in this post I consider you have the basic familiarity with it and will focus mostly on how to implement this...


Playing with Apache Karaf Console

In my previous post, I’ve tried to explain overall architecture of Apache Karaf and its important components and services. Now in order to start using it, we have to get more familiar with the interaction mechanism provided by Apache Karaf, yes I mean the console, one of the most important features of Apache Karaf. What you’ll learn...