TKTushar kantintusharkant.hashnode.dev·Oct 24, 2023 · 3 min readCentralizing Configuration for Microservices with Spring Cloud ConfigSpring Cloud Config Server is a powerful tool for managing configuration in a microservices architecture. It allows to centralize configuration data and make it easily accessible to all microservices. With Spring Cloud Config Server, we can store the...00
TKTushar kantintusharkant.hashnode.dev·Oct 22, 2023 · 45 min readJava Interview question-20Question 191: program to find the middle number from the linked list? class ListNode { int val; ListNode next; ListNode(int val) { this.val = val; this.next = null; } } public class MiddleOfLinkedList { public st...00
TKTushar kantintusharkant.hashnode.dev·Oct 22, 2023 · 11 min readJava Interview question-19Question 181: Bean scopes — what are default bean scopes? Singleton (Default Scope): The singleton scope means that a single instance of the bean is created and shared throughout the application context. Whenever a bean with the singleton scope is r...00
TKTushar kantintusharkant.hashnode.dev·Oct 22, 2023 · 5 min readJava Interview question-18Question 171: Diffrence between map vs flat map Map: The map() operation applies a function to each element in the stream and returns a new stream consisting of the results. It performs a one-to-one mapping, where each input element is transformed ...00
TKTushar kantintusharkant.hashnode.dev·Oct 22, 2023 · 9 min readJava Interview question-17Question 161: Difference between map and flat map map is used to transform each element of a collection independently and returns a new collection with the transformed elements. flatMap is used to transform each element of a collection into a seque...00