SupportWriter space ↗
REFERENCE LIBRARY

References from other publishers

Republished articles with source attribution. This collection is separate from Diary Coding’s original guides and does not display ads.

Read original guides → · Editorial policy

FOR YOUR CURIOSITY

Latest notes.

SPRING CORE / NOTES</>↗
Spring Core03 Jul 2025

How do I inject environment-specific values using Spring Profiles?

Spring Profiles provide a flexible way to load environment-specific configurations in a Spring-based application. Here’s a step-by-step guide on how to use them: Steps to Inject Environment-Specific Values Using Spring Profiles Define Profile-Specific Properties Files Create separate property files for different environments (e.g., development, testing, production). Make sure to name them with a clear convention. […]

Wayan · 2 min read
SPRING BOOT / NOTES</>↗
Spring Boot02 Jul 2025

How Dependency Injection Works in Spring Boot Using @Autowired

Dependency Injection (DI) is a fundamental concept in Spring Boot that facilitates the management of dependencies between various components in your application. Spring Boot primarily uses the @Autowired annotation to enable automatic wiring of beans. Below, I’ll explain how Dependency Injection works using @Autowired in Spring Boot, step by step. What is Dependency Injection? Instead […]

Wayan · 4 min read
SPRING CORE / NOTES</>↗
Spring Core01 Jul 2025

How do I use lifecycle callbacks like @PostConstruct and @PreDestroy in Spring beans?

In Spring, the lifecycle of a bean can be managed, and you can hook into these lifecycle phases using annotations like @PostConstruct and @PreDestroy. @PostConstruct: This annotation is part of Jakarta annotations (not proprietary to Spring). It is used to execute initialization logic after the bean’s properties have been set (i.e., after dependency injection is […]

Wayan · 3 min read
SPRING BOOT / NOTES</>↗
Spring Boot30 Jun 2025

Understanding @SpringBootApplication: The Heart of a Spring Boot App

The @SpringBootApplication annotation is a cornerstone of any Spring Boot application. It simplifies the configuration process and integrates core functionalities of Spring Boot in a single, convenient annotation. Here’s a comprehensive explanation to help you understand its importance and functionality: What is @SpringBootApplication? @SpringBootApplication is a composite annotation that combines three common Spring annotations to […]

Wayan · 4 min read
SPRING CORE / NOTES</>↗
Spring Core29 Jun 2025

How do I manage dependencies using Java-based @Configuration classes?

In Spring, managing dependencies and configurations is commonly done using Java-based @Configuration classes. These classes allow you to define the beans and their dependencies programmatically. Here’s a step-by-step guide on how to manage dependencies with @Configuration classes: 1. Use the @Configuration Annotation Mark your class with the @Configuration annotation. This tells Spring that the class […]

Wayan · 3 min read
SPRING BOOT / NOTES</>↗
Spring Boot28 Jun 2025

How to Create Your First Spring Boot Project Using Spring Initializr

Here’s a step-by-step guide for creating your first Spring Boot project using Spring Initializr: Step 1: Go to Spring Initializr Open the Spring Initializr website: https://start.spring.io/. You will see a friendly interface that allows you to configure your new Spring Boot project. Step 2: Configure Your Project Project Settings: Project Type: Choose either Maven or […]

Wayan · 3 min read
✳

Knowledge grows when shared.

Stay curious. There is always something new to learn.

Explore notes ↗
Putu Adi Guna Permana
ABOUT THE AUTHOR

Dr (C). Ir. Putu Adi Guna Permana, S.Kom., M.Kom., IPM., ASEAN Eng.

Writer and founder of Diary Coding — sharing notes, tutorials, and experiences about programming for anyone who wants to keep learning.