I Care About Software
I Care About SoftwareI believe that the software I help to create defines me as a professional, and speaks volumes about my commitment to software development.· I care that the software I help to create is useful and usable· I care that the software I help to create is simple and elegant· I care that the software I help to create is reliable and robust· I care that the software I help to create is responsive and scalable· I care that the software I he
Oracle - Tables/Indexes
Oracle - Tables/IndexesHere are some scripts related to Tables/Indexes .Tabs w/ Questionable IndsTABLES WITH QUESTIONABLE INDEX(ES) NOTES:Owner - Owner of the table Table Name - Name of the table Column - Name of the column in question The above query shows all tables that have more than one index with the same leading column. These indexes can cause queries to use an inappropriate indexes; in other words, Oracle will use the index that was created most recently if two indexes are of equal ranki
Oracle - Hit/Miss Ratios
Oracle - Hit/Miss RatiosHere are some scripts related to Hit/Miss Ratios .Buffer Hit RatioBUFFER HIT RATIO NOTES:Consistent Gets - The number of accesses made to the block buffer to retrieve data in a consistent mode. DB Blk Gets - The number of blocks accessed via single block gets (i.e. not through the consistent get mechanism). Physical Reads - The cumulative number of blocks read from disk. Logical reads are the sum of consistent gets and db block gets. The db block gets statistic value is i
Weblogic 只允许能连接5个IP的解决办法
Weblogic 只允许能连接5个IP的解决办法0. Weblogic试用版只允许连接5个不同IP, 尽管可重新启动weblogic server可以重新获取5个IP, 对于开发测试环境来说, 对于开发测试来说很不方便, 也不可能购买Weblogic的licences.1. shell scripts & Java commandlocal_port: 12345host: ydc062remote_port: 8080java -classpath ./Relay.jar Relay 12345 ydc062 8080 2. 使用方法http://ydc062:8080(limit 5 ip)http://ydc062:12345(not limit forward to above access)3. Java source code/*** DataRelay.java*/import java.io.InputStream;impo
The value for the useBean class attribute SecurityOrgPages is invalid. in tomcat 5.5
Aproject work fine in tomcat 4.1, but upgrade apache-tomcat-4.1.34/jdk 1.4 to apache-tomcat-5.5.25, jdk 1.5, ecounter the following error.type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.jasper.JasperException: /jsp/security/securityOrgPages.jsp(4,0) The value for the useBean class attribute SecurityOrgPages is invalid.org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler
Coding your second Jakarta Struts Application
Coding your second Jakarta Struts Applicationhttp://javaboutique.internet.com/tutorials/Struts2/IntroductionDid the title of the article make you curious? If this is the second application then what was the first one? The answer is, the first application was presented in my previous article about Jakarta Struts, "Stepping through Jakarta Struts". Here I showed you: how to download and install Struts the directory structure of a Struts application how to create the first pieces of a new
The Power of Three - Eclipse, Tomcat, and Struts
Java(TM) Boutique - The Power of Three - Eclipse, Tomcat, and StrutsIntroduction As a programmer it's important to be productive, and as any other craftsman you need good tools to be productive. In this article I'll present a set of tools, which can really help you get your job done. What's more, they're all free, open source, and well documented. I've been using these tools in several real-life projects and have found that they often outdo expensive development tools. This is because they're si
Test Generation framework
JUnit FactoryAn experimental test-generation service from AgitarLabs, the research division of Agitar Software. JUnit Factory is a 2008 Jolt Productivity Award Winner!http://www.junitfactory.comhttp://www.junitfactory.com/articles/Introducing Crap4J There is no fool-proof, 100% accurate and objective way to determine if a particular piece of code is crappy or not. However, our intuition – backed by research and empirical evidence – is that unnecessarily complex and convoluted code, written by
认识p-unit:一款开源的性能测试框架
认识p-unit:一款开源的性能测试框架来源: AppFuse中文社区 http://www.ibm.com/developerworks/cn/java/j-lo-punit/index.htmlp-unit 是一款开放源码的性能测试框架,和 JUnit 不同,JUnit 关注的是测试案例的正确性,而 p-unit 不仅关注测试案例的正确性,还收集测试案例的性能参数,默认情况下,p-unit 收集测试案例的时间和内存消耗情况,可以产生文件,图片,和 PDF 格式的报表。此外,p-unit 还支持参数化测试,多线程测试以及不同 Java 虚拟机性能之间的比较。p-unit 简介或许我们已经习惯了使用 JUnit 来写单元测试来保证代码质量(
QA and Testing Interview Questions
When interviewing for a QA or Testing position, it's important to be honest. Hiring managers want to know what you know, what you can do, and what you are like. And nobody wants to hire a liar.As a hiring manager, I can tell if you are stretching the truth - particularly if you are just repeating simple definitions to complex concepts. If you are asked about QA or Testing terms that aren't familar to you, tell the interviewer that you haven't heard of those terms, then ask what they mean. Sinc
测试资源收藏
http://www.developertesting.com/Developer Testing, Discussions about Software Qualityhttp://www.junitfactory.com/JUnit Factory is a 2008 Jolt Productivity Award Winner!http://chinasoftesting.googlepages.com/home测试之家(测试工具, 测试资料, 软件测试, 配置管理, 过程管理, 资料下载)[@more@]
WinRunner - As a GUI based load testing tool
We use WinRunner as a load testing tool operating at the GUI layer as it allows us to record and playback user actions from a vast variety of user applications as if a real user had manually executed those actions. We use WinRunner in addition to LoadRunner when we want to record user experience response time. Visit mercuryinteractive.com/products/WinRunner/ for detailed information on WinRunner.http://www.loadtest.com.au/Technology/winrunner.htmThe following diagram shows how a GUI layer testin
Standard WinRunner Functions
This helps me select functions quickly by type of object and then by purpose. Add the function prefix to the suffixes inside each cell. I am working now to create sample scripts that demo these functions in use.http://www.wilsonmar.com/1wrfuncs.htmTopics this page: OS Functions File Functions COM Functions Window Functions Text Controls Navigation Controls Special Controls String Functions CSO Libraries Custom Controls Function Libraries Generic Custom Functions Naming Conventions Your comments
HP大中华区总裁孙振耀撰文谈退休并畅谈人生
HP大中华区总裁孙振耀撰文谈退休并畅谈人生1. 关于工作与生活2. 根源3. 普通人4. 跳槽与积累5. 入对行跟对人6. 选择职业一、关于工作与生活我有个有趣的观察,外企公司多的是25-35岁的白领,40岁以上的员工很少,二三十岁的外企员工是意气风发的,但外企公司40岁附近的经理人是很尴尬的。我见过的40岁附近的外企经理人大多在一直跳槽,最后大多跳到民企,比方说,唐骏。外企员工的成功很大程度上是公司的成功,并非个人的成功,西门子的确比国美大,但并不代表西门子中国经理比国美的老板强,甚至可以说差得很远。而进外企的人往往并不能很
J2EE性能问题的诊断示例
J2EE性能问题的诊断示例http://www.innovatedigital.com/htm_speek/Diagnose_J2EE3.shtml[@more@]
Three Reasons To Consider Being a Test Developer
Three Reasons To Consider Being a Test Developer When it comes to careers in the world of software most people think of programmers or what are more formally known as developers. Developers are the people who write the software which is consequently sold or utilized by the organization. I’ll call them dev-developers to distinguish them from test developers. Sometimes people will also think of testers. Testers are the people who don’t program but run the software written by devel
Crap4J力求通过算法判定代码质量http://www.crap4j.org/
Crap4J力求通过算法判定代码质量Crap4J这个新项目的目标非常清晰: 现在没有一种特别简单的,100%准确并且客观的方法来判定一段代码是否糟透了。不过研究和经验都能证明我们的直觉:那些由其他人写的过于复杂和曲折的代码往往就是那些让人说出“这简直是垃圾”的代码。如果看这段代码的人将来还要负责维护这段代码,那么他的反应往往就会变成“有没有搞错!” 但光是抱怨还不够,我们需要更精确的测量。Crap4j根据复杂性和测试覆盖率得出了一个数值指标。 给定任意Java方法m,m的CRAP值如下式计算: CRAP(m) = comp(m)^2 * (1 - cov(m)/100