2023-02-11-TIL

Today I Learned

@SpringBootTest vs @DataJpaTest

  • https://cobbybb.tistory.com/23
  • https://da-nyee.github.io/posts/spring-springboottest-vs-datajpatest/
  • https://velog.io/@jwkim/spring-boot-datajpatest-springboottest
  • https://stackoverflow.com/questions/59097035/springboottest-vs-webmvctest-datajpatest-service-unit-tests-what-is-the-b

Spring Rest Docs and OAS

  • https://dezang.net/blog/2021/08/22/spring-rest-docs-oas-01
  • https://stackoverflow.com/questions/34457729/what-is-the-benefit-of-using-spring-rest-docs-comparing-to-swagger
  • https://velog.io/@bread_dd/Spring-Rest-Docs%EC%99%80-Open-Api-Swagger
  • https://springframework.guru/should-i-use-spring-rest-docs-or-openapi/
  • https://helloworld.kurly.com/blog/spring-rest-docs-guide/
  • https://luvstudy.tistory.com/186
  • https://dzone.com/articles/spring-rest-docs-versus-springfox-swagger-for-api
  • https://catsbi.oopy.io/edcaed06-6df9-4f19-a6f4-05902ad9878d
  • https://jwkim96.tistory.com/274
  • https://www.baeldung.com/spring-rest-docs-vs-openapi
  • https://velog.io/@monkeydugi/Spring-Rest-Docs-%EC%B1%84%ED%83%9D-%EC%9D%B4%EC%9C%A0
  • https://piotrminkowski.com/2018/07/19/spring-rest-docs-versus-springfox-swagger-for-api-documentation/
  • https://devbksheen.tistory.com/entry/Spring-Docs-Swagger-%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0-Spring-Rest-Docs-%EB%B9%84%EA%B5%90
  • https://tech.kakaopay.com/post/openapi-documentation/

Java Copy-On-Write

  • https://www.javamex.com/tutorials/synchronization_concurrency_8_copy_on_write.shtml
  • https://dzone.com/articles/java-concurrency-copy-on-write
  • https://stackoverflow.com/questions/32691747/how-do-copy-on-write-collections-provide-thread-safety

Java Constant Pool

  • https://starkying.tistory.com/entry/what-is-java-string-pool

Shallow Copy vs Deep Copy

immutable을 보장해준다면 shallow copy로도 충분하다.

  • https://velog.io/@ellyheetov/Shallow-Copy-VS-Deep-Copy
  • https://www.geeksforgeeks.org/difference-between-shallow-and-deep-copy-of-a-class/
  • https://byjus.com/gate/difference-between-shallow-and-deep-copy-of-a-class/

Java Clone vs Copy Constructor

  • https://dzone.com/articles/java-cloning-copy-constructor-vs-cloning
  • https://stackoverflow.com/questions/2427883/clone-vs-copy-constructor-which-is-recommended-in-java
  • https://www.baeldung.com/java-copy-constructor
  • https://ss-o.tistory.com/136

JavaScript Prototype

  • https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Object_prototypes
  • https://www.nextree.co.kr/p7323/