随笔分类 - Spring
Spring部分的知识点小结
摘要:企业中经常会需要批处理才能处理完成的业务操作,比如:自动化地处理大批量复杂数据,如月结计算;重复性地处理大批量数据,如费率计算;充当内部系统和外部系统的数据纽带,中间需要对数据进行格式化,校验,转换处理等. 1.框架搭建 在pom中导入Spring Batch,Mysql,和JDBC依赖, <?xm
阅读全文
摘要:spring阶段注解汇总 spring-IOC @Component @Controller响应层 @Service业务层 @Repository持久层 @Scope scope="singleton/prototype" 单例多例 @PostConstruct init-method 初始化方法
阅读全文
摘要:SSM整合 web.xml spring.xml spirng-ioc spring-aop transactionManager开启 spring-mvc.xml controller的bean管理 文件上传 异常处理 拦截器 dispatcherServlet 处理器映射器 处理器适配器 视图解
阅读全文
摘要:ssm整合配置文件 web.xml 配置spring配置文件 contextConfigLocation classpath*:spring.xml classpath*:spring-mybatis.xml context-param param-name param-value 配置监听器 全局
阅读全文
摘要:Spring中的注解 1.@Component XML: 声明一个bean交于spring容器管理 指示一个注释类是一个“组件”。 当使用基于注释的配置和类路径扫描时,这些类被认为是自动检测的候选类。 2.@Autowired XML:ref属性 输入赋值(DI机制) 作用: 默认按照bean的类型
阅读全文
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
阅读全文
摘要:转载自zihttps://mp.weixin.qq.com/s/Sa39ulmHpNFJ9u48rwCG7A,部分内容有更改
阅读全文

浙公网安备 33010602011771号