javacodegeeks.com javacodegeeks.com

What is Garbage collection log, Thread dump, Heap dump?

Java Virtual Machine (JVM) generates 3 critical artifacts that are useful for optimizing the performance and troubleshooting production problems. Those artifacts are:Garbage collection (GC) logThread DumpHeap DumpIn this article let us try to understand these 3 critical artifacts, where to use them, how does it look, how to capture them, how to analyze them and their differences.1. Garbage Collection Loga) What is GC Log? GC Log...

javacodegeeks.com javacodegeeks.com

Java String to String Array Conversion Examples

A quick and practical guide on how to convert String to String Array in differnet ways in java.1. OverviewIn this article, you’ll learn how to convert String to String Array in java with example programs.Let us learn the different ways to do the conversion into a string array. from a string value.2.  Using the split() methodString api is added with split() method which takes the delimiter as input and the string will be...

javacodegeeks.com javacodegeeks.com

Java Program To Get Union Of Two Arrays

A quick and programming guide to how to get the union of two unsorted arrays in java with example programs.1. OverviewIn this article, you’ll learn how to get the union of two arrays in java.  A union set is all the values of two sets or from all collection.We can do the union function in java using HashSet with arrays. Use the addAll() method to add all the values of each array into HashSet.This is a simple solution. As...

javacodegeeks.com javacodegeeks.com

Java Program to Calculate Average Using Arrays

A quick and practical guide to find and to calculate the average of numbers in array using java language.1. OverviewIn this article, you’ll learn how to calculate the average of numbers using arrays. You should know the basic concepts of a java programming language such as Arrays and forEach loops.We’ll see the two programs on this. The first one is to iterate the arrays using for each loop and find the average.In the...

javacodegeeks.com javacodegeeks.com

Richardson Maturity Model and Pizzas

The model, developed by Leonard Richardson, attempts to classify an API according to its adherence to the constraints imposed by REST. The more compliant your implementation, the better it fares. There are four levels. The bottom is level 0, which designates the less compliant implementation, and the top is level 3, which is the most compliant and therefore the most RESTful.Level 0: The Swamp of POX (Plain Old XML)One line description:...

javacodegeeks.com javacodegeeks.com

The big mistake with Platform Product Owners and what to do about it

From time to time I come across software platform team – also called infrastructure teams. Such teams provide software which is used by other teams rather than end customers as such they are one step, or even more, removed from customers.Now I will admit part of me doesn’t want these teams to exist at all but let’s save that conversation for another day. I acknowledge that in creating these teams organisations act with the...