How to deep clone an object in Java

  • 25 July 2017
  • ADM

How to deep clone an object in Java. The clone method from the parent object needs to clone each child object separately and added to the cloned parent object.


How to clone an object in Java

  • 25 July 2017
  • ADM

How to clone an object in Java. This method works only when the object cloned has only simple variable.


SWT update UI from another thread

  • 05 June 2017
  • ADM

SWT update UI from another thread. Used for long running operations and to avoid the UI being frozen during the operation.


Thread Semaphore and Mutex in Java

  • 30 May 2017
  • ADM

Thread Semaphore and Mutex in Java. Semaphore restrict the access to a resource for limited numbers of threads while mutex restricts the access to a single thread.


How to create tiny HTTP server in Java

  • 08 May 2017
  • ADM

How to create tiny HTTP server in Java using ServerSocket class.


How to get HTTP Response Header using URLConnection in Java

  • 05 May 2017
  • ADM

How to get HTTP Response Header using URLConnection class in Java.