Java CAPS Basics: Implementing Common EAI Patterns