Template method Pattern - Design Patterns in Java/J2EE