周游世界

喂马, 劈柴, 周游世界

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  28 随笔 :: 0 文章 :: 4 评论 :: 0 Trackbacks

06 2006 档案

     摘要: 1. 原子性(ATOMICITY): 一个事务要被完全的无二义性的做完或撤消。在任何操作出现一个错误的情况下,构成事务的所有操作的效果必须被撤消,数据应被回滚到以前的状态。
2. 一致性(CONSISTENCY): 一个事务应该保护所有定义在数据上的不变的属性(例如完整性约束)。在完成了一个成功的事务时,数据应处于一致的状态。换句话说,一个事务应该把系统从一个一致状态转换到另一个一致状态。举个例子,在关系数据库的情况下, 一个一致的事务将保护定义在数据上的所有完整性约束。
3. 隔离性(ISOLATION): 在同一个环境中可能有多个事务并发执行,而每个事务都应表现为独立执行。串行的执行一系列事务的效果应该同于并发的执行它们。这要求两件事:
* 在一个事务执行过程中,数据的中间的(可能不一致)状态不应该被暴露给所有的其他事务。
* 两个并发的事务应该不能操作同一项数据。数据库管理系统通常使用锁来实现这个特征。
4. 持久性(DURABILITY): 一个被完成的事务的效果应该是持久  阅读全文
posted @ 2006-06-30 11:39 周游世界 阅读(225) | 评论 (0)  编辑

posted @ 2006-06-30 11:02 周游世界 阅读(210) | 评论 (0)  编辑

     摘要: B/S结构的软件开发中,特别是在越大型的分布式应用中体现的越明显,后端的处理往往会因为出现较多的时间消耗而引起延迟,这种延迟有可能过长而最终使用户认为是自己的操作错误,导致他们重新提交请求,由于任务的重复提交,服务器资源大部分被占用,情节严重可能出现类似死机现象。  阅读全文
posted @ 2006-06-28 15:51 周游世界 阅读(1339) | 评论 (0)  编辑

posted @ 2006-06-28 10:41 周游世界 阅读(163) | 评论 (0)  编辑

     摘要: Struts采用Validator框架(Validator框架现在是Jakarta Commons项目的一部分)来解决校验问题,它将校验规则代码集中到外部的且对具体的应用程序中立的.xml文件中,这样,就将那些到处出现的校验逻辑从应用程序中分离出来,任何一个Struts应用都可以使用这个文件,同时还为校验规则的扩展提供了便利。更难能可贵的是由于Validator框架将校验中要用到的一些消息等信息与资源绑定有机结合在一起,使得校验部分的国际化编程变得十分的便捷和自然。  阅读全文
posted @ 2006-06-28 10:32 周游世界 阅读(189) | 评论 (0)  编辑

     摘要: We have recently built a mash-up application with heavy use of AJAX techniques, and Internet Explorer needs special optimizations because of its poor memory management, bad performance creating objects, and poor event performance. We did not find these problems in Firefox. Firefox is more efficient than IE, even with all the problems reported of memory leaks.  阅读全文
posted @ 2006-06-28 09:31 周游世界 阅读(225) | 评论 (0)  编辑

     摘要: In the first part of this I discussed the technical interview. After the technical interview, we like to examine the candidate's "soft" skills.  阅读全文
posted @ 2006-06-28 09:22 周游世界 阅读(285) | 评论 (0)  编辑

     摘要: Interviewing to me is definitely a trained skill that you have to practice with. Your goal is to extract as much information from the candidate so that you can make a useful recommendation. If you get too little information then your recommendation will contain more of a risk.  阅读全文
posted @ 2006-06-28 09:09 周游世界 阅读(657) | 评论 (0)  编辑

posted @ 2006-06-23 18:04 周游世界 阅读(196) | 评论 (0)  编辑

     摘要: JavaScript™ (also known as ECMAScript or JScript) is an interpreted, object-oriented programming language commonly used throughout the web to provide interactive features to web pages. This article introduces JavaScript, outlines some of the basic principles behind programming using JavaScript and illustrates the differences between the different implementations available in Mozilla and Internet Explorer.   阅读全文
posted @ 2006-06-23 12:49 周游世界 阅读(644) | 评论 (0)  编辑