Skip to main content

Git Tips and Tricks

· 4 min read
Preet Shah
Software Developer @ JPMC

Git is an essential tool for developers, providing a robust version control system that facilitates code management, collaboration, and version tracking. While many developers use Git daily, mastering some advanced features can significantly improve your workflow and productivity. In this article, we’ll cover some handy Git tips and tricks that can streamline your development process.

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.