IOC:
spring bean xml注入方式:
1.
Spring注解开发:
@Controller@Service@Repository这三个注解和Component是一个东西@Scope作用范围