JAVA & SPRING7 AOP 개념과 쓰임 # AOP : Aspect Oriented Programming 공통 관심사 -> 모듈화 (OOP 강화) 1.프록시기반 2.런타임 기반 3.인터페이스기반 @Around("execution(* com.codesquad.todo2.domain.project.ProjectService.addCard(..))") //Pointcut public Object logAddCard(ProceedingJoinPoint joinPoint) throws Throwable { Object[] args = joinPoint.getArgs(); Long projectId = (Long) args[0]; Long categoryId = (Long) args[1]; Long userId = (Long) args[3]; CardDt.. 2022. 5. 11. API interface 관련 (REST) REST API 기반 . 1. HTTP ENTITY HTTP 통신에서 REQUEST / RESPONSE 에 대해 REST API 방식 정보 송,수신을 위한 HEADER , BODY 의 값을 제어 하기 위한 추상 클래스 . (자바) HttpEntity -> RequestEntity -> HttpStatus / HttpHeader / HttpBody -> ResponseEntity -> HttpStatus / HttpHeader / HttpBody 참고 : https://devlog-wjdrbs96.tistory.com/182 2. REST TEMPLATE https://velog.io/@soosungp33/%EC%8A%A4%ED%94%84%EB%A7%81-RestTemplate-%EC%A0%95%EB%A6.. 2022. 5. 11. IDE ROOT DIRECTORY 종류 * 1. 클래스 패스 2. 소스 루트 3. 리소스 루트 4. 웹 리소스 2022. 3. 18. 이전 1 2 다음