JDBC, Factory, DAO