<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>coffee &#38; code</title>
	<atom:link href="http://ypeng.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ypeng.wordpress.com</link>
	<description>Yue Peng's Blog About Programming And Stuff</description>
	<lastBuildDate>Wed, 09 Jan 2008 22:09:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ypeng.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>coffee &#38; code</title>
		<link>http://ypeng.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ypeng.wordpress.com/osd.xml" title="coffee &#38; code" />
	<atom:link rel='hub' href='http://ypeng.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Self-Reflection on Exception-Handling</title>
		<link>http://ypeng.wordpress.com/2008/01/09/self-reflection-on-exception-handling/</link>
		<comments>http://ypeng.wordpress.com/2008/01/09/self-reflection-on-exception-handling/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 22:07:19 +0000</pubDate>
		<dc:creator>ypeng</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://ypeng.wordpress.com/2008/01/09/self-reflection-on-exception-handling/</guid>
		<description><![CDATA[I spent this week on refactoring my code of past three months. It&#8217;s a torturous work. And the one which makes me want to tear my hair out, is Exception-Handing. I luckily followed almost all the Not-To-Do listed in &#60;Exception-Handling Antipatterns&#62; . Actually Exception-Handling design have great influence on total quality.Bad Exception-Handling sometime ruin good [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ypeng.wordpress.com&amp;blog=1574406&amp;post=15&amp;subd=ypeng&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I spent this week on refactoring my code of past three months.  It&#8217;s a torturous work. And the one which makes me want to tear my hair out, is Exception-Handing. I luckily followed almost all the Not-To-Do listed in <a href="http://today.java.net/pub/a/today/2006/04/06/exception-handling-antipatterns.html">&lt;Exception-Handling Antipatterns&gt; </a> .</p>
<p>Actually Exception-Handling design have great influence on total quality.Bad Exception-Handling sometime ruin good design. I list here some guideline mentioned in <a href="http://www.wirfs-brock.com/PDFs/towards_xcptn_hndling.pdf">&lt;Toward Exception-Handling Best Practices and Patterns&gt;</a> .Make it right even if it goes wrong.</p>
<ul>
<li>Don’t try to handle coding errors.</li>
<li>Avoid declaring lots of exception classes.</li>
<li>Name an exception after what went wrong, not who raised it.</li>
<li>Recast lower-level exceptions to higher-level ones whenever you raise an abstraction level.</li>
<li>Provide context along with an exception.</li>
<li>Handle exceptions as close to the problem as you can.</li>
<li>Assign exception-handling responsibilities to objects that can make decisions.</li>
<li>Use exceptions only to signal emergencies.</li>
<li>Don’t repeatedly rethrow the same exception.</li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ypeng.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ypeng.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ypeng.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ypeng.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ypeng.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ypeng.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ypeng.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ypeng.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ypeng.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ypeng.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ypeng.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ypeng.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ypeng.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ypeng.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ypeng.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ypeng.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ypeng.wordpress.com&amp;blog=1574406&amp;post=15&amp;subd=ypeng&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ypeng.wordpress.com/2008/01/09/self-reflection-on-exception-handling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4301dad6b0f49c4a1816a70dc36e44a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ypeng</media:title>
		</media:content>
	</item>
		<item>
		<title>50 Great CS Books Recommended by Book Pool</title>
		<link>http://ypeng.wordpress.com/2008/01/07/50-great-cs-book-recommended-by-book-pool/</link>
		<comments>http://ypeng.wordpress.com/2008/01/07/50-great-cs-book-recommended-by-book-pool/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 15:59:00 +0000</pubDate>
		<dc:creator>ypeng</dc:creator>
				<category><![CDATA[Readings]]></category>

		<guid isPermaLink="false">http://ypeng.wordpress.com/2008/01/07/50-great-cs-book-recommended-by-book-pool/</guid>
		<description><![CDATA[1.Design Patterns: Elements of Reusable Object-Oriented Software By Erich Gamma, et al 2.The Mythical Man-Month: Anniversary Edition By Frederick P. Brooks Jr. 3.TCP/IP Illustrated, Volume 1: The Protocols By W. Richard Stevens 4.Writing Secure Code, 2nd Edition By Michael Howard, et al 5.Advanced Programming in the UNIX Environment, 2nd Edition By W. Richards Stevens, et [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ypeng.wordpress.com&amp;blog=1574406&amp;post=14&amp;subd=ypeng&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1.Design Patterns: Elements of Reusable Object-Oriented Software<br />
By Erich Gamma, et al</p>
<p>2.The Mythical Man-Month: Anniversary Edition<br />
By Frederick P. Brooks Jr.</p>
<p>3.TCP/IP Illustrated, Volume 1: The Protocols<br />
By W. Richard Stevens</p>
<p>4.Writing Secure Code, 2nd Edition<br />
By Michael Howard, et al</p>
<p>5.Advanced Programming in the UNIX Environment, 2nd Edition<br />
By W. Richards Stevens, et al</p>
<p>6.Code Complete, 2nd Edition<br />
By Steve McConnell</p>
<p>7.The C Programming Language, 2nd Edition<br />
By Brian W. Kernighan, et al</p>
<p>8.Art of Computer Programming Volumes 1-3 Boxed Set<br />
By Donald Knuth</p>
<p>9.Effective C++: 55 Specific Ways to Improve Your Programs and Designs, 3rd Edition<br />
By Scott Meyers</p>
<p>10.The Guru&#8217;s Guide to Transact-SQL<br />
By Ken Henderson</p>
<p>11. Programming Perl, 3rd Edition<br />
By Larry Wall, et al</p>
<p>12. Programming Pearls, 2nd Edition<br />
By Jon Bentley</p>
<p>13. Pragmatic Programmer: From Journeyman to Master<br />
By Andrew Hunt, et al</p>
<p>14. Extreme Programming Explained: Embrace Change, 2nd Edition<br />
By Kent Beck</p>
<p>15. Don&#8217;t Make Me Think: A Common Sense Approach to Web Usability, 2nd Edition<br />
By Steve Krug</p>
<p>16. Developing Microsoft ASP.NET Server Controls and Components<br />
By Nikhil Kothari, et al</p>
<p>17. Security Engineering: A Guide to Building Dependable Distributed Systems<br />
By Ross Anderson</p>
<p>18.</p>
<p>19. The Design of Everyday Things<br />
By Donald A. Norman</p>
<p>20. Joel on Software<br />
By Joel Spolsky</p>
<p>21. Internet Routing Architectures, 2nd Edition<br />
By Sam Halabi, et al</p>
<p>22. Secrets &amp; Lies: Digital Security in a Networked World<br />
By Bruce Schneier</p>
<p>23. The Practice of Programming<br />
By Brian Kernighan, et al</p>
<p>24. Designing with Web Standards<br />
By Jeffrey Zeldman</p>
<p>25. Peopleware: Productive Projects and Teams, 2nd Edition<br />
By Tom DeMarco, et al</p>
<p>26. The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography<br />
By Simon Singh</p>
<p>27. Programming Windows, 5th Edition<br />
By Charles Petzold</p>
<p>28. Mac OS X: The Missing Manual, Panther Edition<br />
By David Pogue</p>
<p>29. The Elements of Style, 4th Edition<br />
By William Strunk Jr., et al</p>
<p>30. In Search of Stupidity: Over 20 Years of High-Tech Marketing Disasters<br />
By Merrill R. Chapman</p>
<p>31. Godel, Escher, Bach: An Eternal Golden Braid<br />
By Douglas R. Hofstadter</p>
<p>32. Service-Oriented Architecture: A Field Guide to Integrating XML and Web Services<br />
By Thomas Erl</p>
<p>33. Head First Java, 2nd Edition<br />
By Kathy Sierra, et al</p>
<p>34. Introduction to Algorithms, 2nd Edition<br />
By Thomas H. Cormen, et al</p>
<p>35. A First Look at SQL Server 2005 for Developers<br />
By Bob Beauchemin, et al</p>
<p>36. Core Java 2, Volume 1: Fundamentals, 7th Edition<br />
By Cay S. Horstmann, et al</p>
<p>37. UML Distilled: A Brief Guide to the Standard Object Modeling Language, 3rd Edition<br />
By Martin Fowler</p>
<p>38. Expert Oracle, Signature Edition (One-on-One)<br />
By Thomas Kyte</p>
<p>39. Hacking Exposed: Network Security Secrets &amp; Solutions, 5th Edition<br />
By Joel Scambray, et al</p>
<p>40. Microsoft SharePoint: Building Office 2003 Solutions<br />
By Scot P. Hillier</p>
<p>41. Effective Java Programming Language Guide<br />
By Joshua Bloch</p>
<p>42. Joe Celko&#8217;s SQL for Smarties : Advanced SQL Programming, 3rd Edition<br />
By Joe Celko</p>
<p>43. Patterns of Enterprise Application Architecture<br />
By Martin Fowler</p>
<p>44. Group Policy, Profiles, and IntelliMirror for Windows 2003, Windows XP, and Windows 2000<br />
By Jeremy Moskowitz</p>
<p>45. Applied Cryptography: Protocols, Algorithms, and Source Code in C, 2nd Edition<br />
By Bruce Schneier</p>
<p>46. Refactoring: Improving the Design of Existing Code (The Addison-Wesley Object Technology Series)<br />
By Martin Fowler, et al</p>
<p>47. The C# Programming Language<br />
By Anders Hejlsberg, et al</p>
<p>48. Pragmatic ADO.NET: Data Access for the Internet World<br />
By Shawn Wildermuth</p>
<p>49. Computer Networks, 4th Edition<br />
By Andrew S. Tanenbaum</p>
<p>50. DNS and BIND, 4th Edition<br />
By Paul Albitz, et al</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ypeng.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ypeng.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ypeng.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ypeng.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ypeng.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ypeng.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ypeng.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ypeng.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ypeng.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ypeng.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ypeng.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ypeng.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ypeng.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ypeng.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ypeng.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ypeng.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ypeng.wordpress.com&amp;blog=1574406&amp;post=14&amp;subd=ypeng&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ypeng.wordpress.com/2008/01/07/50-great-cs-book-recommended-by-book-pool/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4301dad6b0f49c4a1816a70dc36e44a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ypeng</media:title>
		</media:content>
	</item>
		<item>
		<title>Java Performance</title>
		<link>http://ypeng.wordpress.com/2008/01/04/java-performance/</link>
		<comments>http://ypeng.wordpress.com/2008/01/04/java-performance/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 10:34:52 +0000</pubDate>
		<dc:creator>ypeng</dc:creator>
				<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://ypeng.wordpress.com/2008/01/04/java-performance/</guid>
		<description><![CDATA[Performance is critical to the success of an application.The user doesn’t not only require it runs right but also require it runs fast.So performance planning and analysis should be included in all the life cycle of development. Actually performance relies on several factors: Hardware Software Configuration Cost 3rd party system/libraries But here I’ll only focus [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ypeng.wordpress.com&amp;blog=1574406&amp;post=11&amp;subd=ypeng&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">Performance is critical to the success of an application.The user doesn’t not only require it runs right but also require it runs fast.So performance planning and analysis should be included in all the life cycle of development.</p>
<p class="MsoNormal">Actually performance relies on several factors:</p>
<ul>
<li class="MsoNormal">Hardware</li>
<li class="MsoNormal">Software</li>
<li class="MsoNormal">Configuration</li>
<li class="MsoNormal">Cost</li>
<li class="MsoNormal">3<sup>rd</sup>      party system/libraries <span></span></li>
</ul>
<p class="MsoNormal"><span>But here I’ll only focus on software part.</span></p>
<p class="MsoNormal"><b>Performance Planning</b></p>
<p class="MsoNormal"><span>First, before starting the project, we should have a performance planning in mind.Performance should be an afterthought. Especially because architectural problem cause some performance problem can’t be fixed except redesign all the application. Following figure shows different levels of tuning.The most important part is on the bottom.</span></p>
<p class="MsoNormal" style="page-break-after:avoid;"><img src="///C:/DOCUME%7E1/pengyu/LOCALS%7E1/Temp/moz-screenshot.jpg" /><img src="///C:/DOCUME%7E1/pengyu/LOCALS%7E1/Temp/moz-screenshot-1.jpg" /></p>
<p class="MsoCaption">Figure <!--[if supportFields]&gt;<span></span><span> </span>SEQ Figure \* ARABIC <span></span>&lt;![endif]&#8211;><span>1</span><!--[if supportFields]&gt;<span></span>&lt;![endif]&#8211;></p>
<p class="MsoNormal"> <a href="http://ypeng.files.wordpress.com/2008/01/clip_image002.gif" title="clip_image002.gif"><img src="http://ypeng.files.wordpress.com/2008/01/clip_image002.thumbnail.gif?w=510" alt="clip_image002.gif" /></a></p>
<p class="MsoNormal"><b>Profiling </b></p>
<p class="MsoNormal">Profiling is a focused look at measurable aspects of a system to determine its performance.It provides necessary information for analysis or other steps. Profiler in Java normally falls into following categories.</p>
<ul>
<li class="MsoNormal">Load      testing/driving
<ul>
<li class="MsoNormal">JunitPerf       (<a href="http://clarkware.com/software/JUnitPerf.html">http://clarkware.com/software/JUnitPerf.html</a>)</li>
<li class="MsoNormal">The       Grinder(<a href="http://grinder.sourceforge.net/">http://grinder.sourceforge.net/</a>)</li>
<li class="MsoNormal">JMeter       (<a href="http://jakarta.apache.org/jmeter/">http://jakarta.apache.org/jmeter/</a>)</li>
</ul>
</li>
<li class="MsoNormal">Logging      / log analysis ( log4j or others + Aspects )
<ul>
<li class="MsoNormal">Java       Interactive Profiler</li>
<li class="MsoNormal">GlassBox       Inspector</li>
</ul>
</li>
<li class="MsoNormal">Contained      profiling (profiler warps app)
<ul>
<li class="MsoNormal">Jfluid/NetBeans       Profiler</li>
<li class="MsoNormal">Eclipse       TPTP</li>
</ul>
</li>
<li class="MsoNormal">External      profilling via JVMPI </li>
</ul>
<p class="MsoNormal"><b>Analysis</b><br />
Analysis Process as following steps:</p>
<p class="MsoNormal"><!--[if gte vml 1]&gt;   &lt;![endif]--><!--[if !vml]--><a href="http://ypeng.files.wordpress.com/2008/01/clip_image001.gif" title="clip_image001.gif"><img src="http://ypeng.files.wordpress.com/2008/01/clip_image001.thumbnail.gif?w=510" alt="clip_image001.gif" /></a><!--[endif]--></p>
<p class="MsoNormal">Finally: Beautiful code is fast code.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ypeng.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ypeng.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ypeng.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ypeng.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ypeng.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ypeng.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ypeng.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ypeng.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ypeng.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ypeng.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ypeng.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ypeng.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ypeng.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ypeng.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ypeng.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ypeng.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ypeng.wordpress.com&amp;blog=1574406&amp;post=11&amp;subd=ypeng&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ypeng.wordpress.com/2008/01/04/java-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4301dad6b0f49c4a1816a70dc36e44a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ypeng</media:title>
		</media:content>

		<media:content url="http://ypeng.files.wordpress.com/2008/01/clip_image002.thumbnail.gif" medium="image">
			<media:title type="html">clip_image002.gif</media:title>
		</media:content>

		<media:content url="http://ypeng.files.wordpress.com/2008/01/clip_image001.thumbnail.gif" medium="image">
			<media:title type="html">clip_image001.gif</media:title>
		</media:content>
	</item>
		<item>
		<title>JMeter</title>
		<link>http://ypeng.wordpress.com/2008/01/03/jmeter/</link>
		<comments>http://ypeng.wordpress.com/2008/01/03/jmeter/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 16:05:38 +0000</pubDate>
		<dc:creator>ypeng</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://ypeng.wordpress.com/2008/01/03/jmeter/</guid>
		<description><![CDATA[JMeter under Apache project is an application designed to load test C/S software.JMeter can be used to simulate a heavy load on a server , network or object to test its strength or to analyze overall performance under different load types. &#160; After extracting JMeter on your computer, you can run it by jmeter.bat. To [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ypeng.wordpress.com&amp;blog=1574406&amp;post=10&amp;subd=ypeng&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">JMeter under Apache project is an application designed to load test C/S software.JMeter can be used to simulate a heavy load on a server , network or object to test its strength or to analyze overall performance under different load types.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">After extracting JMeter on your computer, you can run it by jmeter.bat. To begin with JMeter, you need to build a test plan.A test plan describes a series of steps JMeter will execute when run. A complete test plan will consist of one or more Thread Groups, logic controllers, sample generating controllers, listeners, timers, assertions, and configuration elements.<span></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ypeng.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ypeng.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ypeng.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ypeng.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ypeng.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ypeng.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ypeng.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ypeng.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ypeng.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ypeng.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ypeng.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ypeng.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ypeng.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ypeng.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ypeng.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ypeng.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ypeng.wordpress.com&amp;blog=1574406&amp;post=10&amp;subd=ypeng&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ypeng.wordpress.com/2008/01/03/jmeter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4301dad6b0f49c4a1816a70dc36e44a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ypeng</media:title>
		</media:content>
	</item>
		<item>
		<title>Binding XML to Java Classes</title>
		<link>http://ypeng.wordpress.com/2007/10/16/binding-xml-to-java-classes/</link>
		<comments>http://ypeng.wordpress.com/2007/10/16/binding-xml-to-java-classes/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 21:28:40 +0000</pubDate>
		<dc:creator>ypeng</dc:creator>
				<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://ypeng.wordpress.com/2007/10/16/binding-xml-to-java-classes/</guid>
		<description><![CDATA[JAXB= java Architecture for XML Binding provide a convient way to bind between XML schemas and Java classes. Architecture as following figure when unmarshalling xml schemas to Java class , XML Schema is represented by classes derived from XML elements and an ObjectFactory class.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ypeng.wordpress.com&amp;blog=1574406&amp;post=7&amp;subd=ypeng&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>JAXB= java Architecture for XML Binding provide a convient way to bind between XML schemas and Java classes.</p>
<p>Architecture as following figure</p>
<p><img src="http://java.sun.com/javaee/5/docs/tutorial/doc/figures/jaxb-overview.gif" alt="Diagram of JAXB architecture, showing Schema on left, Schema Generator and Schema Compiler in the middle, and Application Code on the right." /></p>
<p>when unmarshalling xml schemas to Java class , XML Schema is represented by classes derived from XML elements and an ObjectFactory class.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ypeng.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ypeng.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ypeng.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ypeng.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ypeng.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ypeng.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ypeng.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ypeng.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ypeng.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ypeng.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ypeng.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ypeng.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ypeng.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ypeng.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ypeng.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ypeng.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ypeng.wordpress.com&amp;blog=1574406&amp;post=7&amp;subd=ypeng&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ypeng.wordpress.com/2007/10/16/binding-xml-to-java-classes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4301dad6b0f49c4a1816a70dc36e44a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ypeng</media:title>
		</media:content>

		<media:content url="http://java.sun.com/javaee/5/docs/tutorial/doc/figures/jaxb-overview.gif" medium="image">
			<media:title type="html">Diagram of JAXB architecture, showing Schema on left, Schema Generator and Schema Compiler in the middle, and Application Code on the right.</media:title>
		</media:content>
	</item>
		<item>
		<title>Essential scalability vocabulary</title>
		<link>http://ypeng.wordpress.com/2007/08/29/essential-scalability-vocabulary/</link>
		<comments>http://ypeng.wordpress.com/2007/08/29/essential-scalability-vocabulary/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 21:11:48 +0000</pubDate>
		<dc:creator>ypeng</dc:creator>
				<category><![CDATA[Scalability]]></category>

		<guid isPermaLink="false">http://ypeng.wordpress.com/2007/08/29/essential-scalability-vocabulary/</guid>
		<description><![CDATA[I found a great article &#8220;Farms, clones, partitions, packs, RACS, and RAPS &#8211; Improve your scalability vocabulary&#8221; by Bill Devlin,Jim Gray,Bill Laing,George Spix from Microsoft. It summarize most main concepts I came across after weeks of reading on building a scalable system. Two main ways of building a scalable system is cloning and partitioning. Cloning [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ypeng.wordpress.com&amp;blog=1574406&amp;post=6&amp;subd=ypeng&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I found a great article <a href="http://www.ieeetcsc.org/newsletters/2002-01/gray.html">&#8220;Farms, clones, partitions, packs, RACS, and RAPS &#8211; Improve your scalability vocabulary&#8221;</a> by Bill Devlin,Jim Gray,Bill Laing,George Spix from Microsoft. It summarize most main concepts  I came across  after weeks of reading on building a scalable system.</p>
<p>Two main ways of building a scalable system is <strong>cloning</strong> and<strong> partitioning.</strong></p>
<p>Cloning offer both scalability and availability.  But the problem with cloning is bad write performance and constrain of memory.</p>
<p>Partitioning divide data among nodes. It offer scalability. And availability can be achieved by replication data on a backup machine.But the problem with partitions is sometime it is difficult to do the partition in real life because of great dependences.</p>
<p>Following is the table of scalability taxonomy</p>
<p><img src="http://www.ieeetcsc.org/tcsc_files/tfcc-4-1-gray_6.jpg" alt="Table of scalability taxonomy" border="0" /></p>
<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http%3A%2F%2Fypeng.wordpress.com%2F2007%2F08%2F29%2Fessential-scalability-vocabulary%2F&amp;title=Essential+scalability%26nbsp%3Bvocabulary"></a>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ypeng.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ypeng.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ypeng.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ypeng.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ypeng.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ypeng.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ypeng.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ypeng.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ypeng.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ypeng.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ypeng.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ypeng.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ypeng.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ypeng.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ypeng.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ypeng.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ypeng.wordpress.com&amp;blog=1574406&amp;post=6&amp;subd=ypeng&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ypeng.wordpress.com/2007/08/29/essential-scalability-vocabulary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4301dad6b0f49c4a1816a70dc36e44a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ypeng</media:title>
		</media:content>

		<media:content url="http://www.ieeetcsc.org/tcsc_files/tfcc-4-1-gray_6.jpg" medium="image">
			<media:title type="html">Table of scalability taxonomy</media:title>
		</media:content>
	</item>
		<item>
		<title>Worse is Better</title>
		<link>http://ypeng.wordpress.com/2007/08/24/worse-is-better/</link>
		<comments>http://ypeng.wordpress.com/2007/08/24/worse-is-better/#comments</comments>
		<pubDate>Fri, 24 Aug 2007 11:35:59 +0000</pubDate>
		<dc:creator>ypeng</dc:creator>
				<category><![CDATA[Readings]]></category>

		<guid isPermaLink="false">http://ypeng.wordpress.com/2007/08/24/worse-is-better/</guid>
		<description><![CDATA[Worse is Better, Many people will find it rather funny.However this philosophy does work. First introduced by Richard P.Gabriel in 1990, this theory occurs at all levels of scale. In common sense : First-to-Market Wins The best technology Wins The most innovative Wins But in real world you may find the completist can&#8217;t bring home [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ypeng.wordpress.com&amp;blog=1574406&amp;post=4&amp;subd=ypeng&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Worse is Better, Many people will find it rather funny.However this philosophy does work. First introduced by Richard P.Gabriel in 1990, this theory occurs at all levels of scale.</p>
<p>In common sense :</p>
<ul>
<li>First-to-Market Wins</li>
<li>The best technology Wins</li>
<li>The most innovative Wins</li>
</ul>
<p>But in real world you may find the completist can&#8217;t bring home the bacon. Based on the worse is better theory ,  Gabriel created a model to transform technology into successful products. Some main point in this model is :</p>
<ul>
<li>Don&#8217;t choose the most cutting edge technology,maybe 1o years out of the lab</li>
<li>Choose a technology  that appeals to the needs of market</li>
<li>The design should have simplicity, minimal completeness,minimal correctness</li>
<li>The implementation should be small,fast,interoperated  with existing product and  bug-free</li>
</ul>
<p>You can get more detailed informations <a href="http://www.dreamsongs.com/WorseIsBetter.html">in the page </a>, and enjoy Gabriel&#8217;s sense of humor  through  all his</p>
<ul>
<li><a href="http://www.dreamsongs.com/Files/LispGoodNewsBadNews.pdf">Worse is Better</a></li>
<li><a href="http://www.dreamsongs.com/Files/worse-is-worse.pdf">Worse Is Better Is Worse</a></li>
<li><a href="http://www.dreamsongs.com/Files/IsWorseReallyBetter.pdf">Is Worse Really Better?</a></li>
<li><a href="http://www.dreamsongs.com/Files/WorseIsBetterPositionPaper.pdf">Back to the Future: Is Worse (Still) Better?</a></li>
<li><a href="http://www.dreamsongs.com/Files/ProWorseIsBetterPosition.pdf">Back to the Future: Worse (Still) is Better!</a></li>
</ul>
<a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=http%3A%2F%2Fypeng.wordpress.com%2F2007%2F08%2F24%2Fworse-is-better%2F&amp;title=Worse+is%26nbsp%3BBetter"></a>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ypeng.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ypeng.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ypeng.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ypeng.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ypeng.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ypeng.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ypeng.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ypeng.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ypeng.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ypeng.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ypeng.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ypeng.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ypeng.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ypeng.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ypeng.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ypeng.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ypeng.wordpress.com&amp;blog=1574406&amp;post=4&amp;subd=ypeng&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ypeng.wordpress.com/2007/08/24/worse-is-better/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4301dad6b0f49c4a1816a70dc36e44a9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ypeng</media:title>
		</media:content>
	</item>
	</channel>
</rss>
