Java
Running Java Applications
Running Java App In order to run your Java Applications you must first compile all of the source...
What the heck are @Annotations?
Annotation They are metadata that you can write into your Java program. They don't affect the ex...
Maven
Maven Intro
What is Maven Maven is a build automation tool. Think of it as a Makefile but instead of you wri...
Parent and Child pom.xml
https://howtodoinjava.com/maven/maven-parent-child-pom-example/
package, install, release, deploy phases
mvn package will construct your artifactory, i.e. a jar file and then place it in the current w...
Lifecycle, Phases, goals, and Plugins?!
Maven Lifecycle Maven is a build automation tool at heart. It has three built-in lifecycle that ...
Compile time and runtime dependency
Problem There was bunch of dependency that older version of spring-boot includes as compile time...
Jacoco Plugin
What is Code Coverage Code coverage is a quality measurement during development process to see h...
Lombok
Project Lombok Lombok is a Java library that can help you generate lots of the boiler plate code...
Maven Tests
Maven Test When you execute mvn test it will compile and test the source code that's underneath ...
Java Loggers
Java Logging Logging in a program is important to keep track of a program's run-time behavior. L...
System property value
System property value They are contained only within the Java platform. Environment variables a...
Lambda expression in Java
How are lambda function done in Java Because Java likes everything to be under a class or an int...
Checked vs Unchecked Exception
Exceptions In Java exceptions (which differs from the C exception) there are two types of except...
Mockito how does it work?
Background So what is Mockito? It is framework that is used on top of testing framework library ...
Optional in Java
Optional Optional is an object that can be think of as a container to hold other objects. It can...
Java Nested Class
Stream map vs flatMap
Stream API In Stream API there is both map and flatMap that's available for use. They are both u...