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.


Get and Set Field Value using Reflection in Java

  • 31 October 2016
  • ADM

How to get and set field value using reflection in Java. The tutorial covers all situations for a field: public, private and protected.


How to execute method using reflection in Java

  • 28 October 2016
  • ADM

How to execute method using reflection in Java. Example with all cases, with/without parameters and returning/no returning a value.


How to create object using reflection in Java

  • 27 October 2016
  • ADM

How to create an object using reflection in Java. Simple examples for both situations provided: with parameters or without parameters.


GET/POST request with HttpURLConnection in Java

  • 17 October 2016
  • ADM

How to send GET and POST requests using standard HttpURLConnection class from Java. Simple examples for both methods.


How to generate tables from entities using EclipseLink

  • 15 July 2016
  • ADM

How to generate entities from tables using EclipseLink. Simple example using one-to-one database relationship. @MappedSuperclass example included