Skip to main content
Preet Shah
Software Developer @ JPMC

Preet Shah is a Full-Stack Software Developer at JP Morgan Chase, specialising in Java Spring Boot, Python and React. Preet is an AWS Certified Associate, currently aiming for her Developer Certification. In her free time, she enjoys crocheting, diving into murder mystery novels, and watching cat videos.

View all authors

Java Spring Boot Project - Part 3

· 10 min read
Preet Shah
Software Developer @ JPMC

In the previous blog post, we used Lombok to reduce boilerplate code and added CRUD operations to our Spring Boot project. In this blog post, we will write unit tests for the CRUD operations using JUnit and Mockito. We will also create API documentation using Swagger and update our codebase with exception handling.

Java Spring Boot Project - Part 2

· 9 min read
Preet Shah
Software Developer @ JPMC

In the previous blog post, we covered the initial setup of a Book Library Project using Java Spring Boot. In this blog post, we will use Lombok to simplify the creation of the Book Entity class. We will then create a repository, service, and controller class to perform CRUD operations on the Book Entity.

Using Lombok for the Book Entity

Lombok is a library that helps reduce boilerplate code in Java classes by providing annotations to generate getters, setters, constructors, and other common methods automatically. In this blog post, we will leverage Lombok to simplify the creation of the Book Entity class in our Java Spring Boot project.

Java Spring Boot Project - Part 1

· 6 min read
Preet Shah
Software Developer @ JPMC

Initial Setup for a Java Spring Boot Project

In this blog post, we will cover the initial steps to set up a Java Spring Boot project using Gradle and IntelliJ IDEA. Spring Boot is a popular framework for building Java applications, providing a robust and efficient platform for developing web applications, RESTful APIs, and microservices.

Garbage Collector in Java

· 4 min read
Preet Shah
Software Developer @ JPMC

Introduction to Garbage Collection

In languages like C/C++, managing memory manually is a crucial task for programmers. Forgetting to deallocate memory can lead to memory leaks and program crashes due to insufficient memory. However, Java provides an automatic memory management system known as the Garbage Collector (GC), which handles memory deallocation for you.

Access Modifiers in Java

· 4 min read
Preet Shah
Software Developer @ JPMC

Introduction to Access Modifiers

Java access modifiers are fundamental to Java's object-oriented nature, providing various levels of encapsulation by controlling access to classes, fields, methods, and constructors. Understanding these is crucial for designing secure, well-structured, and maintainable Java applications. Here's a more detailed dive into each of the Java access modifiers:

Data Types in Java

· 5 min read
Preet Shah
Software Developer @ JPMC

Introduction to Data Types in Java

Data types in Java specify the size, type, and operations of data that can be stored in a variable. In Java, a statically-typed language, every variable must be declared with a data type. The data type of a variable determines how much space it occupies in memory and what kind of operations can be performed on it.

Disable CORS policy in Chrome

· One min read
Preet Shah
Software Developer @ JPMC

To initiate a new Chrome session with CORS disabled on Windows for testing purposes, you can use either of the following commands:

Launch the Command Prompt (cmd) terminal and navigate to the directory where the chrome.exe is situated.

Typically, it can be found in either the Program Files or Program Files (x86) directories. Executing the following commands will initiate a new Chrome window with the security policy disabled:

C:\Users\shahpreetk> cd C:\Program Files\Google\Chrome\Application


C:\Program Files\Google\Chrome\Application> chrome.exe --user-data-dir="C:/temp/chrome" -—disable-web-security