Tag: templatemethod

  • How to implement Template Method pattern in Java?

    Let’s say you have created an application with two complex forms : One for managing products. Another for managing user of the products. You have a single form ‘ProductForm’ for managing a product and a single form ‘UserForm’ for managing a user. You want to perform three levels of validation for both the forms: Input…