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 Core27 Jun 2025

How do I use @Value to inject values from properties files in Spring?

In Spring, the @Value annotation allows you to inject values from properties files or environment variables into your application. Here’s how you can use it step by step: 1. Add a properties or file to your project yaml Create a properties file, such as application.properties or application.yml, and add your key-value configurations. Example (application.properties): app.name=My […]

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

Spring Boot vs. Spring Framework: What’s the Difference?

Spring Boot and Spring Framework are closely related but serve distinct purposes in the world of Java development. Below is a comparison that highlights the key differences between the two: 1. Core Definition Spring Framework: A comprehensive framework that provides tools, libraries, and features to build a wide variety of Java applications. It includes modules […]

Wayan · 3 min read
SPRING CORE / NOTES</>↗
Spring Core25 Jun 2025

How do I manage bean scopes in Spring Framework?

In the Spring Framework, beans are defined with different scopes that govern their lifecycle and interaction with the container. The scope determines how many instances of a bean are created and how they are shared within an application. Common Bean Scopes in Spring Spring provides several bean scopes, and they are managed through the @Scope […]

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

What Is Spring Boot? A Beginner’s Introduction to Rapid Java Development

Spring Boot is a framework designed to simplify and speed up the development of Java-based applications, especially for web and microservices. It’s built on top of the Spring Framework but offers additional features to reduce the complexity of configuration, making it ideal for developers who want to quickly get started with production-ready applications. Below is […]

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

How do I use constructor vs setter injection in Spring Framework?

In the Spring Framework, dependency injection is a design pattern used to implement inversion of control (IoC). There are two main ways to inject dependencies into a Spring bean: constructor injection and setter injection. Below is an explanation of both, along with when and how to use them. Constructor Injection With constructor injection, dependencies are […]

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

How do I define application context using ClassPathXmlApplicationContext and AnnotationConfigApplicationContext?

To define an application context in Spring using ClassPathXmlApplicationContext or AnnotationConfigApplicationContext, you establish the context for your Spring-managed beans using XML configuration in the former, and Java-based annotations in the latter. Here’s how each can be used: 1. Using ClassPathXmlApplicationContext This approach loads the application context configuration from an XML file. Example: package org.kodejava.spring; import […]

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.