Jones alapat

Infrastructure as a Code – Cloudformation

Cloud formation AWS CloudFormation offers a unified language for describing and provisioning all the infrastructure resources within your environment in a secure and reproducible manner. AWS CloudFormation enables you to define the resources required for an application or solution in a text file, formatted in JSON or YAML. This template, which can be manually uploaded …

Infrastructure as a Code – Cloudformation Read More »

Deploy SpringBoot App to EKS

Kubernetes Kubernetes, often referred to as K8s, is a freely available platform designed to automate the deployment, scaling, and administration of containerized applications. It organizes the containers constituting an application into coherent units, facilitating seamless management and identification. Drawing from 15 years of Google’s expertise in operating production workloads, Kubernetes incorporates top-notch concepts and practices …

Deploy SpringBoot App to EKS Read More »

SpringBoot with AWS EC2, S3, and PostgreSQL

Introduction In this blog post, we’ll develop a Spring Boot application that is destined for deployment on AWS. The application will establish connections with both the S3 service and an Amazon Managed PostgreSQL database. The project adheres to best practices, ensuring that no credentials are stored in the code. Instead, IAM Roles are employed for …

SpringBoot with AWS EC2, S3, and PostgreSQL Read More »

PostgreSQL with SpringBoot

PostgreSQL PostgreSQL stands out as a sophisticated and enterprise-grade open-source relational database, offering robust support for both SQL (relational) and JSON (non-relational) queries. This well-established database management system has earned its reputation for stability through over two decades of community-driven development. This collaborative approach has played a pivotal role in ensuring its remarkable resilience, data …

PostgreSQL with SpringBoot Read More »

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 »

error: Content is protected !!
Scroll to Top