	public static void main(String[] args) throws ClassNotFoundException, SQLException {
		SimpleConnectionPool pool = (args != null && args.length >= 4) ?
		 		SimpleConnectionPool.createDefaultPool(args[0],args[1], args[2], args[3])
		 	:
		 		SimpleConnectionPool.createDefaultPool("org.hsqldb.jdbc.JDBCDriver",
				"jdbc:hsqldb:mem:power-test", "sa", "");
		Connection connection = pool.getConnection();
		doSomethingWithDatabase(connection);
		pool.releaseConnection(connection);	
		pool.stop();
	}

	public static void main(String[] args) throws ClassNotFoundException, SQLException {
		SimpleConnectionPool pool = (args != null && args.length >= 4) ?
		 		SimpleConnectionPool.createDefaultPool(args[0],args[1], args[2], args[3])
		 	:
		 		SimpleConnectionPool.createDefaultPool("org.hsqldb.jdbc.JDBCDriver",
				"jdbc:hsqldb:mem:power-test", "sa", "");
		Connection connection = pool.getConnection(); 
		doSomethingWithDatabase(connection);
		pool.releaseConnection(connection);	
		pool.stop();
	}
