随笔 - 314  文章 - 0 评论 - 27 阅读 - 92万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

09 2013 档案
Tutorial: Getting Started with Spring Security
摘要:This tutorial will cover a basic scenario where it integrates Spring Security, using database-backed authentication, into an existing Spring web application.Spring Security is a security framework that provides declarative security for your Spring-based applications. Spring Security provides a compr 阅读全文
posted @ 2013-09-28 19:28 七月逆流 阅读(387) 评论(0) 推荐(0) 编辑
How to run eclipse in clean mode? and what happens if we do so?
摘要:What it does:if set to "true", any cached data used by the OSGi framework and eclipse runtime will be wiped clean. This will clean the caches used to store bundle dependency resolution and eclipse extension registry data. Using this option will force eclipse to reinitialize these caches.Ho 阅读全文
posted @ 2013-09-23 16:52 七月逆流 阅读(423) 评论(0) 推荐(1) 编辑
悲观锁和乐观锁
摘要:悲观锁和乐观锁数据的锁定分为两种方法,第一种叫做悲观锁,第二种叫做乐观锁。悲观锁顾名思义,就是对数据的冲突采取一种悲观的态度,也就是说假设数据肯定会冲突,所以在数据开始读取的时候就把数据锁定住乐观锁就是认为数据一般情况下不会造成冲突,所以在数据进行提交更新的时候,才会正式对数据的冲突与否进行检测,如果发现冲突了,则让用户返回错误的信息,让用户决定如何去做。在SqlServer等其余很多数据库中,数据的锁定通常采用页级锁的方式,也就是说对一张表内的数据是一种串行化的更新插入机制,在任何时间同一张表只会插1条数据,别的想插入的数据要等到这一条数据插完以后才能依次插入。带来的后果就是性能的降低,在多 阅读全文
posted @ 2013-09-06 17:24 七月逆流 阅读(214) 评论(0) 推荐(0) 编辑

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