Jones alapat

Memory Analysis In Java

Introduction Java heap dumps and thread dumps are a powerful way to investigate what’s going on in the Java Virtual Machine (JVM). A heap dump allows you to see what is kept in memory after a minor and major garbage collection. Therefore, heap dumps provide indispensable insights that can be used for troubleshooting memory leaks. …

Memory Analysis In Java Read More »

Unit, Integration, & Performance Testing

Unit Testing •Unit testing means testing individual modules of an application in isolation (without any interaction with dependencies) to confirm that the code is doing things right. This type of testing is executed by the developers Annotations Jacaco TestDoubles @Mock, @Spy, @Stub, & @InjectMocks and @Captor Mock Spy A spy is kind of a hybrid between …

Unit, Integration, & Performance Testing Read More »

SpringBoot JPA, H2 & Liquibase

JPA As a specification, the Jakarta Persistence API (formerly Java Persistence API) is concerned with persistence, which loosely means any mechanism by which Java objects outlive the application process that created them. The JPA specification lets you define which objects should be persisted, and how they are persisted in your Java applications. while JPA was originally intended for use with relational databases, …

SpringBoot JPA, H2 & Liquibase Read More »

Multi-Threading In Java

Performance makes or breaks an application and in this Digital age of short attention spans, companies are looking for high-performance applications -Multithreading is a powerful weapon to achieve this target. What is Multithreading We have all heard the phrase Divide and conquer, well Multithreading is basically doing the same, by dividing a task into multiple …

Multi-Threading In Java Read More »

Different Caching Strategies in Java Application

Request Scoped Caching Request Scoped Caching allows us to cache the object for the lifetime of the request, to implement this we will be using Caffeine Cache, as it is one of the high-performance Cache in Java. Implementation Steps Step1: Add Dependencies Step2: Configuration Step3: Cache Objects The Object is returned from Request Cache based …

Different Caching Strategies in Java Application Read More »

DS Impl – LinkList, ArrayList, HashMap, Stack & Queue

LinkList Linked List is a part of the Collection framework present in java.util package. This class is an implementation of the LinkedList data structure which is a linear data structure where the elements are not stored in contiguous locations and every element is a separate object with a data part and address part. The elements are linked using pointers and …

DS Impl – LinkList, ArrayList, HashMap, Stack & Queue Read More »

Interview Questions – Strings, LInkedList, Stacks & Queues

Strings String Methods Useful Method and Description charAt(int index)Returns the char value at the specified index. compareTo(String anotherString)Compares two strings lexicographically. concat(String str)Concatenates the specified string to the end of this string. contains(CharSequence s)Returns true if and only if this string contains the specified sequence of char values. equals(Object anObject)Compares this string to the specified object. getBytes()Encodes this String into a sequence of bytes …

Interview Questions – Strings, LInkedList, Stacks & Queues Read More »

Big O

Introduction Big O is the metric used to describe the efficiency of algorithms and refers to the worst case for the algorithm. Time Complexity: An amount of time required to complete an algorithm.Space Complexity: An amount of space required by an algorithm. Factors for Time Complexity Scenarios 1) N Runtimes Example -: Find the sum …

Big O Read More »

First React Application

Introduction Once We have covered some of the basic stuff about React App, we will be next looking at setting up an application and applying those concepts into an Application. We will be creating the following features for our APP. Login Page We will create a full-function login page, The Prerequisites for the login page …

First React Application Read More »

Getting Started with React

Introduction React is a free and open-source front–end javascript library which was created by Facebook and donated as opensource in 2013. React is used for building user interfaces based on UI components. It is maintained by Meta and a community of individual developers and companies. Reacts are Single Page Applications, wherein DOM/ UI is loaded only …

Getting Started with React Read More »

error: Content is protected !!
Scroll to Top