How to read and write files in Java
How to read and write files in Java using BufferedReader and BufferedWriter. The example highlights the classic resource release and try-with-resource approach.
How to read CSV file in Java
How to parse CSV file in Java and display all the value.The solution treats the case when a column contains the delimiter and the double quote character.
Split a string and loop in SQL Server
How to split a string and loop it's values in Microsoft SQL Server. Simple solution used to insert data into tables.
How to parse Google Search result in Java
How to parse Google Search result in Java using URLConnection and a regular expression to parse the response. Can be used to check the Google SERP position.
How to select records using JDBC PreparedStatement
How to select records from MySQL database using JDBC PreparedStatement to avoid SQL injection.
How to create thread pool in Java
How to create a simple thread pool in Java using ExecutorService, Executors, ThreadPoolExecutor and RejectedExecutionHandler classes.