Multi-Module Project With Spring Boot 1. Overview In this quick tutorial, we’ll show how to create a multi-module project with Spring Boot. First, we’ll build a library jar that isn’t an application itself, and then we’ll build an application that uses our library. For an introduction to Spring Boot, please refer to this… Continue Reading spring-boot-multiple-modules

Differences Between JAR and WAR Packaging 1. Overview In this quick tutorial, we’ll focus on the differences between JAR and WAR packaging in Java. First, we’ll define each packaging option separately. Afterwards, we’ll summarize their differences. 2. JAR Packaging Simply put, JAR – or Java Archive – is a package… Continue Reading java-jar-war-packaging

Container Configuration in Spring Boot 2 1. Overview  In this quick tutorial, we’ll have a look at how to replace the EmbeddedServletContainerCustomizer and ConfigurableEmbeddedServletContainer in Spring Boot 2. These classes were part of previous versions of Spring Boot, but have been removed starting with Spring Boot 2. Of course, the functionality… Continue Reading embeddedservletcontainercustomizer-configurableembeddedservletcontainer-spring-boot

Running a Spring Boot App with Maven vs an Executable War/Jar 1. Introduction In this tutorial, we’ll explore the differences between starting a Spring Boot web application via the mvn spring-boot:run command and running it after it is compiled into a jar/war package via the java -jar command. Let’s assume… Continue Reading spring-boot-run-maven-vs-executable-jar

An Introduction to Kong DevOps 1. Introduction Kong is an open-source API gateway and microservice management layer. Based on Nginx and the lua-nginx-module (specifically OpenResty), Kong’s pluggable architecture makes it flexible and powerful. 2. Key Concepts Before we dive into code samples, let’s take a look at the key concepts… Continue Reading kong

Online Java Compilers 1. Introduction An online compiler is a tool which allows us to compile the source code and execute it online. This is a great option, especially for new Java students, tutors, or interviewers. Additionally, it’s super easy to share the code or collaborate in private or group sessions. Besides that,… Continue Reading java-online-compilers