<?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>A Public Scratchpad</title>
	<atom:link href="http://daniel.gredler.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://daniel.gredler.net</link>
	<description></description>
	<lastBuildDate>Wed, 20 Jan 2010 16:51:39 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='daniel.gredler.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/e02d03261ade2963f044fba243814f10?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>A Public Scratchpad</title>
		<link>http://daniel.gredler.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://daniel.gredler.net/osd.xml" title="A Public Scratchpad" />
	<atom:link rel='hub' href='http://daniel.gredler.net/?pushpress=hub'/>
		<item>
		<title>Optimizing Spring Application Startup Time</title>
		<link>http://daniel.gredler.net/2010/01/20/optimizing-spring-application-startup-time/</link>
		<comments>http://daniel.gredler.net/2010/01/20/optimizing-spring-application-startup-time/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 16:17:45 +0000</pubDate>
		<dc:creator>Daniel Gredler</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Optimization]]></category>
		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://daniel.gredler.net/?p=243</guid>
		<description><![CDATA[The application I&#8217;m currently working on is built around Spring. A couple of weeks ago, as I waited for it to start up for the 27th time that day, I began wondering if there was any way to get it to start faster. Coincidentally, our whole development team had just received upgraded laptops, so the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=243&subd=gredler&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>The application I&#8217;m currently working on is built around Spring. A couple of weeks ago, as I waited for it to start up for the 27th time that day, I began wondering if there was any way to get it to start faster. Coincidentally, our whole development team had just received upgraded laptops, so the fact that numbers are stagnating in the &#8220;Megahertz&#8221; department (but not in the &#8220;CPU cores&#8221; department) had been recently emphasized.</p>
<p>Further, I had just read a series of <a href="http://beust.com/weblog/?p=531">articles</a> by Cédric Beust regarding recent improvements to the <a href="http://testng.org/">TestNG</a> threading engine. In short, TestNG allows you to run tests on multiple threads in order to shorten the test suite run time. However, when you start creating tests with dependencies on other tests, TestNG punts and runs all of these groups of dependent tests serially, on a single thread. Cédric wanted to remove this limitation, and approached the enhancement as a <a href="http://en.wikipedia.org/wiki/Topological_sorting">topological sort</a> problem, viewing the tests as nodes in a directed acyclic graph.</p>
<p>Most of the startup time in Spring-centric applications involves the initialization of singleton beans. It wasn&#8217;t too much of a mental leap to wonder if the same graph/sort approach could be applied to the application startup optimization question &#8212; with the Spring beans acting as the nodes in the graph, instead of the tests.</p>
<p>It turns out to be (sort of) possible, and (sort of) worth the time. I&#8217;ve posted the details, including the source, <a href="http://github.com/gredler/spriths">here</a>. Feel free to check it out and make suggestions. The Spring framework does contain a very coarse lock that required a pretty horrible hack in order to get any performance gains out of the experiment, but once this is worked out I don&#8217;t see why an implementation of this approach couldn&#8217;t make it into real applications. Again, see the <a href="http://github.com/gredler/spriths">project page</a> for more details.</p>
<p>On a side note, this is the first time that I&#8217;ve used <a href="http://github.com/">GitHub</a> to host any code, and I have to say that I <strong>really</strong> like the fact that the README file serves the dual purposes of local project documentation and homepage markup!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gredler.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gredler.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gredler.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gredler.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gredler.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gredler.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gredler.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gredler.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gredler.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gredler.wordpress.com/243/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=243&subd=gredler&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://daniel.gredler.net/2010/01/20/optimizing-spring-application-startup-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d71895d31422ff2da109a665d5f6d256?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gredler</media:title>
		</media:content>
	</item>
		<item>
		<title>HtmlUnit 2.6 Released</title>
		<link>http://daniel.gredler.net/2009/09/03/htmlunit-2-6-released/</link>
		<comments>http://daniel.gredler.net/2009/09/03/htmlunit-2-6-released/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 17:03:29 +0000</pubDate>
		<dc:creator>Daniel Gredler</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://daniel.gredler.net/?p=238</guid>
		<description><![CDATA[HtmlUnit 2.6 has just been released! A ton of work has gone into this release, so I hope people find it useful.
Some highlights:

Marc Guillemot tweaked the caching infrastructure a bit, which should result in improved performance, especially for those of you hitting remote websites for scraping and such.
Ahmed Ashour has fixed quite a few bugs [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=238&subd=gredler&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>HtmlUnit 2.6 has just been released! <a href="http://htmlunit.sourceforge.net/changes-report.html#a2.6">A ton of work</a> has gone into this release, so I hope people find it useful.</p>
<p>Some highlights:</p>
<ul>
<li>Marc Guillemot tweaked the caching infrastructure a bit, which should result in improved performance, especially for those of you hitting remote websites for scraping and such.</li>
<li>Ahmed Ashour has fixed quite a few bugs in a focused effort to make it easier for the GWT folks to <a href="http://code.google.com/p/google-web-toolkit/source/browse/#svn/branches/htmlunit">incorporate HtmlUnit</a>.</li>
<li>Our WebClient serialization support was very broken in 2.5; this has now been fixed.</li>
<li>Many, many more bugfixes!</li>
</ul>
<p>Of course, HtmlUnit continues to <a href="http://htmlunit.sourceforge.net/#JavaScript_Support">support</a> use with a wide variety of JavaScript libraries.</p>
<p>Give it a try and let us know what you think!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gredler.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gredler.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gredler.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gredler.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gredler.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gredler.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gredler.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gredler.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gredler.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gredler.wordpress.com/238/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=238&subd=gredler&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://daniel.gredler.net/2009/09/03/htmlunit-2-6-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d71895d31422ff2da109a665d5f6d256?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gredler</media:title>
		</media:content>
	</item>
		<item>
		<title>Selenium 2.0</title>
		<link>http://daniel.gredler.net/2009/08/05/selenium-2-0/</link>
		<comments>http://daniel.gredler.net/2009/08/05/selenium-2-0/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 03:13:36 +0000</pubDate>
		<dc:creator>Daniel Gredler</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://daniel.gredler.net/?p=228</guid>
		<description><![CDATA[As per Simon&#8217;s post on the WebDriver mailing list, WebDriver and Selenium are starting the merge that will define Selenium 2.0&#8230; wasn&#8217;t Selenium 1.0 just released a couple of months ago? And didn&#8217;t they take something like 6 years to get to 1.0? Things are certainly speeding up! Anyone care to place a bet on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=228&subd=gredler&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>As per <a href="http://groups.google.com/group/webdriver/browse_thread/thread/b089f9a193e4eec9">Simon&#8217;s post</a> on the WebDriver mailing list, WebDriver and Selenium are starting the <a href="http://groups.google.com/group/webdriver/browse_thread/thread/c779de55163f727e">merge</a> that will define Selenium 2.0&#8230; wasn&#8217;t Selenium 1.0 just released a couple of months ago? And didn&#8217;t they take something like 6 years to get to 1.0? Things are certainly speeding up! Anyone care to place a bet on how far out 2.0 is?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gredler.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gredler.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gredler.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gredler.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gredler.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gredler.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gredler.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gredler.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gredler.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gredler.wordpress.com/228/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=228&subd=gredler&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://daniel.gredler.net/2009/08/05/selenium-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d71895d31422ff2da109a665d5f6d256?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gredler</media:title>
		</media:content>
	</item>
		<item>
		<title>HtmlUnit @ JavaOne</title>
		<link>http://daniel.gredler.net/2009/06/03/htmlunit-javaone/</link>
		<comments>http://daniel.gredler.net/2009/06/03/htmlunit-javaone/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 16:25:52 +0000</pubDate>
		<dc:creator>Daniel Gredler</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://daniel.gredler.net/?p=224</guid>
		<description><![CDATA[Ahmed Ashour and I will be talking about HtmlUnit today at 2:50 PM (room 301). We&#8217;ll be discussing browser driving tools and browser simulation tools, their pros and cons, and where HtmlUnit fits into the landscape. Stop by if you&#8217;re interested in web application integration testing in general, and HtmlUnit in particular!
    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=224&subd=gredler&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Ahmed Ashour and I will be talking about <a href="http://htmlunit.sourceforge.net/">HtmlUnit</a> today at 2:50 PM (room 301). We&#8217;ll be discussing browser driving tools and browser simulation tools, their pros and cons, and where HtmlUnit fits into the landscape. Stop by if you&#8217;re interested in web application integration testing in general, and HtmlUnit in particular!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gredler.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gredler.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gredler.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gredler.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gredler.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gredler.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gredler.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gredler.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gredler.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gredler.wordpress.com/224/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=224&subd=gredler&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://daniel.gredler.net/2009/06/03/htmlunit-javaone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d71895d31422ff2da109a665d5f6d256?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gredler</media:title>
		</media:content>
	</item>
		<item>
		<title>HtmlUnit @ TSS JS</title>
		<link>http://daniel.gredler.net/2009/03/17/htmlunit-tss-js/</link>
		<comments>http://daniel.gredler.net/2009/03/17/htmlunit-tss-js/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 04:15:37 +0000</pubDate>
		<dc:creator>Daniel Gredler</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://daniel.gredler.net/?p=214</guid>
		<description><![CDATA[If you&#8217;re at TheServerSide Java Symposium this week and are interested in web application testing, be sure to stop by the session that Marc Guillemot and I will be presenting &#8212; HtmlUnit: An Efficient Approach to Testing Web Applications (Wednesday @ 2:40). We&#8217;ll be talking about the strengths (and limitations) of HtmlUnit and the browser [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=214&subd=gredler&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re at <a href="http://javasymposium.techtarget.com/">TheServerSide Java Symposium</a> this week and are interested in web application testing, be sure to stop by the session that Marc Guillemot and I will be presenting &#8212; <a href="http://javasymposium.techtarget.com/html/tools_tech.html#MGuillemotHtmlUnit">HtmlUnit: An Efficient Approach to Testing Web Applications</a> (Wednesday @ 2:40). We&#8217;ll be talking about the strengths (and limitations) of HtmlUnit and the browser emulation approach which it espouses.</p>
<p>If you&#8217;re already a user, stop by the <a href="http://javasymposium.techtarget.com/html/tools_tech.html#FCohenMeetup">Meet-Up for Selenium, soapUI, HtmlUnit and Other Test Tools</a> (Wednesday @ 1:15), hosted by Frank Cohen. It should be a good opportunity to see how others in the community are meeting their testing requirements; I&#8217;m sure I myself will learn something new.</p>
<p>A demain!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gredler.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gredler.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gredler.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gredler.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gredler.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gredler.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gredler.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gredler.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gredler.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gredler.wordpress.com/214/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=214&subd=gredler&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://daniel.gredler.net/2009/03/17/htmlunit-tss-js/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d71895d31422ff2da109a665d5f6d256?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gredler</media:title>
		</media:content>
	</item>
		<item>
		<title>JRuby + HtmlUnit</title>
		<link>http://daniel.gredler.net/2009/03/05/jruby-htmlunit/</link>
		<comments>http://daniel.gredler.net/2009/03/05/jruby-htmlunit/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 06:56:26 +0000</pubDate>
		<dc:creator>Daniel Gredler</dc:creator>
				<category><![CDATA[HtmlUnit]]></category>
		<category><![CDATA[JRuby]]></category>

		<guid isPermaLink="false">http://daniel.gredler.net/?p=211</guid>
		<description><![CDATA[I have to say, JRuby is cool stuff.
About a year ago the guys at FINN.no decided to wrap HtmlUnit in a Watir-ish API; Celerity was born, and HtmlUnit was introduced into the Ruby ecosystem.
Now Celerity is itself being wrapped by Culerity, which integrates Celerity and Cucumber.
How cool is that?
       [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=211&subd=gredler&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I have to say, <a href="http://jruby.codehaus.org/">JRuby</a> is cool stuff.</p>
<p>About a year ago the guys at <a href="http://www.finn.no/">FINN.no</a> decided to wrap <a href="http://htmlunit.sourceforge.net/">HtmlUnit</a> in a <a href="http://wtr.rubyforge.org/">Watir</a>-ish API; <a href="http://celerity.rubyforge.org/">Celerity</a> was born, and HtmlUnit was introduced into the Ruby ecosystem.</p>
<p>Now Celerity is itself being wrapped by <a href="http://github.com/langalex/culerity/tree/master">Culerity</a>, which integrates Celerity and <a href="http://wiki.github.com/aslakhellesoy/cucumber">Cucumber</a>.</p>
<p>How cool is that?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gredler.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gredler.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gredler.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gredler.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gredler.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gredler.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gredler.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gredler.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gredler.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gredler.wordpress.com/211/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=211&subd=gredler&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://daniel.gredler.net/2009/03/05/jruby-htmlunit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d71895d31422ff2da109a665d5f6d256?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gredler</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Start a Successful Open Source Project</title>
		<link>http://daniel.gredler.net/2009/02/18/how-to-start-a-successful-open-source-project/</link>
		<comments>http://daniel.gredler.net/2009/02/18/how-to-start-a-successful-open-source-project/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 04:17:14 +0000</pubDate>
		<dc:creator>Daniel Gredler</dc:creator>
				<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://daniel.gredler.net/?p=198</guid>
		<description><![CDATA[Step 0: Write just enough code to actually qualify as an open source project. Maybe a little less.
Step 1: Hack together a project website that&#8217;s more about SEO than it is about promoting your project. Don&#8217;t forget to mention the Killer Ajax Framework which you developed in 2007.
Step 2: Host your project on SourceForge, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=198&subd=gredler&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Step 0:</strong> Write just enough code to actually qualify as an open source project. Maybe a little less.</p>
<p><strong>Step 1:</strong> Hack together <a rel="nofollow" href="http://www.j2sos.org/">a project website</a> that&#8217;s more about SEO than it is about promoting your project. Don&#8217;t forget to mention the <a rel="nofollow" href="http://www.j2sos.org/organization/project.htm">Killer Ajax Framework</a> which you developed in 2007.</p>
<p><strong>Step 2:</strong> Host your project on SourceForge, and <a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=2228236&amp;group_id=1&amp;atid=200001">ask</a> the SourceForge administrators to artificially inflate your project&#8217;s ranking. Because you rock, and they know it!</p>
<p><strong>Step 3:</strong> When the SourceForge admins politely tell you to get lost, take matters into your own hands and artificially inflate your project&#8217;s ranking yourself by <a href="http://tech.groups.yahoo.com/group/j2eelist/message/6223">spamming your own forums</a>. Number 1, baby!</p>
<p><strong>Step 4:</strong> Take advantage of TheServerSide&#8217;s new and improved RubberStamp<sup>TM</sup> editorial process by submitting an eloquent and compelling <a href="http://www.theserverside.com/news/thread.tss?thread_id=53615">introduction</a> to your project.</p>
<p><strong>Step 5:</strong> Profit, you crazy diamond!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gredler.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gredler.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gredler.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gredler.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gredler.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gredler.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gredler.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gredler.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gredler.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gredler.wordpress.com/198/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=198&subd=gredler&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://daniel.gredler.net/2009/02/18/how-to-start-a-successful-open-source-project/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d71895d31422ff2da109a665d5f6d256?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gredler</media:title>
		</media:content>
	</item>
		<item>
		<title>Note to Self: Killing Oracle Sessions</title>
		<link>http://daniel.gredler.net/2009/02/18/note-to-self-killing-oracle-sessions/</link>
		<comments>http://daniel.gredler.net/2009/02/18/note-to-self-killing-oracle-sessions/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 03:26:57 +0000</pubDate>
		<dc:creator>Daniel Gredler</dc:creator>
				<category><![CDATA[Note to Self]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://daniel.gredler.net/?p=190</guid>
		<description><![CDATA[To find all sessions for a specific user connected via the Oracle JDBC driver:
select * from v$session where username='X' and program like '%JDBC%';
To kill all of these database sessions:
declare
  statement varchar(100);
  cursor c is
    select 'alter system kill session '''
      &#124;&#124; sid &#124;&#124; ',' &#124;&#124; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=190&subd=gredler&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>To find all sessions for a specific user connected via the Oracle JDBC driver:</p>
<pre><em>select * from v$session where username='X' and program like '%JDBC%';</em></pre>
<p>To kill all of these database sessions:</p>
<pre><em>declare
  statement varchar(100);
  cursor c is
    select 'alter system kill session '''
      || sid || ',' || serial# || ''' immediate'
    from v$session
    where username='X'
    and program like '%JDBC%';
begin
  dbms_output.enable;
  open c;
  loop
    fetch c into statement;
    exit when c%notfound;
    dbms_output.put_line('Executing: ' || statement);
    execute immediate statement;
  end loop;
  close c;
end;</em></pre>
<p>This will result in output similar to the following:</p>
<pre><em>Executing: alter system kill session '225,46' immediate
Executing: alter system kill session '226,110' immediate
Executing: alter system kill session '233,6617' immediate</em></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gredler.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gredler.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gredler.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gredler.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gredler.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gredler.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gredler.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gredler.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gredler.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gredler.wordpress.com/190/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=190&subd=gredler&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://daniel.gredler.net/2009/02/18/note-to-self-killing-oracle-sessions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d71895d31422ff2da109a665d5f6d256?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gredler</media:title>
		</media:content>
	</item>
		<item>
		<title>JavaScript Performance: Rhino beats IE?</title>
		<link>http://daniel.gredler.net/2009/02/05/javascript-performance-rhino-beats-ie/</link>
		<comments>http://daniel.gredler.net/2009/02/05/javascript-performance-rhino-beats-ie/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 07:48:57 +0000</pubDate>
		<dc:creator>Daniel Gredler</dc:creator>
				<category><![CDATA[HtmlUnit]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Rhino]]></category>

		<guid isPermaLink="false">http://daniel.gredler.net/?p=173</guid>
		<description><![CDATA[I&#8217;ve been examining HtmlUnit&#8217;s performance from a couple of different angles lately. As a pure-Java headless browser intended for integration testing, one of HtmlUnit&#8217;s big draws is improved performance vis-a-vis native browsers and libraries which drive native browsers (Selenium, WebDriver, etc).
One the one hand, it&#8217;s easy to see that HtmlUnit reduces overhead by forgoing a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=173&subd=gredler&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been examining <a href="http://htmlunit.sourceforge.net/">HtmlUnit</a>&#8217;s performance from a couple of different angles lately. As a pure-Java headless browser intended for integration testing, one of HtmlUnit&#8217;s big draws is improved performance vis-a-vis native browsers and libraries which drive native browsers (<a href="http://seleniumhq.org/">Selenium</a>, <a href="http://code.google.com/p/webdriver/">WebDriver</a>, etc).</p>
<p>One the one hand, it&#8217;s easy to see that HtmlUnit reduces overhead by forgoing a GUI. No layouting, no drawing, no problem. If you poke around a little bit, you&#8217;ll also find that HtmlUnit does not download most images (there are some exceptions), nor does it download external CSS files if CSS has been disabled &#8212; all advantages in terms of network usage.</p>
<p>However, as you get closer to the RIA end of the web application spectrum, these performance advantages become increasingly overshadowed by JavaScript performance. HtmlUnit relies on <a href="http://www.mozilla.org/rhino/">Rhino</a> to do the JavaScript heavy lifting behind the scenes, so as web applications become more functional, we&#8217;re going to be relying more and more on Rhino&#8217;s muscle.</p>
<p>Google just released version 3 of their <a href="http://v8.googlecode.com/svn/data/benchmarks/v3/run.html">V8 JavaScript Benchmark Suite</a>, which tests pure JavaScript and pretty much ignores the DOM manipulation side of things &#8212; making it a perfect worst-case scenario benchmark with which to compare HtmlUnit to native browsers. In other words, if you use HtmlUnit such that all of its traditional performance advantages are negated (unlikely though that may be), how does it stack up against the native browsers?</p>
<p>Not too bad, as it turns out (bigger numbers are better):</p>
<p><img class="aligncenter size-full wp-image-181" title="javascript-benchmark1" src="http://gredler.files.wordpress.com/2009/02/javascript-benchmark1.png?w=470&#038;h=317" alt="javascript-benchmark1" width="470" height="317" /></p>
<p style="text-align:center;">
<p>The good news is that Rhino is more performant than IE 6 or IE 7, so HtmlUnit still beats these browsers in this unrealistic worst-case scenario.</p>
<p>The bad news is that IE is by far the slowest native browser out there in terms of JavaScript execution speed; we can&#8217;t assume that it will remain slow forever&#8230; can we?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gredler.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gredler.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gredler.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gredler.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gredler.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gredler.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gredler.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gredler.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gredler.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gredler.wordpress.com/173/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=173&subd=gredler&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://daniel.gredler.net/2009/02/05/javascript-performance-rhino-beats-ie/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d71895d31422ff2da109a665d5f6d256?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gredler</media:title>
		</media:content>

		<media:content url="http://gredler.files.wordpress.com/2009/02/javascript-benchmark1.png" medium="image">
			<media:title type="html">javascript-benchmark1</media:title>
		</media:content>
	</item>
		<item>
		<title>JBoss 5 + Spring 2.5.6 = BOOM!</title>
		<link>http://daniel.gredler.net/2009/01/10/jboss-5-spring-256-boom/</link>
		<comments>http://daniel.gredler.net/2009/01/10/jboss-5-spring-256-boom/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 02:47:39 +0000</pubDate>
		<dc:creator>Daniel Gredler</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://daniel.gredler.net/?p=166</guid>
		<description><![CDATA[If you tell Spring 2.5.6 to scan the classpath for application context XML files and you&#8217;re deploying to JBoss 5, you may run into this bug; something to do with JBoss&#8217; new Virtual File System (VFS) and its non-standard URLs. It looks like this issue was caught in time to be fixed for 2.5.6, but [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=166&subd=gredler&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>If you tell Spring 2.5.6 to scan the classpath for application context XML files and you&#8217;re deploying to JBoss 5, you may run into <a href="http://jira.springframework.org/browse/SPR-5120">this bug</a>; something to do with JBoss&#8217; new Virtual File System (VFS) and its non-standard URLs. It looks like this issue was caught in time to be fixed for 2.5.6, but I guess the SpringSource guys didn&#8217;t have time to test it before releasing &#8212; the fix doesn&#8217;t really work.</p>
<p>It <a href="http://www.rencontres-spring.com/public/04_roadmap_peter_cooper_ellis.pdf">appears</a> there will be a 2.5.7 release within the next couple of months (see slide 14), but it&#8217;s probably going to be the first of the commercial-only Spring releases. However, Spring 3.0 is also due within the next couple of months (see slide 5); let&#8217;s hope for a fix then. Otherwise, they may have to take JBoss off of the deploy graph on slide 4 <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gredler.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gredler.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gredler.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gredler.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gredler.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gredler.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gredler.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gredler.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gredler.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gredler.wordpress.com/166/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=daniel.gredler.net&blog=887150&post=166&subd=gredler&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://daniel.gredler.net/2009/01/10/jboss-5-spring-256-boom/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d71895d31422ff2da109a665d5f6d256?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gredler</media:title>
		</media:content>
	</item>
	</channel>
</rss>