https://www.h2database.com/html/main.html H2 Database EngineH2 Database Engine Welcome to H2, the Java SQL database. The main features of H2 are: Very fast, open source, JDBC API Embedded and server modes; in-memory databases Browser based Console application Small footprint: around 2.5 MB jar file size Suppwww.h2database.com H2https://www.h2database.com/html/main.htmlJDBC URLjdbc:h2:tcp://l..
ALL
MVC - model view controller https://docs.spring.io/spring-boot/reference/web/servlet.html Servlet Web Applications :: Spring BootFor servlet application, Spring Boot includes support for embedded Tomcat, Jetty, and Undertow servers. Most developers use the appropriate “Starter” to obtain a fully configured instance. By default, the embedded server listens for HTTP requests on podocs.spring.io Sp..
1. 정적인 페이지 templates/static 에 html 추가하기 templates/static 경로에 index.html 을 넣었을 때 결론적으로 로딩되는건 static 경로에 있는 index.html 공식 문서를 보면 static 경로에서 index.html 를 찾고, 없으면 템플릿 경로에 가서 찾는다 !index 파일을 톰캣을 찾느다 ! 찾을 때 정적인 파일부터 찾고, 업으면 동적인 파일 ! 없으면 페이지가 없다고 문구를 띄운다 !https://docs.spring.io/spring-boot/reference/web/servlet.html Servlet Web Applications :: Spring BootFor servlet application, Spring Boot includes su..
한 17퍼 됐을 때 또 하나 설치하라는 거 똑같이 하면 바로 설치 !재시작 하고 컨트롤 n 해서 스프링 치면 원래 없었는데 생겼따 ! https://tomcat.apache.org/ Apache Tomcat® - Welcome!The Apache Tomcat® software is an open source implementation of the Jakarta Servlet, Jakarta Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Annotations and Jakarta Authentication specifications. These specifications are part of the Jakartatomcat.apach..
@Overridepublic boolean equals(Object obj) { return super.equals(obj);} @Overridepublic boolean equals(Object obj) { // Object 타입으로 받기 때문에 안정성을 위해 조건 걸기 if (obj instanceof Person) { // Object 타입에서 Person 타입으로 형변환 Person person = (Person) obj; return name.equals(person.name) && (age == person.age); } return false;}
[JABA 고급]- design pattern : singleton pattern- enum : 열거형- generic : 제네릭- collection framework : 컬렉션 프레임워크 List , Set, Map- inner class : 내부 클래스- lambda expreesion : 람다식- functional interface : 함수형 인터페이스- method reference : 메소드 참조- stream : 스트림 제네릭 파라미터 제니릭 파라미터 collection# p240703/collection/list/ArrayListEx01https://docs.oracle.com/javase/8/docs/api/index.html Java Platform SE 8 docs.oracle.co..
git init : 초기화, 현재 위치 기준으로 git 폴더 생성 git add . : . 은 현재 위치, 현재 위치에 있는 폴더/파일 추가 git config --global core.autocrlf true : windows는 CRLF를 사용하므로 core.autocrlf를 true로 설정 즉, 저장소에서 가져올 때 LF를 CRLF로 변경하며, 저장소로 보낼 때는 CRLF를 LF로 변경 CRLF : 간단히 말해 줄바꿈(newline)을 입력하는 문자를 칭하는 표현 git commit -m"메세지" : 원격 저장소에 커밋을 할 때 간접적으로 메세지를 통해 어떤 작업을 했는지 알 수 있음 아직 업로드 하지 않은 상태이며, 상태 변경됨 만약 윈도우에 계정이 저장되어 있지 않다면, git config --..