<?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>Microserf &#187; Java</title>
	<atom:link href="http://microserf.wordpress.com/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://microserf.wordpress.com</link>
	<description>A humble student of the art of software development</description>
	<lastBuildDate>Mon, 14 Dec 2009 16:22:25 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='microserf.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/aa8c6dcecdda70a9cb0f44c69df02492?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Microserf &#187; Java</title>
		<link>http://microserf.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://microserf.wordpress.com/osd.xml" title="Microserf" />
		<item>
		<title>Why I like NetBeans 6.0</title>
		<link>http://microserf.wordpress.com/2007/12/10/why-i-like-netbeans-60/</link>
		<comments>http://microserf.wordpress.com/2007/12/10/why-i-like-netbeans-60/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 15:13:53 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2007/12/10/why-i-like-netbeans-60/</guid>
		<description><![CDATA[Roughly a week ago, the NetBeans 6.0 IDE (originally created by Sun) was released. And boy is it amazing; it even downloaded and installed the new Ruby on Rails 2.0.1 for me when I opened it for the first time.
I&#8217;ve always felt that Visual Studio is superior to any other IDE, with Eclipse being a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=56&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Roughly a week ago, the <a href="http://www.netbeans.org">NetBeans 6.0 IDE</a> (originally created by Sun) was released. And boy is it amazing; it even downloaded and installed <a href="http://weblog.rubyonrails.org/2007/12/7/rails-2-0-it-s-done">the new Ruby on Rails 2.0.1</a> for me when I opened it for the first time.</p>
<p>I&#8217;ve always felt that <a href="http://msdn2.microsoft.com/sv-se/vstudio/default(en-us).aspx">Visual Studio</a> is superior to any other IDE, with <a href="http://www.eclipse.org/">Eclipse</a> being a close runner-up. That has changed now, and the new NetBeans is my new favorite for coding in anything but .NET. Just look at the code completion for Ruby, which includes a documentation window that pops up when you highlight a class in the list.</p>
<p><img src="http://microserf.files.wordpress.com/2007/12/121007-1513-whyilikenet1.png" /></p>
<p>Also the way you can start your Rails site and surf around is great, it&#8217;s just like how you do it in Visual Studio. Just press F6 and a <a href="http://www.webrick.org/">WEBrick</a> server fires up and a browser window opens with your site in it. So smooth it makes your favorite milkshake blush.</p>
<p>It is open source, free, cross-platform, provides <a href="http://www.netbeans.org/kb/index.html">awesome tutorials</a> (which Eclipse does too by the way) and the installer for the Ruby version is only 19 megabytes. <a href="http://sunmicro.vo.llnwd.net/c1/netbeans/6.0/final/">19 megabytes of love</a>. It&#8217;s so good it almost makes me want to choose Java over C#. Almost.</p>
<p>It&#8217;s not very fast though… but then again, neither is Ruby. And no, I&#8217;ve never understood the Ruby community hype around <a href="http://macromates.com/">TextMate</a>, or <a href="http://en.wikipedia.org/wiki/Vi">vi</a> and <a href="http://en.wikipedia.org/wiki/Emacs">Emacs</a> for that matter. To steep a learning curve for me…</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/56/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/56/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=56&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2007/12/10/why-i-like-netbeans-60/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>

		<media:content url="http://microserf.files.wordpress.com/2007/12/121007-1513-whyilikenet1.png" medium="image" />
	</item>
		<item>
		<title>Which programming language is the fastest?</title>
		<link>http://microserf.wordpress.com/2007/06/15/which-programming-language-is-the-fastest/</link>
		<comments>http://microserf.wordpress.com/2007/06/15/which-programming-language-is-the-fastest/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 13:36:48 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2007/06/15/which-programming-language-is-the-fastest/</guid>
		<description><![CDATA[I recently came across The Computer Language Benchmarks Game that compares the speed of different programming languages on the Gentoo and Debian linux distributions. It&#8217;s interesting (although not super serious), but what does it say?

Firstly C and C++ are the winners on both the platforms. Then you have a whole bunch of languages listed, of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=37&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I recently came across <a href="http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&amp;lang=all">The Computer Language Benchmarks Game</a> that compares the speed of different programming languages on the Gentoo and Debian linux distributions. It&#8217;s interesting (although not super serious), but what does it say?
</p>
<p>Firstly C and C++ are the winners on both the platforms. Then you have a whole bunch of languages listed, of which I&#8217;m mostly interested in Java, C# and Ruby. The latter two are about half as fast as C/C++ and Ruby is in the bottom of the list. Not so strange since Ruby is an interpreted scripting language.  It would be interesting to know if the JIT-languages are tested when compiling for the first time, or when the code is cached in the memory for subsequent calls, since there can be a huge difference. Also, the C# code is run with <a href="http://www.mono-project.com/Main_Page">Mono</a> in the tests, and I don&#8217;t know if that has any performance implications as compared to the Microsoft .NET platform.
</p>
<p>But my primary argument against this speed comparison is <strong>optimality</strong>. I&#8217;m sure that this argument has been made a thousand times by others, but still. The tests must have been performed on optimal code in all the languages, or else the comparisons wouldn&#8217;t have any validity at all. Then the question really is: how difficult is it to write optimal code in any of the programming languages in the test. There is a reason why there&#8217;s been an increase in high level languages and the usage of them, it&#8217;s because C/C++ makes it very easy to write bad code. How often do you have problems with memory leaks in C#? That&#8217;s right.
</p>
<p>What I mean is that you probably don&#8217;t have to be a super programmer to write decent performing code in the higher level languages, you&#8217;d have more of a challenge doing it in C or Assembler. And apparently most developers weren&#8217;t good enough since there&#8217;s been such a shift in focus towards C#/Java. Think about Ruby on Rails for example, the active record wrapper makes it easy to quickly write some code that interacts with a database without getting horrible performance, whereas if you write the stored procedures/SQL yourself, stuff can get really messy if you&#8217;re not very good. Abstraction has good and bad sides.
</p>
<p>I&#8217;m not being a sore loser here, I&#8217;m know that you can write really good performance code with C/C++. Just don&#8217;t accept the benchmarking tests you see without considering the circumstances.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/37/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/37/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=37&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2007/06/15/which-programming-language-is-the-fastest/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>How popular Ruby really is</title>
		<link>http://microserf.wordpress.com/2007/06/07/how-popular-ruby-really-is/</link>
		<comments>http://microserf.wordpress.com/2007/06/07/how-popular-ruby-really-is/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 08:45:07 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2007/06/07/how-popular-ruby-really-is/</guid>
		<description><![CDATA[In my post &#8220;The future of web development&#8220;, I wrote about the company Thoughtworks and how 40 % of their new business this year is Ruby. That doesn&#8217;t really reflect how popular Ruby is generally, now does it? Well, via a colleague of mine I&#8217;ve found a more credible source of what languages are the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=33&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In my post &#8220;<a href="http://microserf.wordpress.com/2007/06/04/the-future-of-web-development/">The future of web development</a>&#8220;, I wrote about the company Thoughtworks and how 40 % of their new business this year is Ruby. That doesn&#8217;t really reflect how popular Ruby is generally, now does it? Well, via <a href="http://blogg.sogeti.se/java/2007/06/java_fortfarand.html">a colleague of mine</a> I&#8217;ve found a more credible source of what languages are the biggest. <a href="http://www.tiobe.com/">TIOBE Software</a> uses search engines and some magic to calculate a <a href="http://www.tiobe.com/tpci.htm">monthly index</a> which shows that Java is number 1. C# scores a measly 7<sup>th</sup> place, with a 3,4 % rating, and Ruby is on the rise, jumping from the 19<sup>th</sup> to the 10<sup>th</sup> position since June 2006, with a 2,1 % rating.</p>
<p>Watch the facts and figures for yourself at the <a href="http://www.tiobe.com/tpci.htm">TIOBE website</a>. Too bad I can&#8217;t find a similar rating for web applications only…</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/33/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/33/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=33&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2007/06/07/how-popular-ruby-really-is/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>Java and Excel</title>
		<link>http://microserf.wordpress.com/2006/10/20/java-and-excel/</link>
		<comments>http://microserf.wordpress.com/2006/10/20/java-and-excel/#comments</comments>
		<pubDate>Fri, 20 Oct 2006 08:29:48 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2006/10/20/java-and-excel/</guid>
		<description><![CDATA[I needed to read from and write to Excel-workbooks with a Java application, which proved to be pretty easy.
The answer is HSSF from the Jakarta POI project. POI provides access to Microsoft Format files and HSSF (short for &#8220;Horrible SpreadSheet Format&#8221;, funnily enough) enables you to work with Excel &#8216;97-2002 files. I haven&#8217;t tried using [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=5&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I needed to read from and write to Excel-workbooks with a Java application, which proved to be pretty easy.</p>
<p>The answer is <a href="http://jakarta.apache.org/poi/hssf/index.html">HSSF</a> from the <a href="http://jakarta.apache.org/poi/index.html">Jakarta POI</a> project. POI provides access to Microsoft Format files and HSSF (short for &#8220;Horrible SpreadSheet Format&#8221;, funnily enough) enables you to work with Excel &#8216;97-2002 files. I haven&#8217;t tried using it on the new 2007 Excel format, that would be a funny little proof of concept for the future.</p>
<p>So, just download the library and start programming. It&#8217;s very easy, but may require a lot of customization in order to get the data formatted the way you want. Nice code snippets are given to you as examples on the <a href="http://jakarta.apache.org/poi/hssf/quick-guide.html">Busy Developers&#8217; Guide to HSSF Features</a> page.</p>
<p>Great stuff!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=5&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2006/10/20/java-and-excel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
	</channel>
</rss>