Spring Introduction
(1)Spring IOC
IoC & Dependency Injection Introduction
Types of containers
BeanFactory Vs ApplicationContext
Lazy loading & Aggressive Loading
a. Primitive Data Injection --> int, String.
b. Secondary Data Injection --> Objects
8. Bean Scopes
a. byName
b. byType
c. constructor
d. AutoDetect
13. Static variable DI
14. Singleton DI
15. Lookup Method Dependency injection
16. Method Replacer
17. INTERNATIONALIZAION (I18N)
18. Event Handlers
1. JdbcTemplate
9. @InitBinder Example
10. MVC- Hibernate Simple Project
References:
For More In-Depth on Spring look at
· www.beingjavaguys.com
· www.howtodoinjava.com
=====================================================
COMMON ERRORS
=================================================
1. In MVC if the ViewPage is pointing to URL.Jsp
Ex: addActor.action ---> addActor.jsp
USE : import org.springframework.web.servlet.ModelAndView;Remove:import org.springframework.web.portlet.ModelAndView;
2.org.hibernate.MappingException: Unknown entity: bo.ActorBo
(AND)
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.hibernate.MappingException: Unknown entity: bo.ActorBo
make sure adding bo in hibernate.cfg.xml