Monthly Archives: September 2012

Understanding Template Method Pattern

The Template Method Pattern defines the skeleton of an algorithm in a method, deferring some steps to subclasses. Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm’s structure Below are the classes which makes Tea … Continue reading

Posted in Design Pattern | Tagged | 2 Comments

Understanding Struts 2.0

EmployeeRegistrationForm.jsp struts.xml EmployeeAction-validation.xml ListOfEmployee.jsp

Posted in Just 4 Knowledge, Struts 2.0 | Tagged | Leave a comment

Command Design Pattern

Command design pattern is used to encapsulate a request as an object and pass to an invoker, wherein the invoker does not knows how to service the request but uses the encapsulated command to perform an action. To understand command … Continue reading

Posted in Core JAVA, Design Pattern | Tagged , | Leave a comment

Introduction to Inheritance in Hibernate

Java is an object oriented language. It is possible to implement Inheritance in Java. Inheritance is one of the most visible facets of Object-relational mismatch. Object oriented systems can model both “is a” and “has a” relationship. Relational model supports … Continue reading

Posted in Hibernate | Tagged , | Leave a comment

Understanding Spring and Spring Security…

Understanding Spring In Spring 2.0 and later, the @Repository annotation is a marker for any class that fulfills the role or stereotype (also known as Data Access Object or DAO) of a repository. Among the uses of this marker is … Continue reading

Posted in Spring | Tagged , | Leave a comment