傻傻の  

随笔分类 -  DailyNote

  • springmvc 简单使用
    摘要:一、配置(使用)流程 1、新建maven工程,在pom.xml中导入相关包,重要的是springmvc包,servlet包,jstl包 <dependencies> <!--springmvc--> <dependency> <groupId>org.springframework</groupId 阅读全文
    posted @ 2017-09-15 07:17 傻傻の 阅读(275) 评论(0) 推荐(0) 编辑
  • spring三大核心
    摘要:spring 三大核心科技———DI(依赖注入)、AOP(面向切面编程)、DT(声明式事务) 重点说DT的配置,它的使用大大简化了持久层和业务层的代码编写。 在applicationContext.xml中分以下步骤: 1.读取外部文件 <context:property-placeholder l 阅读全文
    posted @ 2017-09-13 23:29 傻傻の 阅读(4657) 评论(0) 推荐(0) 编辑
  • 事务
    摘要:事务的四大特性(ACID): (1)原子性(Atomicity) 事务是数据库的逻辑工作单位,指事务包含的所有操作要么全部成功,要么全部失败回滚,这和前面两篇博客介绍事务的功能是一样的概念,因此事务的操作如果成功就必须要完全应用到数据库,如果操作失败则不能对数据库有任何影响。 (2)一致性(Cons 阅读全文
    posted @ 2017-09-13 06:37 傻傻の 阅读(119) 评论(0) 推荐(0) 编辑
  • log4j-日志记录小结
    摘要:log4j.properties配置 ### 以系统输出流的方式按照指定的格式在控制台上输出日志信息 ###log4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.Target=System.outlog 阅读全文
    posted @ 2017-09-13 06:12 傻傻の 阅读(110) 评论(0) 推荐(0) 编辑
  • spring自带测试配置
    摘要:spring自带的测试注解 @ContextConfiguration(locations="classpath:applicationContext.xml")@RunWith(SpringJUnit4ClassRunner.class) public class TestUserDaoImpl 阅读全文
    posted @ 2017-09-12 03:29 傻傻の 阅读(235) 评论(0) 推荐(0) 编辑
  • spring Aop注解配置
    摘要:①<!-- 启用AOP --> <aop:aspectj-autoproxy></aop:aspectj-autoproxy> ②<!-- 配置扫描标注注解的包 --> <context:component-scan base-package="com.tz.spring.dao,com.tz.sp 阅读全文
    posted @ 2017-09-12 03:25 傻傻の 阅读(110) 评论(0) 推荐(0) 编辑
  • The First Day Of Cnblogs
    摘要:The fear of the LORD is the beginning of wisdom,and knowledge of the Holy One is understanding. ——Proverbs 9:10 阅读全文
    posted @ 2017-09-10 13:00 傻傻の 阅读(95) 评论(0) 推荐(0) 编辑

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