How to read and write JSON with json-simple

  • 21 April 2016
  • ADM

How to read and write JSON with json-simple library. Full example how to create an object, write it to a file, read it and use it.


How to parse Google Search result in Java

  • 26 May 2017
  • ADM

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 create threads in Java

  • 05 April 2016
  • ADM

How to create threads in Java using Runnable interface and Thread class. Comparison between these two implementations.


How to delete a record using JDBC PreparedStatement

  • 19 May 2016
  • ADM

How to delete a record using JDBC PreparedStatement to avoid SQL injection.


How to update a record using JDBC PreparedStatement

  • 29 April 2016
  • ADM

How to update a record using JDBC PreparedStatement to avoid SQL injection.


How to select records using JDBC PreparedStatement

  • 05 April 2016
  • ADM

How to select records from MySQL database using JDBC PreparedStatement to avoid SQL injection.