Study Log

Java style Guide

Ref

PR 

Ref
  • [Github] Pull Request๋ฅผ ํ†ตํ•ด code reviewํ•˜๋Š”

Code Review

Ref

DB schema

Ref

Interface class

  • interface, impl -> ์™œ ์“ฐ๋ƒ ์‹œ์ด๋ฐœ

Abstract class

An abstract class is a class that is declared abstract โ€”it may or may not include abstract methods. Abstract classes cannot be instantiated, but they can be subclassed.

Ref

QueryDSL

Jar

Linux

Ref

AWS EC2

Error vs Exception

Ref

Spring + Swagger or Rest docs

Ref

Spring Sign up , Sign in

Spring + docker

Web Socket

Ref

RESTful API

Ref

Module vs Library (in java?)

Module is a file which contains various Python functions and global variables. It is simply just .py extension file which has python executable code.

Package is a collection of modules. It must contain an init.py file as a flag so that the python interpreter processes it as such. The init.py could be an empty file without causing issues.

Library is a collection of packages.

Framework is a collection of libraries. This is the architecture of the program.

Application is an application. Yah, Iโ€™m sure about this one.

Ref

DDD (Domain-driven design)

  • DDD, MSA, ์•„ํ‚คํ…์ณ, ๋ฉ€ํ‹ฐ ๋ชจ๋“ˆ, ํ—ฅ์‚ฌ๊ณ ๋‚ , ๋„๋ฉ”์ธ ์–ด๋–ค์‹์œผ๋กœ ์—ฐ๊ฒฐ ๋˜์–ด์žˆ๋Š”์ง€

Things to improve

Ref
  • Clean code

  • Test Code

  • ์‹ฌ๊ฐ ... ํ•œ๋ฐ ...?

  • ํŒจํ‚ค์ง€ ๋„ค์ด๋ฐ

  • ํ•จ์ˆ˜ ๋„ค์ด๋ฐ

  • ๋ณ€์ˆ˜ ๋„ค์ด๋ฐ

  • java style guide

Exception

์˜์†์„ฑ ์ „์ด

Log4j

Enum

Test code

Ref

Styled-components vs emotions

Ref

Emotions

Ref

Spring Boot AWS S3 ์—ฐ๊ฒฐ

Ref

Vercel

Ref

Github Action

Ref

๋ฐฐํฌ ์ „๋žต

Ref

QueryDSL

Ref

Spring/Java ๊ธฐ๋ฐ˜ ํšŒ์›๊ฐ€์ž… ์ด๋ฉ”์ผ ์ธ์ฆ

Ref

Spring Notification

Ref

Multi module

Ref

API ์„ค๊ณ„ ๊ฐ€์ด๋“œ

Ref

Trouble Shooting 1

Ref

Java 8 Date(Time)

Ref

Spring Boot H2

Ref

Spring Mapstruct

Ref

Neo4j

  • neo4j : Neo4j๋Š” Neo4j์‚ฌ๊ฐ€ ๊ฐœ๋ฐœํ•œ ๊ทธ๋ž˜ํ”„ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๊ด€๋ฆฌ ์‹œ์Šคํ…œ์ด๋‹ค. ๊ฐœ๋ฐœ์ž๋“ค์€ Neo4j์— ๋Œ€ํ•ด ๋„ค์ดํ‹ฐ๋ธŒ ๊ทธ๋ž˜ํ”„ ์ €์žฅ ๋ฐ ์ฒ˜๋ฆฌ ๊ธฐ๋Šฅ์„ ๊ฐ–์ถ˜ ACID๋ฅผ ์ค€์ˆ˜ํ•˜๋Š” ํŠธ๋žœ์žญ์…”๋„ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋กœ ๊ธฐ์ˆ ํ•˜๊ณ  ์žˆ๋‹ค. DB-Engines ranking์— ๋”ฐ๋ฅด๋ฉด ๊ฐ€์žฅ ๋Œ€์ค‘์ ์ธ ๊ทธ๋ž˜ํ”„ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์ด๋‹ค

Category db desing

Ref

spring-boot-starter-validation

Ref

Spring Rest Docs

Ref

Spring Boot ์˜ˆ์™ธ์ฒ˜๋ฆฌ

Ref

@RequestParma vs @PathVariable

Ref

Spring์—์„œ @RequestParam๊ณผ @PathVariable

@PathVariable, @RequestParam ๋™์‹œ์— ์‚ฌ์šฉํ•˜๊ธฐ

JSP (JavaServer Pages ) ๋ž€ ๋ฌด์—‡์ธ๊ฐ€?

Ref

[JDBC] JDBC, JPA/Hibernate, Mybatis์˜ ์ฐจ์ด

Ref

Static : ์ •์ ์ด๋ž€ ?

Docker exec

Ref

AWS EC2 instance ์œ ํ˜•

Ref

Firebase

Ref

Trouble Shooting 2

Ref

AWS EC2 ELB

Ref

Spring boot STOMP

Ref

๊ฐœ๋ฐœ์ผ์ง€ ์ž‘์„ฑํ•˜๋Š” ๋ฒ•

Ref

Slf4j2 ๋กœ๊ทธ with Gradle

Ref

์Šคํ”„๋ง์˜ ์–ด๋…ธํ…Œ์ด์…˜

Ref

Spring websocket chatting server

Ref

Spring Data JPA - Reference Documentation

Ref

link

๊ธฐ๋ณธ์™„์„ฑ findBy .. ํ•จ์ˆ˜๋“ค๊ณผ return ๊ฐ’

Practice

Ref

[์Šคํƒ€ํŠธ ์Šคํ”„๋ง ๋ถ€ํŠธ] 1-3 Spring Data JPA๋ฅผ ์ด์šฉํ•œ ๋‹จ์ˆœ ๊ฒŒ์‹œ๋ฌผ์˜ ์ฒ˜๋ฆฌ -> link

๋™์ ์ฟผ๋ฆฌ๋ž€

Ref

Sonarlint

LocalDateTime

Ref

Jackson Library

UUID์™€ increment PK๋Š” ์–ธ์ œ ์‚ฌ์šฉํ•ด์•ผํ• ๊นŒ?

Ref

https://americanopeople.tistory.com/378

UUID example

  • Format. In its canonical textual representation, the 16 octets of a UUID are represented as 32 hexadecimal (base-16) digits, displayed in five groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 hexadecimal characters and 4 hyphens). For example: 123e4567-e89b-12d3-a456-426614174000 .

spring boot์—์„œ DateTime ๋‹ค๋ค„๋ณด๊ธฐ

Ref

Spring Boot์—์„œ yyyy-MM ํฌ๋งท์œผ๋กœ ๋‚ ์งœ ๋ฐ›๊ณ ์‹ถ์„๋•Œ

Deserialize Java 8 LocalDateTime with JacksonMapper

  • Failed to deserialize java.time.LocalDateTime: (java.time.format.DateTimeParseException) Text '2016-10-31 23:59:59' could not be parsed at index 10

Spring Boot JPA ๊ฒŒ์‹œํŒ LocalDateTime format ๋ณ€๊ฒฝํ•˜๊ธฐ

Ref

How to use @DateTimeFormat to format Date Time request param in SpringBoot RestAPI Examples

Ref

JWT ํ† ํฐ ์œ ํšจ์‹œ๊ฐ„ ๊ด€๋ฆฌ

Ref

Last updated