`
文章列表
        YuLimin在这篇帖子www.iteye.com/post/155660 讨论了P6Spy & SQL Profiler & IronTrack SQL,按他的办法做还是有一些问题,摸索了很长时间。将我的经验与大家分享一下,  我使用tomcat开发web程序的监控如下 复制附件中的的irontracksql.jar、p6spy.jar、log4j-1.2.8.jar到需要sql监控的应用程序的lib目录里面,web程序是WEB-INF/lib。 复制附件中的spy.properties到tomcat的bin/目录下面。YuLimin的帖子是 ...
最近使用的Spring2.5中的spring-mvc版本,使用上简单了很多,特别是在要使用MultiActionController的情况下. spring2.5之前,写一个MultiActionController需要以下步骤: 1. 写一个Controller继承MultiActionController java 代码 public class FooBarController extends MultiActionController { public ModelAndView foo(HttpServletRequest request, HttpSe ...

SQL的隔离级别

数据库的隔离级别主要是为读操作定义保护级别的;对于修改写操作,无论哪种隔离级别都可以保证写操作的正确执行。SQL标准为三种副作用: Dirty reads: 事务T2提交了数据,事务T1这时读取了T2提交的数据,T2发生异常rollback,那么T1读取的数据就是有问题的数据,是dirty read。 unrepeatable reads:事务T1读取数据以后,事务T2修改了T1读取的数据,事务T1以同样的查询从数据库读取数据,就会发现和上一次读取的不一致,所以称为unrepeatable reads。 phantom reads:事务T1查询数据库并返回数据 ...
Don't pay the price for hidden class fields By Vladimir Roubtsov, JavaWorld.com, 08/16/02 Recently, I helped design a Java server application that resembled an in-memory database. That is, we biased the design toward caching tons of data in memory to provide super-fast query performance. Once we go ...
Cygwin没有more命令,可以alias more = “less” 替代 安装ncurses lib就会有clear命令,默认没有安装该lib
作者:andyao 原文link: http://andyao.iteye.com/admin/show/144033 转载请留名 1. 简介 在Web应用程序体系架构中,数据持久层(通常是一个关系数据库)是关键的核心部分,它对系统的性能有非常重要的影响。MySQL是目前使用最多的开源 ...
At the weekend I managed to get some free time away from working on our next release to look at a recent benchmark that compared the performance of Google Guice 1.0 with Spring 2.5. The benchmark referred to in the article as a modified version of Crazy Bob’s “Semi Useless” Benchmark is interesting ...
Cygwin上vim初始设置太难用,google了一个vimrc文件,改了一下,效果不错: """"""""""""""""""""""""""""""""""""""""""&q ...
By Justin Silverton use the explain command Use multiple-row INSERT statements to store many rows with one SQL statement. The explain command can tell you which indexes are used with the specified query and many other pieces of useful information that can help you choose a better index o ...
Nuts and Bolts of Transaction Processing 关于XA事务的, 第二代分布式事务管理 The Challenges of Extreme Transaction Processing in a World of Services and Events 关于ETP事务,第三代分布式事务管理 Lessons from Pat Helland: Life Beyond Distributed Transactions  关于分布式事务的讨论      
MyISAM和InnoDB的性能比较的一篇文章,可以看出InnoDB并不比MyISAM慢。而且InnoDB提供事务支持。 PS: javaeye用的就是InnoDB InnoDB vs MyISAM vs Falcon benchmarks - part 1 Several days ago MySQL AB made new storage engine Falcon available for wide auditory. We cannot miss this event and executed several benchmarks to see how Falcon performs ...
原文链接 http://brian.pontarelli.com/ajax-acegi/index.html Brian Pontarelli Abstract The ACEGI security framework provides a robust authentication and authorization mechanism for applications that use the Spring Framework. However, web applications that leverage AJAX for inline editing have special requ ...
         今天看了一条新闻495万应届高校毕业生就业形势严峻 突然发现现在居然扩招这么严重了,02年大学毕业的时候大概全国有108万的毕业生,短短5年现在已经快翻了5翻了,可以看出国内高等教育的浮躁,联想到现在找个大学毕业生给几百块都行,就业形式肯定越来越难。
程序也写了不少了,越来越感觉自己在架构上面的视野不够,找了一些架构方面的书,买回来读之。 大型软体系结构:使用UML实践指南 http://www.broadview.com.cn/book.aspx?bookid={0F6AC394-7869-455F-B386-AE323B7EE8E2} http://www.dearbook.com.cn/book/21311#bookCatalog 软件架构师教程 http://www.dearbook.com.cn/book/17884 实用软件体系结构 http://www.dearbook.com.cn/book/32221 软件工程实践导 ...
    Selenium 是 ThoughtWorks 专门为 Web 应用程序编写的一个验收测试工具。用Selenium RC(JAVA)测试EXT程序时遇到以下问题:     1. EXT程序中大部分ID都是EXT随机产生的,这样很难在程序中定位Element     2. EXT的DD才操作,TREE等都很难测试     也可能是我才用Selenium没多长时间,还没有领会到Selenium的精髓。     欢迎拍砖:)
Global site tag (gtag.js) - Google Analytics