How to change DNS settings from command line
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.
How to change computer's IP address from command line
The command line tool used to change the IP address 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
How to get network interfaces in Java
How to get network interfaces in Java using NetworkInterface class.
How to generate JAXB classes with xjc
How to generate JAXB classes with xjc. Command line: xjc -d src -p com.admfactory.client schema.xsd
How to get local computer name and IP in Java
How to get local computer name and IP in Java. Simple snippet using InetAddress.getLocalHost() method.
JAXB Hello World Marshalling / Unmarshalling Example
JAXB Hello World Marshalling/Unmarshalling example: Object to XML and XML to Object.