How to define one-to-one relationship in MySQL

  • 08 July 2016
  • ADM

How to define one-to-one relationship in MySQL using the foreign key and unique property to limit the row count from the child table


How to read CSV file in Java

  • 27 May 2016
  • ADM

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.


How to format XMLGregorianCalendar

  • 10 May 2016
  • ADM

How to format XMLGregorianCalendar object output using SimpleDateFormat class in Java. Simple tested example.


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.


Luhn algorithm implementation in Java

  • 26 January 2017
  • ADM

Luhn algorithm implementation in Java with example for both calculate the check digit and validate the number.


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.