Post

2023-02-17-TIL

2023-02-17-TIL

Today I learned

EOF

  • https://en.wikipedia.org/wiki/End-of-file
  • https://stackoverflow.com/questions/31155914/what-is-eof-and-what-is-its-significance-how-can-it-be-noticed
  • https://www.computerhope.com/jargon/e/eof.htm
  • https://www.quora.com/What-is-EOF-and-what-is-its-significance-How-can-it-be-noticed
  • https://javarevisited.blogspot.com/2018/01/how-to-ignore-unknown-properties-parsing-json-java-jackson.html#axzz7tX6yWqHe

@JsonIgnoreProperties

  • https://fasterxml.github.io/jackson-annotations/javadoc/2.9/com/fasterxml/jackson/annotation/JsonIgnoreProperties.html
  • https://www.geeksforgeeks.org/how-to-ignore-unknown-properties-while-parsing-json-in-java/
  • https://stackoverflow.com/questions/19973762/jackson-wrapper-deserialization-best-practices
  • https://javarevisited.blogspot.com/2018/01/how-to-ignore-unknown-properties-parsing-json-java-jackson.html#axzz7tX6yWqHe
  • https://velog.io/@hth9876/JsonIgnorePropertiesignoreUnknown-true

Assertion Frameworks: AssertJ vs JUnit

  • https://joel-costigliola.github.io/assertj/assertj-core-converting-junit5-assertions-to-assertj.html
  • https://pjh3749.tistory.com/241
  • https://stackoverflow.com/questions/2966347/assert-vs-junit-assertions
  • https://annaduldiier.medium.com/assertj-vs-junit-483b7d6dc997
  • https://effortguy.tistory.com/125
  • https://www.xenonstack.com/insights/what-are-assertion-frameworks
  • https://dzone.com/articles/hamcrest-vs-assertj-assertion-frameworks-which-one
  • https://truth.dev/comparison.html
  • https://loopstudy.tistory.com/287

Functional Programming in Java

  • https://www.baeldung.com/java-functional-programming
  • https://jenkov.com/tutorials/java-functional-programming/index.html
  • https://www.geeksforgeeks.org/functional-programming-in-java-with-examples/
  • https://leejaedoo.github.io/designing_with_lambda_expressions/
  • https://www.scaler.com/topics/java/functional-programming-in-java/
  • https://www.youtube.com/watch?v=VRpHdSFWGPs

First-Class Functions in Java

  • https://ericnormand.me/podcast/what-are-first-class-functions
  • https://dzone.com/articles/java-lambda-expressions-functions-as-first-class-citizens
  • https://www.tutorialspoint.com/functional_programming_with_java/functional_programming_with_java_firstclass_function.htm
  • https://stackoverflow.com/questions/22530345/does-java-8-support-functions-as-first-class-objects
  • https://www.youtube.com/watch?v=Rd-sqHjmfB0
  • https://rosettacode.org/wiki/First-class_functions
  • https://spring.io/blog/2014/03/20/manning-publications-first-class-functions-in-java-8

Pure Functions in Java

  • https://blog.knoldus.com/functional-java-understanding-pure-functions-with-java/

DTO Inner Class

  • https://velog.io/@nomonday/Spring-API-%EA%B0%9C%EB%B0%9C-%EC%8B%9C-request%EB%8A%94-DTO%EC%97%90-%EB%B0%9B%EC%95%84%EC%98%A4%EC%9E%90
  • https://jiwondev.tistory.com/251
  • https://unluckyjung.github.io/dev/2022/02/20/Dto-InnerClass/
  • https://docs.oracle.com/javase/tutorial/java/javaOO/nested.html
  • https://www.baeldung.com/java-dto-pattern
  • https://stackoverflow.com/questions/44349199/reusing-dto-for-various-request-response-types-vs-explicitness-of-what-is-requir

Package by Component

  • https://medium.com/react-native-training/lets-write-examples-with-package-by-feature-approach-on-react-native-7494b49e034c
  • https://blog.ttulka.com/package-by-component-with-clean-modules-in-java/
  • https://medium.com/@mammimia/clean-architecture-part-iv-component-principles-89d3cb58c195
  • https://stackoverflow.com/questions/46884449/uncle-bobs-clean-architecture-approach-what-is-recommended-package-structure
  • https://www.baeldung.com/spring-boot-clean-architecture
  • https://www.educative.io/blog/clean-architecture-tutorial
  • https://github.com/serodriguez68/clean-architecture/blob/master/part-4-component-principles.md
  • https://learning-notes.mistermicheels.com/architecture-design/reference-architectures/package-by-feature-or-component/
  • https://docs.oracle.com/cd/E19683-01/806-7008/6jftmsc10/index.html
  • https://dzone.com/articles/package-component-and

