공부 이야기/Spring
-
-
H2 기본 자료형공부 이야기/Spring 2023. 12. 30. 12:54
문자열 타입: VARCHAR(size): 가변 길이 문자열. size는 최대 길이입니다. CHAR(size): 고정 길이 문자열. size는 고정 길이입니다. 숫자 타입: INT: 32비트 정수. BIGINT: 64비트 정수. DECIMAL(precision, scale): 정밀한 십진수. precision은 전체 자릿수, scale은 소수점 이하 자릿수. 날짜 및 시간 타입: DATE: 날짜. TIME: 시간. TIMESTAMP: 날짜 및 시간. 불리언 타입: BOOLEAN: 참 또는 거짓. 바이너리 타입: BINARY(size): 이진 데이터. size는 최대 길이입니다. VARBINARY(size): 가변 길이 이진 데이터. size는 최대 길이입니다. 다른 특수 타입: ARRAY: 배열. UUID..
-
Tomcat - web.xml공부 이야기/Spring 2022. 12. 25. 16:13
공식 문서 /WEB-INF/web.xml - The Web Application Deployment Descriptor for your application. This is an XML file describing the servlets and other components that make up your application, along with any initialization parameters and container-managed security constraints that you want the server to enforce for you. This file is discussed in more detail in the following subsection. As mentioned abov..
-
톰캣이 서블릿 컨테이너를 부팅하는 과정공부 이야기/Spring 2022. 12. 25. 14:11
start.sh에서 DispatcherServlet 클래스가 생성되는 시점까지 1. init() - jar 파일 로딩 - jar 대상 : WEB-INF/classes, WEB-INF/lib, jre/ext/lib, CLATHPATH 안에 위치한 class 파일 2. load() - java reflection을 이용해서 catalina 객체 생성 - server.xml 파일 파싱, 파싱된 XML정보를 기반으로 Object Mapping Tool로 객체를 생성 3. start() - tomcat filter(=valve)의 실행이 시작하는 시점 - web.xml 파싱 - ServletContainerInitializer 클래스를 톰캣 라이브러리에서 찾는다 - 해당 클래스의 메인 메소드인 onStart()으..
-
-
-
-