How to change DNS settings from command line

  • 18 June 2019
  • ADM

The command line tool used to change the DNS settings is netsh which allows you to configure just about any aspect of your network connections in Windows. In order to use the tool the command line needs to be started as Administrator.


Java Custom Annotations Example

  • 26 July 2018
  • ADM

How to create Java Custom Annotation. A simple example of creating Annotations in Java and usage by calling the Reflection API.


How to get network interfaces in Java

  • 05 March 2018
  • ADM

How to get network interfaces in Java using NetworkInterface class.


HP Microserver Gen8 - Boot from SSD install on ODD bay

  • 31 October 2020
  • ADM

In order for the HP Microserver Gen8 to boot from the SSD/HDD installed into ODD bay need some configuration to be done. Step by step instructions.


How to centre a SWT shell in the middle of the screen

  • 01 June 2017
  • ADM

How to centre an SWT shell in the middle of the primary monitor. Four simple steps, create the shell, get monitor size, calculate the centre and set the shell new location.


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