Professional Documents
Culture Documents
18 Spring Intro
18 Spring Intro
SPRING INTRO
Spring Intro
• You have to instantiate the Spring IoC container for it to create bean
instances
• Two types of IoC containers:
– Bean factory: the most basic one
– Application Context: a more advanced, used in web applications
• Bean definitions are all placed in an XML file (for instance), and we can call
than file beans.xml
Spring Intro
Beans
• XML Configuration
Java and Annotation Configuration
Bibliography
• http://www.tutorialspoint.com/jsp/
index.htm
• http://docs.spring.io/spring/docs/cur
rent/spring-framework-reference/ht
ml/
overview.html
• http://www.tutorialspoint.com/spring
/
spring_overview.htm
• http://www.mkyong.com/spring3/spr