Logging in Java Applications (Using java.util.logging Package)

Having a logging component within a library or service (especially in a microservices architecture) is useful to the downstream applications that use it. When properly set up, it allows them to choose their own logging implementation, and level of verbosity, without having to recompile the code. While there are many different logging implementations (e.g. log4j, […]

Installing Java 8 (OpenJDK) on Centos 7

OpenJDK Java 8 Runtime Environment (Can run but cannot compile Java code) # yum update # yum install java-1.8.0-openjdk   OpenJDK Java 8 Development Kit (Can run and compile Java code) # yum update # yum install java-1.8.0-openjdk-devel.x86_64   Not your cup of Java? See all flavors: # yum search java

Scratchpad – Java LinkedList Implementation

Here are some reference notes I made for myself while exploring the Java LinkedList implementation – hope it is useful for you too! Note: Depending on your browser, you might see the stringLinkedList and its add methods being “corrupted” onto the same line. Below is what the lines look like: LinkedList stringLinkedList = new LinkedList(); stringLinkedList.add(“One”); […]