Google API

  • https://googleapis.github.io/HowToREST.html

@ControllerAdvice vs @RestControllerAdvice

  • https://stackoverflow.com/questions/43124391/restcontrolleradvice-vs-controlleradvice
  • https://chanos.tistory.com/entry/Spring-%EC%A0%84%EC%97%AD-%EC%98%88%EC%99%B8-%EC%B2%98%EB%A6%AC%EB%A5%BC-%EC%9C%84%ED%95%9C-ControllerAdvice%EC%99%80-RestControllerAdvice
  • https://velog.io/@banjjoknim/RestControllerAdvice
  • https://www.bezkoder.com/spring-boot-restcontrolleradvice/

@ExceptionHandler and @ControllerAdvice

  • https://tecoble.techcourse.co.kr/post/2021-05-10-controller_advice_exception_handler/
  • https://incheol-jung.gitbook.io/docs/q-and-a/spring/controlleradvice-exceptionhandler
  • https://stackoverflow.com/questions/35323174/what-are-the-advantages-of-controlleradvice-over-exceptionhandler-or-handlerex
  • https://www.digitalocean.com/community/tutorials/spring-mvc-exception-handling-controlleradvice-exceptionhandler-handlerexceptionresolver
  • https://www.bezkoder.com/spring-boot-controlleradvice-exceptionhandler/
  • https://samtao.tistory.com/42

Error Message Management

  • https://hyune-c.tistory.com/entry/ErrorMessage%EB%A5%BC-%EA%B4%80%EB%A6%AC%ED%95%98%EB%8A%94-%EB%B0%A9%EB%B2%95

Spring Boot Exception Handling

  • https://github.com/brunocleite/spring-boot-exception-handling/blob/master/src/main/java/com/example/springbootexceptionhandling/EntityNotFoundException.java
  • https://www.toptal.com/java/spring-boot-rest-api-error-handling
  • https://github.com/cami-la/exceptions-java/blob/master/src/br/com/dio/exceptions/UncheckedException.java
  • https://github.com/stormpath/spring-mvc-rest-exhandler/blob/master/main/src/main/java/com/stormpath/spring/web/servlet/handler/RestExceptionHandler.java
  • https://github.com/jirutka/spring-rest-exception-handler/tree/master/src/main/java/cz/jirutka/spring/exhandler/handlers

Dynamic vs Static vs SPA

  • https://academind.com/tutorials/dynamic-vs-static-vs-spa
  • https://betterprogramming.pub/web-development-in-2021-dynamic-vs-static-vs-single-page-architecture-399d0c3defe6

@Async in Spring

  • https://velog.io/@gillog/Spring-Async-Annotation%EB%B9%84%EB%8F%99%EA%B8%B0-%EB%A9%94%EC%86%8C%EB%93%9C-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0
  • https://goodgid.github.io/SpringBoot-Why-doesn’t-it-work-with-Async/
  • https://steady-coding.tistory.com/611

Spring 6.0 and Spring Boot 3.0

  • https://spring.io/blog/2022/11/16/spring-framework-6-0-goes-ga
  • https://docs.spring.io/spring-security/reference/migration/index.html
  • https://www.baeldung.com/spring-boot-3-spring-6-new
  • https://github.com/spring-projects/spring-framework/wiki/What’s-New-in-Spring-Framework-6.x
  • https://marrrang.tistory.com/m/101?category=925235
  • https://www.springcloud.io/post/2022-02/springframework-6/#gsc.tab=0
  • https://springframework.guru/getting-ready-for-spring-framework-6/
  • https://www.infoq.com/news/2021/09/spring-6-spring-boot-3-overhaul/
  • https://www.youtube.com/watch?v=TR254zh-f3c
  • https://www.youtube.com/watch?v=mitWK_DwKGs

Multi-Threading in Spring Boot Using CompletableFuture

  • https://swathisprasad.medium.com/multi-threading-in-spring-boot-using-completablefuture-a7ca68a0fe48

Spring Data JPA and R2DBC

  • https://jiwhunkim.github.io/develop/2020/02/01/spring-using-together-jpa-and-r2dbc.html
  • https://stackoverflow.com/questions/52480271/spring-webflux-jpa-reactive-repositories-are-not-supported-by-jpa
  • https://spring.io/blog/2016/11/28/going-reactive-with-spring-data
  • https://jyeonjyan.tistory.com/m/5
  • https://www.baeldung.com/spring-mvc-async-vs-webflux
  • https://www.baeldung.com/kotlin/spring-boot-kotlin-coroutines

Tomcat vs Jetty

  • https://cloudinfrastructureservices.co.uk/tomcat-vs-jetty-whats-the-difference/
This post is licensed under CC BY 4.0 by the author.