Importance of Main Manifest Attribute in a Self-Executing JAR DevOps Java 1. Overview Every executable Java class has to contain a main method. Simply put, this method is a starting point of an application. To run our main method from a self-executing JAR file, we have to create a proper… Continue Reading java-jar-executable-manifest-main-class

Introduction to Smooks 1. Overview In this tutorial, we’ll introduce the Smooks framework. We’ll describe what it’s, list its key features, and eventually learn how to use some of its more advanced functionality. First of all, let’s briefly explain what the framework is meant to achieve. 2. Smooks Smooks is… Continue Reading smooks

Command-Line Arguments in Spring Boot 1. Overview In this quick tutorial, we’ll discuss how to pass command-line arguments to a Spring Boot application. We can use command-line arguments to configure our application, override application properties or pass custom arguments. 2. Maven Command-Line Arguments First, let’s see how we can pass… Continue Reading spring-boot-command-line-arguments

Guide to Apache Commons CircularFifoQueue 1. Overview In this quick tutorial, we’ll have a look at the CircularFifoQueue data structure provided in the collections4.queue package of the Apache Commons Collections library. CircularFifoQueue<E> implements the Queue<E> interface and is a fixed-size, non-blocking queue — when you add an element to a… Continue Reading commons-circular-fifo-queue

Guide to Google Tink 1. Introduction Nowadays, many developers use cryptographic techniques to protect user data. In cryptography, small implementation errors can have serious consequences, and understanding how to implement cryptography correctly is a complex and time-consuming task. In this tutorial, we’re going to describe Tink – a multi-language, cross-platform… Continue Reading google-tink

Show Hibernate/JPA SQL Statements from Spring Boot 1. Overview Spring JDBC and JPA provide abstractions over native JDBC APIs allowing developers to do away with native SQL queries. However, often we need to see those auto-generated SQL queries and the order in which they were executed for debugging purposes. In… Continue Reading sql-logging-spring-boot