전체 글
-
[Java] Inheritance, OverridingProgramming Lang/Java 2022. 9. 9. 02:02
상속이란? inheritance (상속) a physical or mental characteristic inherited from your parents, or the process by which this happens 부모로부터 물려받은 신체적 또는 정신적 특성, 또는 이것이 일어나는 과정 overriding (오버라이딩) to take control over something, especially in order to change the way it operates 특히 운영 방식을 바꾸기 위해 무언가를 통제하는 것 a device that changes the control of a machine or system in special situations, especially from automa..
-
[Java] Class, Instance, ConstructorProgramming Lang/Java 2022. 9. 7. 02:44
클래스란? object (객체) a thing that can be seen, held, or touched, usually not a living thing 보통 생물이 아닌, 보이고, 잡히고, 만질 수 있는 것 class (클래스) a group of related plants or animals, in the general classification of plants and animals 동식물의 일반적인 분류에서 관련 식물 또는 동물의 그룹 instance (인스턴스) a particular situation, event, or fact, especially an example of something that happens generally 특정한 상황, 사건 또는 사실, 특히 일반적으로 일어나는..
-
H2 Server 설치, Error 해결Back-End/Database & etc 2022. 9. 5. 22:07
Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode 이미 서버가 켜져 있는데 또 켜려고 하니, 생기는 에러. Database may be already in use: "Locked by another process" 내장모드(Embedded)와 내 컴퓨터에 설치된 h2 Tcp/Ip 와 연결하여 실행시킬 수 있는 방법(Server)이 있다. 내장모드일 때에는 한 프로세스가 실행되고 있으면 다른 프로세스를 실행할 수 없기 때문에 여러 개를 실행하고 싶다면 Server 로 실행시켜줘야한다. 아래는 최대한 충돌이 나지 않게 하기 위해 시도한 방법 # Database sp..
-
[Java] Variable, Method, JVMProgramming Lang/Java 2022. 9. 5. 00:13
변수와 메서드란? variable (변수) something that is variable method (메서드, 방법) a procedure or process for attaining an object - a way, technique, or process of or for doing something ETC static 스태틱 (정적인) : standing or fixed in one place instance : 어떤 집합에 대해서, 그 집합의 개별적인 요소 class : 수업, 과목, 반, 학급 등 변수의 종류 클래스 변수 인스턴스 변수 지역 변수 변수의 선언된 위치가 중요! class VarMethod { void main(String[] args) { Variables.cv = 0; //Va..
-
[Java] String ArrayProgramming Lang/Java 2022. 8. 28. 02:52
스트링 배열이란? String a set of objects joined together in a row on a single rope or thread 밧줄이나 실 하나로 일렬로 연결된 한 세트의 물체 a usually short piece of text consisting of letters, numbers, or symbols that is used in computer processes such as searching through large amounts of information 대개 많은 양의 정보를 검색하는 것과 같은 컴퓨터 프로세스에서 사용되는 문자, 숫자 또는 기호로 구성된 짧은 텍스트 조각 Array a large group of things, especially one that ha..
-
[Java] OperatorProgramming Lang/Java 2022. 8. 27. 02:03
연산자란? Operator (연산자) a symbol that does something to a number or quantity in a calculation. For example, in 7 + y, the symbol + is the operator. 계산에서 숫자나 양에 어떤 일을 하는 기호. 예를 들어, 7 + y에서 + 기호는 연산자 이다. ex) + - * / Operand (피연산자) a number or quantity that has something done to it in a calculation. For example, in 7 + y, 7 and y are the operands. 계산에 어떤 영향을 미치는 수 또는 수량. 예를 들어, 7 + y에서 7과 y는 피연산자 이다. ..
-
[Next Step] 3장 ~ 4장 : HTTP Web Server 정리Study/Next Step 2022. 7. 30. 04:47
Web ServerWeb Server 를 시작하게 되면 클라이언트로부터 요청이 발생하는 것을 로그로 확인할 수 있다.각 요청마다 클라이언트의 Port 는 서로 다른 Port 로 연결한다.서버는 각 요청에 대해 순차적으로 실행하지 않고 Thread 를 생성하여 동시에 실행한다. GET /index.html HTTP/1.1GET /css/styles.css HTTP/1.1GET /js/scripts.js HTTP/1.1... HTTP Status Codehtml 의 form 태그는 GET 과 POST 메소드만 지원한다.나머지 메소드(PUT, DELETE 등)는 AJAX 및 REST API 로 가능하다. GET 은 서버에 존재하는 데이터(또는 자원)을 가져오는 것. 서버에 존..
-
[Next Step] View 화면과 Database 연결Study/Next Step 2022. 7. 29. 00:04
View 화면 - Thymeleaf책에서는 JSP 를 연결하도록 소개 되어있지만, 나는 Thymeleaf 를 이용해보았다. Thymeleaf 를 세팅하는 것은 간단하다. build.gradle에 thymeleaf 라이브러리를 추가해주고, html 의 모든 파일에는 상단에 아래와 같은 코드를 한 줄 추가해준다. Thymeleaf 의 문법은 아래와 같다. 속성 앞에 꼭 th: 를 붙여주어야 하며, 요청명은 @{} 로 감싸준다.회원가입 tiles 와 같은 header, footer 를 추가하고 싶다면, build.gradle에 아래와 같은 라이브러리를 추가해준다. fragment 는 검색하면 자료가 많이 나오므로 작성 방법은 직접 검색해보기 바란다.implementation 'nz.net.ultraq.thym..