Monday, June 30, 2008

iBATIS Training - Day 2

Abstract factory Design Pattern

This provides an interface for creating Objects ( or families of related or dependent Objects) without specifying the concrete class for implementation

Aspect Oriented Programming(AOP) is based on Decorative Design Pattern and Strategy Design Pattern

CLASSIC Example of Singelton Design Pattern is Use of ApplicationResource.properties in Struts Framework.

At DAO Layer, Spring provides many templates like
1. Jdbc Template - By EXTENDING this SpringJDBC Integration is done
2. Sql Template - By EXTENDING this SpringiBATIS Integration is done
3. Hibernate Temmplate - By EXTENDING this SpringHibernate Integration is done


Steps for integrating Struts with Spring
1. Define applicatiobnContext.xml
2. In Web.xml sprcify the context path
3. Specify the servlet,context parameter and the listener

* Listeners in the Web.xml are loaded at the Startup of Server

No comments:

Post a Comment