Samples for Effective Java Training