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.

DOCKER / NOTES</>↗
Docker04 Jul 2026

How do I containerize and deploy a Java application with Docker?

Containerizing and Deploying a Java Application with Docker A typical Java Docker workflow is: Build the Java application Package it as a JAR Create a Docker image Run the container locally Push the image to a registry Deploy it to a server or cloud platform 1. Build Your Java Application If your project uses Maven, […]

Wayan · 5 min read
BASIC / NOTES</>↗
Basic04 Jul 2026

How do I understand the evolution of Java from Java 8 to Java 25?

Understanding Java’s Evolution from Java 8 to Java 25 A good way to understand Java’s evolution from Java 8 to Java 25 is to view it in phases: Java 8 established modern Java’s functional-programming foundation. Java 9–11 reshaped the platform and release model. Java 12–17 modernized the language with records, pattern matching, text blocks, and […]

Wayan · 9 min read
SPRING / NOTES</>↗
Spring04 Jul 2026

How do I organize service, repository and controller layers in Spring?

Typical Spring Layer Organization A clean Spring application usually separates code into controller, service, repository, and model/entity layers. com.example.app ├── AppApplication.java ├── controller │ └── UserController.java ├── service │ └── UserService.java ├── repository │ └── UserRepository.java ├── entity │ └── User.java └── dto ├── CreateUserRequest.java └── UserResponse.java The usual request flow is: HTTP Request ↓ […]

Wayan · 6 min read
SPRING / NOTES</>↗
Spring04 Jul 2026

How do I manage transactions in Spring?

In Spring, transactions are usually managed with the @Transactional annotation. A transaction makes sure that a group of database operations is either: all succeed, or all fail and roll back This is important when one business operation changes multiple records or tables. 1. Enable Transaction Management If you are using Spring Boot with Spring Data […]

Wayan · 7 min read
SPRING JDBC / NOTES</>↗
Spring JDBC03 Jul 2026

How do I use JDBC with Spring?

You can use JDBC with Spring through Spring’s JDBC support, especially JdbcTemplate. It removes much of the repetitive JDBC boilerplate such as opening connections, closing resources, handling PreparedStatement, iterating ResultSet, and translating SQLException into Spring’s DataAccessException hierarchy. The typical setup is: Configure a DataSource Create a JdbcTemplate Inject it into a repository/DAO class Use it […]

Wayan · 8 min read
SPRING DATA JPA / NOTES</>↗
Spring Data JPA03 Jul 2026

How do I connect Spring to a database?

To connect Spring to a database, the usual modern approach is: Add database-related dependencies. Configure the database connection properties. Create an entity. Create a repository. Use the repository from a service or controller. The simplest way is with Spring Boot + Spring Data JPA. 1. Add Maven Dependencies For a Spring Boot application using JPA, […]

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.