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 MVC / NOTES</>↗
Spring MVC21 Jul 2025

How do I create a simple Hello World web app using Spring MVC?

Creating a simple “Hello World” web application using Spring MVC involves several steps. Below is a guide that will walk you through creating the application from scratch: 1. Set Up the Project Use a build tool like Maven or Gradle to manage your dependencies. Here, we’ll use Maven. pom.xml Create a pom.xml file and include […]

Wayan · 5 min read
SPRING BOOT / NOTES</>↗
Spring Boot20 Jul 2025

Using Lombok in Spring Boot to Reduce Boilerplate Code

Lombok is an excellent library for reducing boilerplate code in Java applications, including Spring Boot projects. It provides useful annotations that simplify mundane tasks like generating getters, setters, constructors, hashCode, equals, and toString methods. Here’s how to use Lombok in a Spring Boot project to make your code cleaner and more concise: Steps to Use […]

Wayan · 3 min read
SPRING CORE / NOTES</>↗
Spring Core19 Jul 2025

How do I use dependency injection with aspect-oriented programming (AOP) in Spring?

In Spring, Dependency Injection (DI) and Aspect-Oriented Programming (AOP) can work seamlessly together, allowing you to address cross-cutting concerns (e.g., logging, transaction management, security) while still benefiting from Spring’s dependency management. Here’s how you can use Dependency Injection with AOP in Spring: 1. Enable Aspect-Oriented Programming in Spring To enable the AOP functionality in your […]

Wayan · 4 min read
SPRING BOOT / NOTES</>↗
Spring Boot18 Jul 2025

Understanding @Entity, @Repository, and @Service in Spring Boot

In Spring Boot (and the larger Spring Framework), the annotations @Entity, @Repository, and @Service play a key role in structuring and organizing applications using the principles of dependency injection and inversion of control. Here’s an overview of each: 1. @Entity Definition: The @Entity annotation is used in Java Persistence API (JPA) to define a class […]

Wayan · 3 min read
SPRING CORE / NOTES</>↗
Spring Core17 Jul 2025

How do I build dynamic dependency injection using ApplicationContextAware and BeanDefinitionRegistryPostProcessor?

Building dynamic dependency injection in a Spring-based application can be achieved using a combination of ApplicationContextAware and BeanDefinitionRegistryPostProcessor. This approach allows you to dynamically register and manage beans at runtime. Below is a step-by-step breakdown of how you can achieve this: 1. Using ApplicationContextAware ApplicationContextAware can be used to access the ApplicationContext. The ApplicationContext provides […]

Wayan · 3 min read
SPRING BOOT / NOTES</>↗
Spring Boot16 Jul 2025

How to Connect Your Spring Boot App to MySQL or PostgreSQL

Here’s a guide on how to connect your Spring Boot application to a MySQL or PostgreSQL database. These steps assume you are already familiar with basic Spring Boot concepts. 1. Add the Necessary Dependencies Open your (for Maven) or build.gradle (for Gradle), and add the database driver and Spring Boot starter dependencies: pom.xml Maven: <!– […]

Wayan · 4 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.