개발 공부

자바 개발 참고 본문

자바, 스프링, 웹개발/웹개발

자바 개발 참고

아이셩짱셩 2021. 1. 6. 20:25
    1. REST API 규칙 : https://sas-study.tistory.com/265
    2. firebase auth 사용자 관리 : https://firebase.google.com/docs/auth/admin/manage-users?hl=ko
    3. spring data jpa entity : https://victorydntmd.tistory.com/203
    4. lombok : https://www.daleseo.com/lombok-popular-annotations/
    5. enum : https://woowabros.github.io/tools/2017/07/10/java-enum-uses.html
    6. enum converter : https://joont92.github.io/jpa/엔티티-값을-변환해서-저장하기-Converter/
    7. java optional : https://www.daleseo.com/java8-optional-after/
    8. Spring data JPA Composite pk : https://www.baeldung.com/jpa-composite-primary-keys
    9. Spring data JPA ModelMapper : https://www.one-tab.com/page/-tGtpSw6QLqK_rtjwm-_QQ
    10. Spring data JPA entity json return 시 infinite recursive : https://www.one-tab.com/page/if1lOoSbQfeDYKzQPIiNeA
    11. 1대1 연관관계 : https://www.one-tab.com/page/D8faM9u4S_Wml--RTulFLg
    12. get user in spring security : https://www.baeldung.com/get-user-in-spring-security
    13. request parameter type : https://sjh836.tistory.com/143
    14. Spring data JPA json return할 때 ㅡ무한 호출 @JsonBackReference
    15. DTO 고찰 : https://yonguri.tistory.com/69
    16. modelmapper list<entity> → list<dto>//방법1) stream 사용 dtoList = entityList .stream() .map(entity -> modelMapper.map(entity, Dto.class)) .collect(Collectors.toList()); //방법2) foreach 사용 dtoList; entityList.forEach((entity)-> { dtoList.add(modelMapper.map(entity, DTO.class)); });
    17. oop설계원칙 : https://gmlwjd9405.github.io/2018/07/05/oop-solid.html
    18. 스프링에서 thymeleaf 템플릿을 지원하는 이유
      서버가 잠시 동작하지 않았을때도 html이라서 화면이 보이기 때문
      jsp랑 다르게 자바 컴파일을 하지 않았기때문에 jvm 메모리 소모가 덜 하다
      was와 web이라는건 절대적인 역할이 아니라 상대적인 역할 동적인 데이터만 관리하는 서버이냐, 정적인 데이터를 관리하는 서버이냐의 차이.물론 상용 서버 및 설정에 따라 달라지곤함.
    19. objectMapper : https://mkyong.com/java/java-convert-object-to-map-example/
    20. 자바 엑셀 :https://eastglow.github.io/back-end/2019/03/07/Spring-Apache-POI를-이용한-Excel-Download.html
    21. 타임리프 레이아웃 : https://stackoverflow.com/questions/50906362/thymeleaf-layout-decorator-does-not-work
      https://bamdule.tistory.com/33
    22. jquery serializeJson() : https://github.com/marioizquierdo/jquery.serializeJSON
    23. spring locale translator : https://blog.usejournal.com/spring-boot-rest-internationalization-9ab3fce2489
    24. handlerArgumentResolver 사용해서 파라미터 넘겨주기 : https://devidea.tistory.com/16
    25. spring hibernate generate uuid : https://www.baeldung.com/hibernate-identifiers
    26. 다국어 프로젝트 : https://gist.github.com/dlxotn216/cb9fe1e40c7961da9d7147d9ebc876d6
    27. 자바 직렬화(serialize) : https://nesoy.github.io/articles/2018-04/Java-Serialize
    28. 스프링 오토 config : https://www.springboottutorial.com/spring-boot-auto-configuration
    29. lombok toString.exclude : https://stackoverflow.com/questions/54653734/lombok-java-lang-stackoverflowerror-null-on-tostring-method
    30. 스프링 강의 : https://www.springboottutorial.com/spring-boot-auto-configuration
    31. ISOC(internet society) - IAB(internet architecture board) - IRTF(internet research task force)/IETF(internet engineering task force) - STD(internet standard) - RFC(request for comments)
    32. hibernate DOC : https://docs.jboss.org/hibernate/orm/5.0/userguide/html_single/Hibernate_User_Guide.html#identifiers-generators-generic
    33. hibernate vs. sql UUID difference : https://stackoverflow.com/questions/41651681/different-representation-of-uuid-in-java-hibernate-and-sql-server
    34. java uuid : https://www.baeldung.com/java-uuid
    35. mysql convert byte to uuid :
      LOWER(CONCAT( SUBSTR(HEX(uuid), 1, 8), '-', SUBSTR(HEX(uuid), 9, 4), '-', SUBSTR(HEX(uuid), 13, 4), '-', SUBSTR(HEX(uuid), 17, 4), '-', SUBSTR(HEX(uuid), 21) ))
    36. mysql query lock kill :
      show processlist; → call mysql.rds_kill( process-id );
    37. (중요) rest api 보안 : https://bcho.tistory.com/807
    38. JPA exception과 롤백 : https://woowabros.github.io/experience/2019/01/29/exception-in-transaction.html
    39. mysql text size : https://stackoverflow.com/questions/2023481/mysql-large-varchar-vs-text
    40. thymeleaf 텍스트 줄바꿈: https://stackoverflow.com/questions/30394419/thymeleaf-spring-how-to-keep-line-break
    41. thymeleaf string 함수 : https://www.thymeleaf.org/doc/tutorials/2.1/usingthymeleaf.html#strings
    42. 자바 배열 contains : https://ethankang.tistory.com/28
    43. hibernate setting batch/order_insert/update : https://stackoverflow.com/questions/27755461/why-is-hibernate-batching-order-inserts-order-updates-disabled-by-default
    44. rest api 4단계 : https://blog.restcase.com/4-maturity-levels-of-rest-api-design/
    45. spring profile 방법 (https://galid1.tistory.com/664)
    46. default / dev / real을 두고 실행 시 -Dspring.profiles.active.*** 설정 (https://effectivesquid.tistory.com/entry/Spring-boot-profile-적용하기)
    47. dev / real을 구분하고 default에서 active를 정한다.
    48. 이클립스에서 profile 설정 실행 : https://stackoverflow.com/questions/15814497/setting-spring-profile-variable
    49. 서버 구축 : https://www.popit.kr/스타트업-개발자-혼자-빠르게-싸게-서버-구축하기-1편/
      https://real-dongsoo7.tistory.com/100
    50. 넷프릭스 쥴 api 게이트웨이 : https://jsonobject.tistory.com/464https://ratseno.tistory.com/63
    51. 무중단 배포 :https://sangwook.github.io/2014/01/28/zero-downtime-blue-green-deployments-aws.html
      https://jojoldu.tistory.com/267
    52. CI/CD : https://velog.io/@ashesglow/2020-02-08-1002-작성됨-vxk6cxkfeu
      https://www.redhat.com/ko/topics/devops/what-is-ci-cd
      https://revf.tistory.com/158
    53. string array로 antmatcher : https://stackoverflow.com/questions/53714039/antmatchers-for-a-list-of-paths
    54. filter exception controller 적용시키기 :
      https://stackoverflow.com/questions/34595605/how-to-manage-exceptions-thrown-in-filters-in-spring
    55. filter 순서 : https://docs.spring.io/spring-security/site/docs/current/reference/html5/#ns-custom-filters
    56. 자바 커넥션 풀 확인하기
      datasource 불러오기 JdbcAccessor.getDatasource();
    57. hikariPool 불러오기
      HikariPool hikariPool = (HikariPool) new DirectFieldAccessor(jb.getDataSource()).getPropertyValue("pool");
    58. native query : https://www.baeldung.com/spring-data-jpa-query
    59. 영속성 컨택스트 : https://ict-nroo.tistory.com/130
    60. maven wrapper : https://sanghye.tistory.com/34
    61. maven 설치 : https://jiwondh.github.io/2018/08/08/maven-install/
    62. mvn commend http://tutorials.jenkov.com/maven/maven-commands.html
    63. aws 메모리 사용량 (cloudWatch) : https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html
      https://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/mon-scripts.html
    64. s3 권한 정책 생성 https://uiandwe.tistory.com/1174
    65. spring security + thymeleaf config : https://memorynotfound.com/spring-boot-spring-security-thymeleaf-form-login-example/https://www.thymeleaf.org/doc/articles/springsecurity.htmlhttps://victorydntmd.tistory.com/68https://sjh836.tistory.com/165https://handcoding.tistory.com/24https://velog.io/@swchoi0329/NGINX-무중단-배포https://medium.com/@yesesyo/가볍게-마이크로서비스-구축해보기-3-e7e638776109https://woowabros.github.io/r&d/2017/06/13/apigateway.html
Comments