전체 글
-
[독서] 객체지향의 사실과 오해 1장책 리뷰 2024. 4. 2. 02:07
조영호 지음 🐯표시는 기존의 지식이나 생각을 덧붙인 것이다. 1장 역할, 책임, 협력관계에서 본 객체지향 객체들의 모임이란 역할, 책임, 협력해야 하는 동적인 공동체이며 이 공동체를 시스템이라고 한다. 우리는 이 시스템을 작은 단위로 분할, 즉 객체로 분할하여 재사용할 수 있고 유지보수하기 쉽게 구성해야 한다.🐯유지보수와 재사용은 비용효율적이다. 비용에는 시간도 포함이다. 그리고 이러한 역할, 책임, 협력을 할 때 취하는 행위가 나오는 동시에 객체에는 상태가 존재한다. 🐯앞으로 나아가기 위해 서있는 상태에서는 걸어가고 엎드린 상태에서는 기어가듯, 행위를 할 땐 항상 상태가 존재한다. 역할이 주어지면 그에 따른 책임이 존재하는 것처럼 말이다. 객체의 덕목 : 협력적, 자율적 Object같은 최고수준의 객체..
-
공공데이터 open api의 xml 파일을 csv 파일로 변환하기기타 2023. 11. 11. 09:18
1. 공공데이터 open api 활용신청을 해서 인증키를 발급받는다. 2. 인코딩 키를 복사해 둔다. 3. 해당 데이터의 참고문서를 열어서 URI를 복사한다. 4. 크롬 확장 앱 중 Talend API Tester 를 연다. 5. 다음과 같이 URI의 ServiceKey 앞 ?(물음표) 전까지만 복사해서 get 요청에 넣는다. (getCountryBasicList까지) 6. [Add query parameter] 버튼을 눌러서 서비스키와 필수 항목을 적어야한다. 필수항목은 참고문서 내용을 활용해야 하며 예시를 보자. 요청 메시지 명세를 보면 항목구분에 "1"로 되어있는 것은 not null이어야 한다. 전체 csv 데이터를 저장하고 싶으니 아래로 더 내려서 "전체 결과 수" 를 확인한다. 등록된 국가는 ..
-
🌱NCP(3) STS로 WAR 파일 배포해서 톰캣 연동하기카테고리 없음 2023. 10. 30. 17:11
0. STS에서 프로젝트 생성, WAR 파일 배포 STS 에서 legacy project로 하나 추가해 준다. spring mvc project www.exex.org properties에서 자바 11버전으로 변경해 주기 만들어둔 프로젝트 우클릭 Export - WAR file (또는 war 검색) [Browse] - 경로를 톰캣 설치된 webapps로 설정 ❗ Destination 경로 칸에 프로젝트명끝에 .war 붙여주면 에러가 사라진다. home.jsp 화면 설정 프로젝트의 views 폴더에서 home.jsp 확인 🧙순서 1.은 로컬에서 접속 방법이니 war 배포해서 실행하는 방법을 보려면 바로 2.로 넘어가자. 1. 로컬에서 톰캣 실행하여 서버 접속 톰캣 설치 위치 - bin 폴더 - startu..
-
🌱NCP(2) NCP + PuTTY 로 자바, MySQL 설치 및 디비버로 등록카테고리 없음 2023. 10. 26. 15:17
이전 단계 참고 https://marchislike.tistory.com/119 자바 jdk 11 ➡️ mysql 8.0 설치(Public key 확인) ➡️ mysql 패스워드 설정 ➡️ mysql secure 설정 ➡️ DB 생성 , 사용자 계정 ➡️ mysql 방화벽 ➡️ 디비버에 네트워크 등록 1. 자바 설치 자바 설치 명령어 >> apt install openjdk-11-jdk >> Y 근데 업데이트 필요하다고 뜬다. >> apt update 입력 후 화면 다시 자바 설치 명령어 입력 >> apt install openjdk-11-jdk 2. MySQL 설치 >> wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb >> dpk..
-
🌱NCP(1) Naver Cloud Platform 첫 사용법 및 PuTTY 이용카테고리 없음 2023. 10. 26. 15:17
1. 서버 생성하기 https://www.ncloud.com/ NAVER CLOUD PLATFORM cloud computing services for corporations, IaaS, PaaS, SaaS, with Global region and Security Technology Certification www.ncloud.com 사이트 접속해서 로그인 후 결제수단까지 등록 끝나면 아래와 같은 화면 나옴 간단한 설정을 해 보기 위해 [Classic] 선택 [Services] - [All] - [Server] 선택하면 좌측 메뉴에 자동으로 Server 탭이 생긴다. 세대들 설명이 있다. 테스트용으로는 Micro를 쓸 것이다. 일단 [+ 서버 생성] 클릭 아래 이미지와 같이 체크하여 다음 이런 안내문이..
-
FileZila 파일질라 설치 및 사용법카테고리 없음 2023. 10. 26. 15:16
파일질라 데이터양이 많아지면 일반 http통신으로 전송하려할 때 오랜 시간이 걸린다. 이 때 ftp(file transfer protocol)의 종류인 파일질라를 사용하면, 네트워크를 통해 파일을 주고받을 수 있으므로 좋다. 프로젝트를 할 때 데이터 양이 늘어나니 사용하는 것이다. *ftp는 파일을 주고 받는 용도로만 만들어졌다. 사이트 접속해서 client 버전 다운 https://filezilla-project.org/ 맨 왼쪽 버전 다운 exe 실행 오페라는 깔아도 되고 안 깔아도 된다. 설치 완료된 상태 호스트 설정 상위 [파일] 탭 - [사이트 관리자] 1 [새 사이트] - 2 이름 설정 - 3 항목 채우기 네이버 클라우드 플랫폼에서 서버 생성할 때 만들어진 포트 포워딩 정보와 사용자 정보가 필..
-
🖥️PuTTY 설치카테고리 없음 2023. 10. 26. 09:54
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html Download PuTTY: latest release (0.79) This page contains download links for the latest released version of PuTTY. Currently this is 0.79, released on 2023-08-26. When new releases come out, this page will update to contain the latest, so this is a good page to bookmark or link to. Alternativel www.chiark.greenend.org.uk PuTTY 사이트 접속 ..