Ruang penulis
SEBUAH JURNAL TENTANG TEKNOLOGI

Belajar hal baru.
Tulis. Bagikan.

Ruang untuk merangkai pengetahuan, satu baris kode setiap hari.
Temukan tutorial, ide, dan catatan dari perjalanan belajar.

1914 catatan & terus bertumbuh
PILIHAN EDITOR
Java

Memahami Java Stream: olah koleksi dengan lebih ringkas

Pelajari alur filter, map, dan collect untuk mengolah data Java dengan kode yang mudah dibaca.

D Tim Diary Coding · 1 menit baca
UNTUK RASA INGIN TAHUMU

Catatan terbaru.

SPRING CORE / CATATAN</>
Spring Core05 Jul 2025

How do I resolve circular dependencies in Spring beans?

Circular dependencies in Spring occur when two or more beans depend on each other, forming a cycle. For example, if BeanA depends on BeanB, and BeanB needs BeanA, a circular dependency is formed. Here are several ways to resolve such issues: 1. Using @Lazy Annotation Spring allows injecting dependencies lazily. The @Lazy annotation delays the […]

Wayan · 3 menit baca
SPRING BOOT / CATATAN</>
Spring Boot04 Jul 2025

Building Your First REST API with Spring Boot in Under 10 Minutes

Creating a simple REST API using Spring Boot can be a smooth process, and it is entirely possible to get it done in under 10 minutes. Here’s a step-by-step guide to building your first REST API: 1. Setup Your Spring Boot Project Go to Spring Initializr. Configure the project: Project: Maven. Language: Java. Spring Boot […]

Wayan · 3 menit baca
SPRING CORE / CATATAN</>
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 menit baca
SPRING BOOT / CATATAN</>
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 menit baca
SPRING CORE / CATATAN</>
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 menit baca
SPRING BOOT / CATATAN</>
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 menit baca

Pengetahuan tumbuh ketika dibagikan.

Simpan rasa ingin tahu. Selalu ada hal baru untuk dipelajari.

Jelajahi catatan ↗
Putu Adi Guna Permana
TENTANG PENULIS

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

Penulis dan pendiri Diary Coding — berbagi catatan, tutorial, dan pengalaman seputar pemrograman untuk siapa pun yang ingin terus belajar.