In this article, we will discuss the differences between a deep copy and and shallow copy of an object in Java, and their implications.
Archives for 2023
Spring Cloud: How to Implement Service Discovery (Part II)
In this article, readers will learn some additional topics on Spring Cloud Service Discovery and two different ways in which to combine Service Discovery and Remote Configuration.
Spring Cloud: How to Implement Service Discovery (Part I)
In this article, readers will learn how to configure and run some Service Discovery sample architectures by using the Spring Cloud components.
How to Better Understand Java HashMap
How the HashMap class is internally implemented, its initial capacity and re-sizing and its behavior in a multi-threaded scenario.
Spring Cloud: How to Deal with Microservice Configuration (Part II)
How to use Spring Cloud Config module to implement a minimal microservice scenario based on remote configuration (part II).
Java Map: How to Get Sorted Keys
The LinkedHashMap class implements the Map interface and preserves the order in which the keys are inserted into it.
Spring Cloud: How to Deal with Microservice Configuration (Part I)
How to use Spring Cloud Config module to implement a minimal microservice scenario based on remote configuration (part I).