SupportWriter space ↗
A JOURNAL ABOUT TECHNOLOGY

Learn something new.
Write. Share.

A space to connect knowledge, one line of code a day.
Discover tutorials, ideas, and notes from a learning journey.

1967 notes & counting ↙
EDITOR’S PICK ↗
Pentesting

Planning Your First Web Application Pentest: Scope, Safety, and Evidence

Build a focused web pentest plan with clear authorization, realistic objectives, controlled testing, and evidence that developers can use.

D Putu Adi Guna Permana · 3 min read
FOR YOUR CURIOSITY

Latest notes.

SPRING BOOT / NOTES</>↗
Spring Boot07 Jul 2026

How do I use profiles for different Spring environments?

Spring profiles allow you to run the same application with different configurations depending on the environment, such as development, testing, staging, or production. For example, your development environment may use an in-memory database, while production uses MySQL or PostgreSQL. 1. What Is a Spring Profile? A profile is a named set of configuration settings that […]

Wayan · 7 min read
SPRING MVC / NOTES</>↗
Spring MVC06 Jul 2026

How Do I Build REST APIs with Spring MVC?

Building REST APIs with Spring MVC In Spring MVC, you build REST APIs by defining controller classes that map HTTP requests to Java methods. In modern Spring Boot applications, this is usually done with @RestController. A typical REST API is organized like this: HTTP Request ↓ Controller ↓ Service ↓ Repository ↓ Database Each layer […]

Wayan · 8 min read
SPRING CORE / NOTES</>↗
Spring Core06 Jul 2026

How do I use AOP in Spring for cross-cutting concerns?

In a Spring application, some logic does not belong to just one business feature. For example: Logging method calls Measuring execution time Checking security rules Managing transactions Auditing user actions Handling repeated exception logic These are called cross-cutting concerns because they “cut across” many parts of your application. Instead of copying the same logging, auditing, […]

Wayan · 15 min read
SPRING CORE / NOTES</>↗
Spring Core06 Jul 2026

How do I use events in Spring applications?

In Spring, events let one part of your application publish something that happened, while other parts react to it without being tightly coupled. Typical use cases: Send an email after user registration Clear a cache after data changes Audit an action Trigger async background processing React to transaction completion Spring has built-in support through: ApplicationEventPublisher […]

Wayan · 7 min read
SPRING CORE / NOTES</>↗
Spring Core06 Jul 2026

How do I write unit tests for Spring components?

Writing Unit Tests for Spring Components For Spring components, you usually want to test business logic without starting the full Spring application context. That means using JUnit 5 and Mockito for most unit tests. Use Spring’s test support only when you need Spring-specific behavior such as dependency injection, MVC request handling, configuration binding, or persistence […]

Wayan · 6 min read
SPRING SECURITY / NOTES</>↗
Spring Security06 Jul 2026

How do I secure a Java web application with authentication and authorization?

Securing a Java web application typically means adding: Authentication — verifying who the user is. Authorization — deciding what the authenticated user can access. Session/token protection — keeping the login state secure. Transport and application hardening — HTTPS, CSRF protection, password hashing, etc. Since your stack includes Spring MVC / Spring Data JPA / Jakarta […]

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