How to create Null Object Pattern in Java

  • 07 December 2016
  • ADM

How to create Null Object Pattern in Java. Simple example using object and null object class implementation.


How to create Abstract Factory Pattern in Java

  • 03 November 2016
  • ADM

How to create a abstract factory design pattern in Java using the example of creating a database table/stored procedure for multiple database engines.


How to create Factory Pattern in Java

  • 03 November 2016
  • ADM

How to create a factory design pattern in Java using the example of creating a database table for multiple database engines.


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.


How to convert String to double in Java

  • 14 October 2016
  • ADM

How to convert String to double in Java using Double.parseDouble and Double.valueOf methods. Simple example provided.