CRUD Application with Spring boot 3.3 and GraalVM native Image

Prerequisites Docker Java 21 Clone inventory-service Introduction This article is the second part of Low memory footprint with Spring boot 3.3 and Graalvm native image. Here, we will be building REST CRUD resources and package as a native executable within a container. We are using flyway for database versioning and springdoc library for swagger documentation with a web UI. Flyway Flyway is a database migration tool that helps you manage and apply database changes within your application to achieve database environment parity. ...

August 18, 2024 · 3 min · 492 words · Thariq Shah

Low memory footprint with Spring boot 3.3 and Graalvm native image

What is a Native Image? GraalVM native image is an ahead-of-time compilation technology that generates native executables. Native executables have low resource usage and fast startup time in compact packaging. It is an ideal candidate for serverless workloads in Java. I use it to create hobby projects, so I don’t exhaust my free tier quotas on services like fly.io 😉 GraalVM Native Image is a broad topic with many resources and videos available for a deeper understanding. The Official documentation is a great place to start. ...

August 18, 2024 · 3 min · 427 words · Thariq Shah