Skip to main content

2 posts tagged with "Spring Boot"

Spring Boot framework for building Java applications

View All Tags

A Practical Guide to Java Records

· 9 min read
Ouwesh Seeroo
Senior Java Developer | Tech Enthusiast

Java records, introduced in Java 16 (JEP 395), finally let you delete Lombok. You know, that library you added to avoid writing 50+ lines of getters, then spent hours debugging @Data annotation conflicts and weird IDE plugin issues. One line. No plugins. No magic. Just the Java compiler doing what it should have done 25 years ago.

In this guide, you'll learn:

  • The problem records solve — why we needed them
  • Core syntax and features — compact constructors, immutability, and generated methods
  • Real-world patterns — DTOs, value objects, projections, and configuration
  • When records fit (and when they don't) — practical guidance for your codebase

Optimizing Spring Boot Docker Images

· 5 min read
Ouwesh Seeroo
Senior Java Developer | Tech Enthusiast

Docker images for Spring Boot applications often start bloated—large downloads, slow CI/CD pipelines, and unnecessary attack surface. This post shows you how to dramatically reduce image size while improving security and build speed.

In this post we'll look at:

  • Using JRE base images on Alpine Linux
  • Multi-stage builds for clean, consistent images
  • Layered JARs for blazing fast rebuilds
  • Summary of improvements and trade-offs