public static void main(String[] args) {
		try {
			Class.forName("com.mysql.jdbc.Driver");
			Connection con = DriverManager.getConnection("jdbc:mysql://tpfppt3.os.amadeus.net:3306/ppt_automation",args[0],args[1]);
			String query = "SELECT DISTINCT application FROM db_conn";
			Statement st = con.createStatement();
			ResultSet rs = st.executeQuery(query);
			while (rs.next()){
				String application = rs.getString("application");
				System.out.format("%s\n", application);
			}
		}catch (Exception e){
			System.err.println("Got an exception! ");
			System.err.println(e.getMessage());
		}
		String[] splitString = example.split("\\s+");
		System.out.println(splitString.length);
		System.out.println(example.replaceAll("\\s+", "\t"));
		
	}