Welcome to The Apache Software Foundation!
Reports Official ASF reports and statements, including Quarterly and Annual Reports, Vision Statement, "Apache is Open", 5-Year Strategic Plan, and more.
www.apache.org
여기에 들어가서 프로젝트 - 프로젝트 리스트 - commons를 들어간다.
collections에서 다운로드탭 - 내가쓰고있는건 자바8이라서 commons-collections4-4.4-bin.zip 다운받음
Apache Commons Collections 4.4 (Requires Java 8 or later)
----------------------------------------------------------------------------
그다음은 commons -
dbcp - 다운로드 - 위 그림비슷한거 다운
Apache Commons DBCP 2.8.0 for JDBC 4.2 on Java 8
--------------------------------------------------------------------------
그다음은 commons - pool - 다운로드 - 위 그림비슷한거 다운
Apache Commons Pool 2.9.0 (Java 8)
다운 다 받았으면
리소스 활용은 여기에서 퍼왔음
tomcat.apache.org/tomcat-8.5-doc/jndi-datasource-examples-howto.html#Oracle_8i,_9i_&_10g
Apache Tomcat 8 (8.5.61) - JNDI Datasource How-To
JNDI Datasource configuration is covered extensively in the JNDI-Resources-HOWTO. However, feedback from tomcat-user has shown that specifics for individual configurations can be rather tricky. Here then are some example configurations that have been poste
tomcat.apache.org
<Resource name="jdbc/myoracle" auth="Container" type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver" url="jdbc:oracle:thin:@127.0.0.1:1521:mysid" username="scott" password="tiger" maxTotal="20" maxIdle="10" maxWaitMillis="-1"/>
위를 context.xml에 붙여준다
그러나 나는 db 설정이 다르므로
이렇게 변경했음.
'코딩' 카테고리의 다른 글
jsp 파일 업로드편 (0) | 2021.01.27 |
---|---|
zipcode.csv 활용 (0) | 2021.01.20 |
JSP Life Cycle (0) | 2021.01.14 |
스레드의 LifeCycle (0) | 2021.01.12 |
서블릿(Servlet) 만들기 (0) | 2021.01.12 |