A Little Java, A Few Patterns