flag-icon

Chaerin.dev

Written by@Chaerin
Tech Blog📕

GitHubLinkedIn

How to use gRPC with Protobuf

Protobuf Protocol Buffers are language-neutral, platform-neutral extensible mechanisms for serializing structured data. Protocol buffers support generated code in C++, C#, Dart, Go, Java, Kotlin, Obj…

August 21, 2024

Spring Boot Summary #7 - Annotations (2)

@PostConstruct This annotation is used on methods that need to be executed after dependency injection is complete. It ensures that the method runs even if it’s not called from other resources. In the…

May 23, 2023

Spring boot summary #6 - Spring Security

1. What is Spring Security? Spring Security is a sub-framework of Spring that handles authentication and authorization in Spring-based applications. Authentication refers to logging in. Authorization…

May 23, 2023

Spring Boot Summary #5 - ORM, DynamicUpdate, Regular Expressions

Pros and Cons of ORM ORM Object-relational mapping (ORM) Objects are designed as objects Relational databases are designed as relational databases ORM framework maps between them It means that we con…

May 02, 2023

Database Review

Database Constraints Constraints are rules applied to data to ensure its integrity and consistency. They restrict the type of data that can be inserted into a table. Types of Constraints NOT NULL: En…

May 01, 2023

Spring Boot Summary #4 - Annotations (1)

@Controller, @Service, @Repository @Component specialization: @Controller, @Service, @Repository Registers a bean. Indicates to the Spring Framework that the class is used as a Controller/Service/Rep…

April 18, 2023

Spring Boot Summary #3 - Java Compilation Process and Builder Pattern

Java Compilation Process Developers write Java source code (.java files). The Java compiler reads the Java source code (.java files) and compiles them into bytecode (.class files). Bytecode (.class …

April 15, 2023

Spring Boot Summary #2 - Spring MVC Operation Process

Spring MVC Spring MVC consists of components such as DispatcherServlet, View Resolver, Interceptor, Handler, and View, with DispatcherServlet playing the crucial role of the front controller. Spring …

April 14, 2023

Java Terminology Overview

Literal this, this() super, super() Java’s Primitive and Reference Types Literal What is a Literal? In Java, a literal represents a constant value that can be assigned to a variable. Literals denote …

April 12, 2023

SOLID Principles and Examples

SOLID Principles: The Five Principles of Object-Oriented Programming - SRP (Single Responsibility Principle) A class should have only one reason to change. The above examples violate the SRP because …

April 12, 2023