This is an examples of useful design patterns in Java.