How to get network interfaces in Java using NetworkInterface class.


How to generate JAXB classes with xjc. Command line: xjc -d src -p com.admfactory.client schema.xsd


How to convert a roman number in decimal in Java. The symbols used are I, V, X, C, D and M.


How to kill a process from the command line in Window using tasklist and taskkill command.


How to get local computer name and IP in Java. Simple snippet using InetAddress.getLocalHost() method.


How to create an HTTP URLConnection with proxy in Java. Simple example including proxy authentication.