728x90 Spring39 Spring 3.1.1 RELEASE CORS Filter https://howtodoinjava.com/java/servlets/java-cors-filter-example/https://junhokims.tistory.com/29https://velog.io/@wjdwl002/CORS%EC%9D%98-%EA%B8%B0%EB%B3%B8-%EA%B0%9C%EB%85%90%EA%B3%BC-%EB%8F%99%EC%9E%91-%EB%B0%A9%EC%8B%9D%EB%B6%80%EC%A0%9C-Preflight-%EC%9A%94%EC%B2%AD%EC%9D%B4%EB%9E%80https://inpa.tistory.com/entry/WEB-%F0%9F%93%9A-CORS-%F0%9F%92%AF-%EC%A0%95%EB%A6%AC-%ED%95%B4%EA%B2%B0-%EB%B0%.. 2024. 7. 23. Spring MVC Project 안보일 때 참고자료 Spring Legacy pom.xml 초기설정 Spring Legacy pom.xml 초기설정Spring Boot 프로젝트 생성시 제공해주는 라이브러리를 참고하여 작성했다 항목버전Spring Framework5.3.36WASTomcat 9Servlet4.0.1Java11 Spring Framework 6 버전은 Java 17부터 사용한다 4.0.0 simpleSpring simpleSpring 0.0.1-cloakinghost.tistory.com 위 참고 자료는 한땀한땀 Project를 만든 자료이다 그렇다면 정말 기존처럼 바로 생성할 수는 없는가? 그건 아니다 최근에 Spring MVC Project를 만들 수 없다는 얘기가 많아지면서 여러 방법이 나타나고 있다 많이 알려지는 방법이 있다... 2024. 6. 21. Mybatis mapper xml 파일 위치 지정 XXXMapper.xml 위치 지정(classpath* 사용해야함 * ← 있어야함)root-context.xml @Bean public SqlSessionFactory sqlSessionFactory() throws Exception { SqlSessionFactoryBean sqlSessionFactory = new SqlSessionFactoryBean(); // dataSource sqlSessionFactory.setDataSource(dataSource()); // MyBatis Configuration org.apache.ibatis.session.Configuration mybatisConfig = new org.apache.ibatis.session.Configuration(); .. 2024. 6. 10. Spring Legacy pom.xml 초기설정 Spring Boot 프로젝트 생성시 제공해주는 라이브러리를 참고하여 작성했다 항목버전Spring Framework5.3.36WASTomcat 9Servlet4.0.1Java11 Spring Framework 6 버전은 Java 17부터 사용한다 4.0.0 simpleSpring simpleSpring 0.0.1-SNAPSHOT war 11 5.3.36 maven-compiler-plugin 3.8.1 ${java-version} maven-war-plugin 3.2.3 false javax.serv.. 2024. 6. 3. moa(3) 대댓글 구현에 대한 이해를 기록한다 SELECT c.*, p.* FROM Comment c left JOIN Comment p ON c.parent_id = p.comment_id WHERE c.board_id = 1 ORDER BY COALESCE(p.comment_id, c.comment_id), c.comment_date ASC; SELECT c.* FROM Comment c; SELECT c.*, p.* FROM Comment c left JOIN Comment p ON c.parent_id = p.comment_id WHERE c.board_id = 1; SELECT c.* FROM Comment c right JOIN Comment p ON c.parent_id = p.parent_id ; -.. 2024. 2. 22. moa(1) Main DB H2 Database(2.2.224) Web Server(WS) Apache Web Application Server(WAS) Tomcat 10 Language Java 17 Framework Spring Boot 3(3.2.2) Server local → EC2 || Virtual Machine Data Crawling BS4, playwright Language Python 3.10 Test Stress Tester nGrinder Code Test JUnit5 Monitor APM Scouter 부하테스트를 통한 성능 개선 보고서를 만들려한다. JPA를 사용한 게시판과 데이터를 수집하여 클라이언트 요청에 응답하는 기본이 되는 형태의 미니프로젝트이다 우선 시큐리티를 제외하고 회원과 게시.. 2024. 2. 15. 이전 1 2 3 4 ··· 7 다음