Skip to main content

Posts

Showing posts with the label Persistence

Spring 4 CORE , MVC,JDBC,BATCH,CACHE

SPRING CORE ____________________________________________________________________ Spring IOC  :( loads/wire/dispense on request )beans, manages life cycle ,uses DI to inject beans Spring beans are  Objects  that are instantiates/wired /managed by the Spring IoC container. Container creates them using   configuration metadata supplied by user The way of  create/configure/inject/obtain/access spring Beans. SCOPES  UNIVERSAL: Singleton , Prototype :   WEB-AWARE SPRING APPLICATION CONTEXT: Request , Session, Global-session :   Explain Bean lifecycle in Spring framework? (INSTANTIATE | POPULATE | PRE INITALIZATION | POST INITIALIZATION|  READY TO USE) 1)  spring container finds the bean’s definition   2) Populate properties :  Using the DI,  Set Bean Name :  If the bean implements BeanNameAware interface,  4) Set Bean factory :  If Bean implements Bea...