Notice
Recent Posts
Recent Comments
Link
목록의존성 추가 (1)
개발 무지렁이
[Java] JDBC드라이버 의존성을 추가하고, Connection 객체를 생성해 ConnectionPool 구현하기
⭐.ConnectionPool.java public class ConnectionPool { private List connectionpool; private List usedConnections = new ArrayList(); static ResourceBundle rb; private static int INITIAL_POOL_SIZE = 3; static { rb = null; rb = ResourceBundle.getBundle("mysql", Locale.KOREA); try { Class.forName("com.mysql.cj.jdbc.Driver"); } catch (ClassNotFoundException e) { e.printStackTrace(); } } public Connectio..
Backend/자바
2023. 8. 6. 19:32