GET/POST request with Apache HttpClient

  • 27 January 2017
  • ADM

GET/POST request tutorial using Apache HttpClient. The tutorial is using httpbin.org test server.


Java Properties file example

  • 07 December 2016
  • ADM

How to work with java Properties files. Properties files are key values file. The tutorial contains both read and write examples.


How to install golang on Raspberry PI

  • 17 March 2017
  • ADM

How to install golang on Raspberry PI. Example using apt-get and using the latest binary available.


How to convert String to InputStream in Java

  • 14 October 2016
  • ADM

Simple example how to convert a String object InputStream object in Java using ByteArrayInputStream class.


How to read and write files in Java

  • 17 June 2016
  • ADM

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 convert object to / from JSON using Jackson

  • 17 July 2017
  • ADM

How to convert Java object to / from JSON string using Jackson library. Simple example including embedded object.