随笔分类 -  Spring

摘要:一、StringUtils 1、Spring提供的StringUtils /** * Spring自带的StringUtils */ @Test void testStringUtils01(){ boolean b = StringUtils.hasText(" "); //可用 boolean 阅读全文
posted @ 2020-12-15 19:50 donleo123 阅读(2068) 评论(0) 推荐(0) 编辑
摘要:1、spring-aop-xml.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/20 阅读全文
posted @ 2020-12-01 17:27 donleo123 阅读(97) 评论(0) 推荐(0) 编辑
摘要:1、spring-aop.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/X 阅读全文
posted @ 2020-12-01 17:26 donleo123 阅读(94) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2020-12-01 17:16 donleo123 阅读(156) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2020-12-01 17:11 donleo123 阅读(93) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2020-12-01 17:10 donleo123 阅读(61) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2020-12-01 17:07 donleo123 阅读(135) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2020-12-01 17:06 donleo123 阅读(62) 评论(0) 推荐(0) 编辑
摘要:一、通过自定义工厂方法装配Bean spring--factory.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="htt 阅读全文
posted @ 2020-12-01 17:02 donleo123 阅读(105) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2020-12-01 16:55 donleo123 阅读(68) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2020-12-01 16:52 donleo123 阅读(93) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2020-12-01 16:49 donleo123 阅读(89) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2020-12-01 16:46 donleo123 阅读(113) 评论(0) 推荐(0) 编辑
摘要:关于事物的面试题: 事务是逻辑处理原子性的保证手段,通过使用事务控制,可以极大的避免出现逻辑处理失败导致的脏数据等问题。事务最重要的两个特性,是事务的传播级别和数据隔离级别。1、传播级别定义的是事务的控制范围,2、事务隔离级别定义的是事务在数据库读写方面的控制范围。一、事物的七种传播级别1) PRO 阅读全文
posted @ 2020-12-01 15:19 donleo123 阅读(631) 评论(0) 推荐(0) 编辑
摘要:目录 Spring 概述 依赖注入 Spring beans Spring注解 Spring数据访问 Spring面向切面编程(AOP) Spring MVC Spring 概述 1. 什么是spring? Spring 是个java企业级应用的开源开发框架。Spring主要用来开发Java应用,但 阅读全文
posted @ 2019-10-08 14:55 donleo123 阅读(410) 评论(0) 推荐(0) 编辑
摘要:1、Spring是什么? Spring是一个轻量级的IoC和AOP容器框架。是为Java应用程序提供基础性服务的一套框架,目的是用于简化企业应用程序的开发,它使得开发者只需要关心业务需求。常见的配置方式有三种:基于XML的配置、基于注解的配置、基于Java的配置。 主要由以下几个模块组成: Spri 阅读全文
posted @ 2019-10-08 14:21 donleo123 阅读(566) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示