Java Diameter. Just for study.