<?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/"
	>

<channel>
	<title>hemju &#187; JRuby</title>
	<atom:link href="http://www.hemju.com/tags/jruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hemju.com</link>
	<description></description>
	<lastBuildDate>Wed, 08 Sep 2010 08:42:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>RailsConf 2010 Roundup (Rails 3.0 RC, Rails 3.1 Outlook and some more awesomeness)</title>
		<link>http://www.hemju.com/2010/06/10/english-railsconf-2010-roundup-rails-3-0-rc-rails-3-1-outlook-and-some-more-awesomeness/</link>
		<comments>http://www.hemju.com/2010/06/10/english-railsconf-2010-roundup-rails-3-0-rc-rails-3-1-outlook-and-some-more-awesomeness/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 09:07:06 +0000</pubDate>
		<dc:creator>Helmut M. Juskewycz</dc:creator>
				<category><![CDATA[hemju]]></category>
		<category><![CDATA[JRuby]]></category>
		<category><![CDATA[NoSQL]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rails3]]></category>
		<category><![CDATA[RailsConf]]></category>

		<guid isPermaLink="false">http://www.hemju.com/?p=749</guid>
		<description><![CDATA[No I am not at the RailsConf, but unless other conferences, it is possible to follow presentations pretty closely (almost live). So here a little summary of what I gathered from digging through presentations pdfs, watching keynotes, and following tweets: Rails 3 is finished (nearly) In his keynote DHH said Rails 3 is finished. With [...]


<b>Related posts:</b><ol><li><a href='http://www.hemju.com/2009/05/19/amazon-ec2-rails-roundup-2-small-instances-vs-1-high-cpu-medium-instance/' rel='bookmark' title='Permanent Link: Amazon EC2 Rails roundup: 2 small instances vs 1 high CPU medium instance'>Amazon EC2 Rails roundup: 2 small instances vs 1 high CPU medium instance</a></li>
<li><a href='http://www.hemju.com/2009/06/09/jruby-13-has-been-released/' rel='bookmark' title='Permanent Link: JRuby 1.3 has been released'>JRuby 1.3 has been released</a></li>
<li><a href='http://www.hemju.com/2008/11/22/ruby-on-rails-22/' rel='bookmark' title='Permanent Link: Ruby on Rails 2.2'>Ruby on Rails 2.2</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>No I am not at the RailsConf, but unless other conferences, it is possible to follow presentations pretty closely (almost live). So here a little summary of what I gathered from digging through presentations pdfs, watching keynotes, and following tweets:</p>
<h2>Rails 3 is finished (nearly)</h2>
<p>In his keynote <a href="http://www.loudthinking.com/">DHH</a> said Rails 3 is finished. With finished he means it is ready to use in real live apps and feature complete (? I am not sure about this one). 37Signals already uses Rails 3 in some small products and they are currently porting all their major apps to version 3. Currently a Rails 3 <a href="http://weblog.rubyonrails.org/2010/6/8/rails-3-0-beta-4-now-rc-in-days">Beta 4 is out and a RC</a> is coming in a couple of days. Get Ready for Rails 3.0.</p>
<h2>Rails 3.1 outlook</h2>
<p>One of the most exciting things for me was a glimpse to a possible Rails 3.1. Of course there isn&#8217;t any code yet, however, the Rails members already have some ideas in mind. One of them is to provide better support for CSS and Javascript (JS). Currently both are treated as static resources. With techniques like CSS Sprites and more and more Javascript development going on, CSS/JS are already a vital part of every web applications and not just static resources anymore. I would love to see Rails 3.1 helping me managing my JS files and creating CSS Sprites. Often JS logic is very specific to a page, wouldn&#8217;t it be great to write JS code directly in the page and later it is extracted/compiled to one application.js file?</p>
<h2>NoSQL</h2>
<p>I have been playing around with NoSQL lately (especially MongoDB) and wow! The performance of NoSQL is just astonishing. I also like the document approach to structure the applications data, it feels more natural than normalizing the data. So if performance of the data layer is crucial, NoSQL is the way to go. NoSQL got also a lot of love in the presentations and I am sure that we will see a lot more in the future. That said, I am spoiled by ActiveRecord (especially in Rails 3.0), so for now I stick to traditional databases.</p>
<h2>(No)JRuby</h2>
<p>Charles and the <a href="http://jruby.org/">JRuby</a> team are the RailsConf and they do a great job of advertising JRuby (just see Charles tweet stream). However, I expected at least one JRuby presentation not by the core members. It still seems that the community doesn&#8217;t use JRuby much. My guess the Java love/hate of Ruby developers is responsible for the hard time of JRuby. That&#8217;s not just unfair, it is also stupid. JRuby uses that part that makes Java awesome (I still like Java), the JVM. The JVM is a great and well tested platform, and with new Ruby performance discussions (<a href="http://www.igvita.com/2010/06/07/rails-performance-needs-an-overhaul/">Part 1</a>, <a href="http://blog.phusion.nl/2010/06/09/does-rails-performance-need-an-overhaul/">Part 2</a>) rising, it is maybe time to realize that JRuby is a very viable solution for production.</p>
<h2>Not much HTML5 and no (real) surprises</h2>
<p>Of course every good conference must have a surprise announcement (ok in case of Google I/O, they would have better skipped the Google TV presentation). Sadly RailsConf didn&#8217;t care about the surprise rule (maybe it is just a guideline? <img src='http://www.hemju.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). HTML5 is currently the hottest topic and so I expected some kind of surprise in this direction. Maybe a Rails integrated offline store, a Rails game engine based on the canvas element, or a Rails background worker. My guess, we will see this in 2011.</p>
<p>Of course the last part is just my way of saying, I wish I am at RailsConf and RailsConf without me isn&#8217;t as good as it could be. There is only one thing left to say:<br />
Thanks to all Rails developers and the community to make Rails better and better.</p>
<a style="visibility:hidden;color:white;" href="http://www.lingui.st">Lingui.st - Online Resource Editor, Manage your Ruby/Rails, Java, .Net and C++ language files with ease</a>

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.hemju.com/2010/06/10/english-railsconf-2010-roundup-rails-3-0-rc-rails-3-1-outlook-and-some-more-awesomeness/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.hemju.com/2010/06/10/english-railsconf-2010-roundup-rails-3-0-rc-rails-3-1-outlook-and-some-more-awesomeness/&amp;title=RailsConf+2010+Roundup+%28Rails+3.0+RC%2C+Rails+3.1+Outlook+and+some+more+awesomeness%29" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.hemju.com/2010/06/10/english-railsconf-2010-roundup-rails-3-0-rc-rails-3-1-outlook-and-some-more-awesomeness/&amp;title=RailsConf+2010+Roundup+%28Rails+3.0+RC%2C+Rails+3.1+Outlook+and+some+more+awesomeness%29" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.hemju.com/2010/06/10/english-railsconf-2010-roundup-rails-3-0-rc-rails-3-1-outlook-and-some-more-awesomeness/&amp;title=RailsConf+2010+Roundup+%28Rails+3.0+RC%2C+Rails+3.1+Outlook+and+some+more+awesomeness%29&amp;desc=No%20I%20am%20not%20at%20the%20RailsConf%2C%20but%20unless%20other%20conferences%2C%20it%20is%20possible%20to%20follow%20presentations%20pretty%20closely%20%28almost%20live%29.%20So%20here%20a%20little%20summary%20of%20what%20I%20gathered%20from%20digging%20through%20presentations%20pdfs%2C%20watching%20keynotes%2C%20and%20following%20tweets%3A%0D%0ARails%203%20is%20finished%20%28nearly%29%0D%0AIn%20his%20keynote" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.hemju.com/2010/06/10/english-railsconf-2010-roundup-rails-3-0-rc-rails-3-1-outlook-and-some-more-awesomeness/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.hemju.com/2010/06/10/english-railsconf-2010-roundup-rails-3-0-rc-rails-3-1-outlook-and-some-more-awesomeness/&amp;bm_description=RailsConf+2010+Roundup+%28Rails+3.0+RC%2C+Rails+3.1+Outlook+and+some+more+awesomeness%29&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.hemju.com/2010/06/10/english-railsconf-2010-roundup-rails-3-0-rc-rails-3-1-outlook-and-some-more-awesomeness/&amp;title=RailsConf+2010+Roundup+%28Rails+3.0+RC%2C+Rails+3.1+Outlook+and+some+more+awesomeness%29" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.hemju.com/2010/06/10/english-railsconf-2010-roundup-rails-3-0-rc-rails-3-1-outlook-and-some-more-awesomeness/&amp;title=RailsConf+2010+Roundup+%28Rails+3.0+RC%2C+Rails+3.1+Outlook+and+some+more+awesomeness%29" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.hemju.com/2010/06/10/english-railsconf-2010-roundup-rails-3-0-rc-rails-3-1-outlook-and-some-more-awesomeness/&amp;title=RailsConf+2010+Roundup+%28Rails+3.0+RC%2C+Rails+3.1+Outlook+and+some+more+awesomeness%29" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.hemju.com/2010/06/10/english-railsconf-2010-roundup-rails-3-0-rc-rails-3-1-outlook-and-some-more-awesomeness/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=RailsConf+2010+Roundup+%28Rails+3.0+RC%2C+Rails+3.1+Outlook+and+some+more+awesomenes%5B..%5D+-+http://b2l.me/2mjm8&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p><b>Related posts:</b><ol><li><a href='http://www.hemju.com/2009/05/19/amazon-ec2-rails-roundup-2-small-instances-vs-1-high-cpu-medium-instance/' rel='bookmark' title='Permanent Link: Amazon EC2 Rails roundup: 2 small instances vs 1 high CPU medium instance'>Amazon EC2 Rails roundup: 2 small instances vs 1 high CPU medium instance</a></li>
<li><a href='http://www.hemju.com/2009/06/09/jruby-13-has-been-released/' rel='bookmark' title='Permanent Link: JRuby 1.3 has been released'>JRuby 1.3 has been released</a></li>
<li><a href='http://www.hemju.com/2008/11/22/ruby-on-rails-22/' rel='bookmark' title='Permanent Link: Ruby on Rails 2.2'>Ruby on Rails 2.2</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hemju.com/2010/06/10/english-railsconf-2010-roundup-rails-3-0-rc-rails-3-1-outlook-and-some-more-awesomeness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JRuby finds a new home at Engine Yard</title>
		<link>http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/</link>
		<comments>http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 09:09:57 +0000</pubDate>
		<dc:creator>Helmut M. Juskewycz</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JRuby]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Sun Microsystems]]></category>

		<guid isPermaLink="false">http://www.hemju.com/?p=352</guid>
		<description><![CDATA[Engine Yard (EY) is a enterpricy (serious support and hosting, but pricy) Rails hosting service.  Two months ago at the JavaOne, Engine Yard announced that they will support JRuby. Since then a lot changed, Oracle bought Sun which raised a lot of questions about Sun&#8217;s products and frankly I don&#8217;t think it looks good for [...]


<b>Related posts:</b><ol><li><a href='http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/' rel='bookmark' title='Permanent Link: ClassCastException in JRuby 1.1.2 &#8211; org.jruby.RubyArray cannot be cast to org.jruby.ast.ListNode'>ClassCastException in JRuby 1.1.2 &#8211; org.jruby.RubyArray cannot be cast to org.jruby.ast.ListNode</a></li>
<li><a href='http://www.hemju.com/2009/04/08/google-app-engine-supports-java/' rel='bookmark' title='Permanent Link: Google App Engine supports Java'>Google App Engine supports Java</a></li>
<li><a href='http://www.hemju.com/2009/04/09/further-google-app-engine-java-gaej-information/' rel='bookmark' title='Permanent Link: Further Google App Engine Java (GAE/J) Information'>Further Google App Engine Java (GAE/J) Information</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.engineyard.com/">Engine Yard</a> (EY) is a enterpricy (serious support and hosting, but pricy) Rails hosting service.  Two months ago at the JavaOne, Engine Yard announced that they will <a href="http://www.engineyard.com/blog/2009/engine-yard-adds-jruby-support/">support  JRuby</a>. Since then a lot changed, <a href="http://www.hemju.com/2009/04/20/oracle-buys-sun/">Oracle bought Sun</a> which raised a lot of questions about Sun&#8217;s products and frankly I don&#8217;t think it looks good for a couple of products. The endangered product list so far: <a href="http://www.netbeans.org/">NetBeans</a>, <a href="http://www.mysql.com/">MySQL</a>, <a href="http://javafx.com/">JavaFX</a> (despite <a href="http://blog.devx.com/2009/06/ellison-hints-at-oracles-java.html">Larry Ellison commitment</a>), <a href="http://www.sun.com/software/solaris/">Solaris</a>, and side products like <a href="http://jruby.codehaus.org/">JRuby</a>. Due to some legal reasons, all this is just speculation and no official announcements have been made yet. However, this uncertainty doesn&#8217;t help and so many developers and Sun employees are worried. As a consequence of this uncertainty, the JRuby guys left Sun (Oracle) and joined Engine Yard. Charles Nutter, one of the JRuby guys, said: &#8220;To be honest, we had no evidence that Oracle wouldn&#8217;t support JRuby, but we also didn&#8217;t have any evidence that they would. Two out of the three developers making this move have families; we want to make sure JRuby will get to the next level, and we had to make a decision.&#8221;</p>
<p>I consider this <strong>very good news</strong>. Engine Yard has always been a very strong force behind Ruby and Rails. They already employ a bunch of very good developers and now they got themselves a bunch of geniuses more. This not only means that JRuby future looks bright, no, it is shining. Thanks JRuby guys and Engine Yard!</p>
<p>As a side note, <a href="http://blog.nicksieger.com/">Nick Sieger</a> is leaving <a href="http://kenai.com/">Project Kenai</a> (another product with an uncertain future I guess) and returning to JRuby full time.  <a href="http://olabini.com/blog/">Ola Bini</a> is still working on JRuby at <a href="http://www.thoughtworks.com/">ThoughtWorks</a>.</p>
<p>Source:</p>
<p><a href="http://www.itworld.com/business/72663/suns-jruby-team-jumps-ship-engine-yard">Sun&#8217;s JRuby team jumps ship to Engine Yard</a></p>
<a style="visibility:hidden;color:white;" href="http://www.lingui.st">Lingui.st - Online Resource Editor, Manage your Ruby/Rails, Java, .Net and C++ language files with ease</a>

<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/&amp;title=JRuby+finds+a+new+home+at+Engine+Yard" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/&amp;title=JRuby+finds+a+new+home+at+Engine+Yard" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/&amp;title=JRuby+finds+a+new+home+at+Engine+Yard&amp;desc=Engine%20Yard%20%28EY%29%20is%20a%20enterpricy%20%28serious%20support%20and%20hosting%2C%20but%20pricy%29%20Rails%20hosting%20service.%C2%A0%20Two%20months%20ago%20at%20the%20JavaOne%2C%20Engine%20Yard%20announced%20that%20they%20will%20support%20%20JRuby.%20Since%20then%20a%20lot%20changed%2C%20Oracle%20bought%20Sun%20which%20raised%20a%20lot%20of%20questions%20about%20Sun%27s%20products%20and%20frankly%20I%20don%27t%20" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/&amp;bm_description=JRuby+finds+a+new+home+at+Engine+Yard&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/&amp;title=JRuby+finds+a+new+home+at+Engine+Yard" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/&amp;title=JRuby+finds+a+new+home+at+Engine+Yard" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/&amp;title=JRuby+finds+a+new+home+at+Engine+Yard" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=JRuby+finds+a+new+home+at+Engine+Yard+-+http://b2l.me/2pzht&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p><b>Related posts:</b><ol><li><a href='http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/' rel='bookmark' title='Permanent Link: ClassCastException in JRuby 1.1.2 &#8211; org.jruby.RubyArray cannot be cast to org.jruby.ast.ListNode'>ClassCastException in JRuby 1.1.2 &#8211; org.jruby.RubyArray cannot be cast to org.jruby.ast.ListNode</a></li>
<li><a href='http://www.hemju.com/2009/04/08/google-app-engine-supports-java/' rel='bookmark' title='Permanent Link: Google App Engine supports Java'>Google App Engine supports Java</a></li>
<li><a href='http://www.hemju.com/2009/04/09/further-google-app-engine-java-gaej-information/' rel='bookmark' title='Permanent Link: Further Google App Engine Java (GAE/J) Information'>Further Google App Engine Java (GAE/J) Information</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>NetBeans 6.7 review</title>
		<link>http://www.hemju.com/2009/07/02/netbeans-6-7-review/</link>
		<comments>http://www.hemju.com/2009/07/02/netbeans-6-7-review/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 11:06:33 +0000</pubDate>
		<dc:creator>Helmut M. Juskewycz</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[hemju]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JRuby]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.hemju.com/?p=300</guid>
		<description><![CDATA[I have been using 6.7 for about 3 months now and I also participated in the NetBeans CAT program. Because a couple of days ago NetBeans 6.7 final has been released, I decided to write a longer review/round up about it. I start with an overview of the new features and then with my personal [...]


<b>Related posts:</b><ol><li><a href='http://www.hemju.com/2009/04/29/netbeans-67-beta-is-out-in-the-wild/' rel='bookmark' title='Permanent Link: Netbeans 6.7 beta is out in the wild'>Netbeans 6.7 beta is out in the wild</a></li>
<li><a href='http://www.hemju.com/2008/04/10/netbeans-61-beta-review/' rel='bookmark' title='Permanent Link: Netbeans 6.1 beta review'>Netbeans 6.1 beta review</a></li>
<li><a href='http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/' rel='bookmark' title='Permanent Link: JRuby finds a new home at Engine Yard'>JRuby finds a new home at Engine Yard</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I have been using 6.7 for about 3 months now and I also participated in the <a href="http://qa.netbeans.org/processes/cat/67/">NetBeans CAT</a> program. Because a couple of days ago <a href="http://www.netbeans.org/">NetBeans 6.7</a> final has been released, I decided to write a longer review/round up about it.</p>
<p>I start with an overview of the new features  and then with my personal opinion about the new version. Disclaimer: I am only writing my personal and subjective opinion, I didn&#8217;t do any performance tests, measurements, or statistics analysis. So if you have some objections, just leave a comment.</p>
<p><span id="more-300"></span>Before we start, I will give you an overview about the new functionality in NB. The slogan for the new release is &#8220;Connects Developers&#8221; (the slogan for NB 6.5 was &#8220;The only IDE you need&#8221;). I am not sure if the slogan is a one because only one new feature, the Kenai integration, has something to do with connecting developers:</p>
<p><strong>Connected Developer Tools</strong></p>
<ul>
<li>Create Kenai-hosted open source projects directly within the IDE</li>
<li>Manage your Kenai project and collaborate with like-minded developers</li>
<li>File issue tracking reports using both Jira and Bugzilla</li>
</ul>
<p><strong>Java</strong></p>
<ul>
<li>Hudson services integration for Ant and Maven projects</li>
<li>Generated source roots now displayed in the Projects tab</li>
<li>Struts library migrated to version 1.3.8</li>
</ul>
<p><strong>Maven</strong></p>
<ul>
<li>Library dependency graph viewer</li>
<li>Improved code completion for Maven plugin parameters</li>
<li>Support for Java EE, Web Services creation and consumption</li>
<li>POM Editor and Navigator enhancements</li>
</ul>
<p><strong>Groovy and Grails</strong></p>
<ul>
<li>Out-of-the-box support for Grails 1.1</li>
<li>Code completion</li>
<li>Disable browser opening on run and configure platforms to use with Grails projects</li>
<li>Invoke Grails command or custom script from context menu item</li>
</ul>
<p><strong>Ruby and Rails</strong></p>
<ul>
<li>Remote debugging</li>
<li>Improvements to Ruby constants support</li>
<li>Run and debug actions for test cases and suites included in context menu</li>
<li>Support for Shoulda tests</li>
</ul>
<p>These are only the most obvious features of NB 6.7, for a full list have a look at the <a href="http://wiki.netbeans.org/NewAndNoteWorthyNB67">release notes</a>.</p>
<p>So what&#8217;s my view on NB 6.7? One thing that stand out, the NB team concentrated on a lot of different things, but not on Java. Of course most technologies are somewhat in the Java realm, but not specific Java. I tried a couple of times to switch my Java development to NB, after all using only one IDE would be nice. However, the Java code editor in NB always felt kind of awkward. In Eclipse I have the feeling the code editor &#8216;knows&#8217; what I want to do. I mean the NB code editor is good in general, but has a lot of rough edges. Here is an example of what I mean:</p>
<p><a href="http://www.hemju.com/wp-content/uploads/2009/07/nb_java_tooltip.png"><img class="aligncenter size-medium wp-image-301" title="NetBeans Java Tooltip" src="http://www.hemju.com/wp-content/uploads/2009/07/nb_java_tooltip-300x223.png" alt="NetBeans Java Tooltip" width="300" height="223" /></a><a href="http://www.hemju.com/wp-content/uploads/2009/07/eclipse_java_tooltip.png"><img class="aligncenter size-medium wp-image-302" title="Eclipse Java Tooltip" src="http://www.hemju.com/wp-content/uploads/2009/07/eclipse_java_tooltip-300x130.png" alt="Eclipse Java Tooltip" width="300" height="130" /></a></p>
<p>NetBeans strikes you down with suggestions, and Eclipse just shows suggestions which are valid to the context.</p>
<p>Another case against Java in NB are missing plugins, e.g. FindBugs. I know there is<a href="https://sqe.dev.java.net/updatecenters/nbheaven-updatecenter.xml"> NB plugin</a> for FindBugs, but is seems fairly outdated. Also tool integration from other companies, e.g. Google GWT and Google APP, doesn&#8217;t exist in NB. So I guess NB 6.7 for Java is still a not for me.</p>
<p>Project <a href="http://kenai.com/">Kenai</a> is Sun&#8217;s Google Code with some extra features for issue tracking and collaboration. Although, it hosts some interesting projects, like <a href="http://kenai.com/projects/jruby">JRuby</a>, it is fairly unknown. The new tools allow you to create Kenai hosted open source projects, to collaborate with other developers, and track issues. I played with the tools a little bit and found them ok, but not really exciting. Equal tools are already around.</p>
<p>NetBeans focuses more and more on dynamic languages, like Ruby, PHP, or Groovy. Groovy and Grails are getting really pushed in NetBeans right now. I did some work with both and like them. That said, I am confused about Sun&#8217;s strategy. On one hand they push Ruby with JRuby, a lot, on the other hand their only IDE switched focus to Groovy. This is not a problem per se if the Ruby support is already that good, but it still has issues and sadly performance got worse in NB 6.7. My guess is because Groovy is popular in Europe and the core NB team is also in Europe, there is maybe some sympathy towards Groovy.<br />
Supporting a lot of languages is great, but I am not sure if the NetBeans team has enough ressources to fully support all the languages they want. With all the downcuts and the still uncertain future of the Oracle deal, it would better to support less and let the community/partner do the rest. However, getting the community and partner on board was always Sun&#8217;s (NetBean&#8217;s) weak spot. This is were Eclipse clearly won. A note on the <a href="http://platform.netbeans.org/">NetBeans RCP</a>, Matt Thompson, Senior Director of Sun&#8217;s Developer Cloud Tools,  stated the the <a href="http://www.netbeans.org/community/articles/interviews/matt-thompson.html">RCP is now less of an goal</a>. This could backfire when <a href="http://wiki.eclipse.org/E4">e4</a> is around.</p>
<p>Like I said I use NetBeans primarily for Ruby on Rails development. NetBeans was and still is the best Ruby on Rails IDE, but it lost its momentum and other IDE aren&#8217;t sleeping. The only useful new features for me is the support of the <a href="http://thoughtbot.com/projects/shoulda/">Shoulda</a> framework. Should is an awesome Unit test framework for Rails. Useful, but for me not a feature, is the improved constant support. The rest is like NetBeans 6.5, only slower (and sometimes buggier). A couple of weeks ago NetBeans 6.7 had some serious performance problems (we discussed this in the CAT program). The NB team invested a lot of hard work and fixed many of the problems. But NB 6.7 still feels sluggish compared to NB 6.5 and doesn&#8217;t do good on scanning large projects.<br />
Another NB Ruby/Rails caveat, NetBeans includes an outdated version of JRuby, 1.2. The actual version is 1.3.1. So it is probably best to install your own JRuby version and don&#8217;t rely on the provided one.</p>
<p><strong>Conclusio</strong></p>
<p>Is NetBeans 6.7 bad? No. Is NetBeans 6.7 good? Maybe, but more like &#8216;ok&#8217;. NetBeans 6.7 gives me the feeling that it includes a lot of features the majority doesn&#8217;t need or use (e.g. <a href="http://wiki.netbeans.org/NewAndNoteWorthyNB67#section-NewAndNoteWorthyNB67-FeaturesOnDemand">features on demand</a> which was at the beginning a big deal and now seems just a side feature), and doesn&#8217;t care enough about improving existing ones and performance. The results of the <a href="http://qa.netbeans.org/processes/cat/67/ca_results.html">NetBeans community survey</a> support my thoughts. For the next version I would wish something like Snow Leopard or Windows 7, a release just to clean and speed up the base.</p>
<p>After this rather neutral/negative review, I want to thank the NetBeans team for their hard work and community involvement. The CAT program allowed me and others to speak up their minds and the NetBeans team listened. As a developer I know that there are a lot decisions and considerations (or politics) the user, which is in this case me, simply doesn&#8217;t see. Thanks for NetBeans 6.7 and I am looking forward to the next version.<a style="visibility:hidden;color:white;" href="http://www.timewhale.com">TimeWhale Time Tracking</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.hemju.com/2009/07/02/netbeans-6-7-review/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.hemju.com/2009/07/02/netbeans-6-7-review/&amp;title=NetBeans+6.7+review" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.hemju.com/2009/07/02/netbeans-6-7-review/&amp;title=NetBeans+6.7+review" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.hemju.com/2009/07/02/netbeans-6-7-review/&amp;title=NetBeans+6.7+review&amp;desc=I%20have%20been%20using%206.7%20for%20about%203%20months%20now%20and%20I%20also%20participated%20in%20the%20NetBeans%20CAT%20program.%20Because%20a%20couple%20of%20days%20ago%20NetBeans%206.7%20final%20has%20been%20released%2C%20I%20decided%20to%20write%20a%20longer%20review%2Fround%20up%20about%20it.%0D%0A%0D%0AI%20start%20with%20an%20overview%20of%20the%20new%20features%20%20and%20then%20with%20my%20personal%20opinio" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.hemju.com/2009/07/02/netbeans-6-7-review/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.hemju.com/2009/07/02/netbeans-6-7-review/&amp;bm_description=NetBeans+6.7+review&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.hemju.com/2009/07/02/netbeans-6-7-review/&amp;title=NetBeans+6.7+review" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.hemju.com/2009/07/02/netbeans-6-7-review/&amp;title=NetBeans+6.7+review" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.hemju.com/2009/07/02/netbeans-6-7-review/&amp;title=NetBeans+6.7+review" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.hemju.com/2009/07/02/netbeans-6-7-review/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=NetBeans+6.7+review+-+http://b2l.me/229eZ&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p><b>Related posts:</b><ol><li><a href='http://www.hemju.com/2009/04/29/netbeans-67-beta-is-out-in-the-wild/' rel='bookmark' title='Permanent Link: Netbeans 6.7 beta is out in the wild'>Netbeans 6.7 beta is out in the wild</a></li>
<li><a href='http://www.hemju.com/2008/04/10/netbeans-61-beta-review/' rel='bookmark' title='Permanent Link: Netbeans 6.1 beta review'>Netbeans 6.1 beta review</a></li>
<li><a href='http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/' rel='bookmark' title='Permanent Link: JRuby finds a new home at Engine Yard'>JRuby finds a new home at Engine Yard</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hemju.com/2009/07/02/netbeans-6-7-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JRuby 1.3 has been released</title>
		<link>http://www.hemju.com/2009/06/09/jruby-13-has-been-released/</link>
		<comments>http://www.hemju.com/2009/06/09/jruby-13-has-been-released/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 18:15:57 +0000</pubDate>
		<dc:creator>Helmut M. Juskewycz</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JRuby]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.hemju.com/?p=277</guid>
		<description><![CDATA[JRuby is a Java implementation of the Ruby language. JRuby allows to build applications in Ruby (especially Rails) and include them in a Java environment (e.g. JEE). Despite the difficult it is already one of the fastest Ruby implementations available and invokedynamic it will further improve the performance. With this release, the Java 1.4 support has been dropped. [...]


<b>Related posts:</b><ol><li><a href='http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/' rel='bookmark' title='Permanent Link: ClassCastException in JRuby 1.1.2 &#8211; org.jruby.RubyArray cannot be cast to org.jruby.ast.ListNode'>ClassCastException in JRuby 1.1.2 &#8211; org.jruby.RubyArray cannot be cast to org.jruby.ast.ListNode</a></li>
<li><a href='http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/' rel='bookmark' title='Permanent Link: JRuby finds a new home at Engine Yard'>JRuby finds a new home at Engine Yard</a></li>
<li><a href='http://www.hemju.com/2008/12/03/javafx-10-will-be-launched-tomorrow-and-supports-mac-os/' rel='bookmark' title='Permanent Link: JavaFX 1.0 will be launched tomorrow and supports Mac OS!'>JavaFX 1.0 will be launched tomorrow and supports Mac OS!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://docs.codehaus.org/display/JRUBY/Home">JRuby</a> is a Java implementation of the Ruby language. JRuby allows to build applications in Ruby (especially Rails) and include them in a Java environment (e.g. JEE). Despite the difficult it is already one of the fastest Ruby implementations available and <a href="http://jcp.org/en/jsr/detail?id=292">invokedynamic</a> it will further improve the performance.</p>
<p>With this release, the Java 1.4 support has been dropped. The highlights of the release are:</p>
<ul>
<li>Fixes so that JRuby runs in restricted environments better like GAE/J</li>
<li>Accessing primitive Java arrays are about 10x faster</li>
<li>timeout.rb is now ~40% faster</li>
<li>Method cache performance improvements</li>
<li>irb works in &#8211;1.9 mode now</li>
<li>Additional Miscellaneous 1.9 fixes</li>
<li>rubygems 1.3.3, rake 0.8.7, and rspec 1.2.6 upgrades</li>
<li>66 bugs fixed since 1.2.0</li>
</ul>
<p>More infos <a href="http://docs.codehaus.org/display/JRUBY/2009/06/03/JRuby+1.3.0+Released">here</a><a style="visibility:hidden;color:white;" href="http://www.timewhale.com">TimeWhale Time Tracking</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.hemju.com/2009/06/09/jruby-13-has-been-released/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.hemju.com/2009/06/09/jruby-13-has-been-released/&amp;title=JRuby+1.3+has+been+released" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.hemju.com/2009/06/09/jruby-13-has-been-released/&amp;title=JRuby+1.3+has+been+released" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.hemju.com/2009/06/09/jruby-13-has-been-released/&amp;title=JRuby+1.3+has+been+released&amp;desc=JRuby%20is%20a%20Java%20implementation%20of%20the%20Ruby%20language.%C2%A0JRuby%20allows%20to%20build%20applications%20in%20Ruby%20%28especially%20Rails%29%20and%20include%20them%20in%20a%20Java%20environment%20%28e.g.%20JEE%29.%C2%A0Despite%20the%20difficult%20it%20is%20already%20one%20of%20the%20fastest%20Ruby%20implementations%20available%20and%C2%A0invokedynamic%20it%20will%20further%20improve%20the" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.hemju.com/2009/06/09/jruby-13-has-been-released/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.hemju.com/2009/06/09/jruby-13-has-been-released/&amp;bm_description=JRuby+1.3+has+been+released&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.hemju.com/2009/06/09/jruby-13-has-been-released/&amp;title=JRuby+1.3+has+been+released" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.hemju.com/2009/06/09/jruby-13-has-been-released/&amp;title=JRuby+1.3+has+been+released" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.hemju.com/2009/06/09/jruby-13-has-been-released/&amp;title=JRuby+1.3+has+been+released" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.hemju.com/2009/06/09/jruby-13-has-been-released/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=JRuby+1.3+has+been+released+-+http://b2l.me/2pnjh&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p><b>Related posts:</b><ol><li><a href='http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/' rel='bookmark' title='Permanent Link: ClassCastException in JRuby 1.1.2 &#8211; org.jruby.RubyArray cannot be cast to org.jruby.ast.ListNode'>ClassCastException in JRuby 1.1.2 &#8211; org.jruby.RubyArray cannot be cast to org.jruby.ast.ListNode</a></li>
<li><a href='http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/' rel='bookmark' title='Permanent Link: JRuby finds a new home at Engine Yard'>JRuby finds a new home at Engine Yard</a></li>
<li><a href='http://www.hemju.com/2008/12/03/javafx-10-will-be-launched-tomorrow-and-supports-mac-os/' rel='bookmark' title='Permanent Link: JavaFX 1.0 will be launched tomorrow and supports Mac OS!'>JavaFX 1.0 will be launched tomorrow and supports Mac OS!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hemju.com/2009/06/09/jruby-13-has-been-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ClassCastException in JRuby 1.1.2 &#8211; org.jruby.RubyArray cannot be cast to org.jruby.ast.ListNode</title>
		<link>http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/</link>
		<comments>http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 14:28:19 +0000</pubDate>
		<dc:creator>Helmut M. Juskewycz</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[JRuby]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.hemju.com/?p=81</guid>
		<description><![CDATA[I currently developing an application based on JRuby/Rails. I am pretty happy with that combination and I haven’t many issues until a few weeks ago. I am using NetBeans 6.1 and the shipped JRuby version 1.1.2. The problems began when I started to use ResourceBundles in Rails, hence, mixing Java and Ruby/Rails code. After that [...]


<b>Related posts:</b><ol><li><a href='http://www.hemju.com/2009/06/09/jruby-13-has-been-released/' rel='bookmark' title='Permanent Link: JRuby 1.3 has been released'>JRuby 1.3 has been released</a></li>
<li><a href='http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/' rel='bookmark' title='Permanent Link: JRuby finds a new home at Engine Yard'>JRuby finds a new home at Engine Yard</a></li>
<li><a href='http://www.hemju.com/2008/11/10/beware-the-classcastexception-a-tale-of-a-native-memory-leak/' rel='bookmark' title='Permanent Link: Beware the ClassCastException (a tale of a native Memory Leak)'>Beware the ClassCastException (a tale of a native Memory Leak)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I currently developing an application based on JRuby/Rails. I am pretty happy with that combination and I haven’t many issues until a few weeks ago. I am using NetBeans 6.1 and the shipped JRuby version 1.1.2. The problems began when I started to use ResourceBundles in Rails, hence, mixing Java and Ruby/Rails code. After that my tests didn’t compile anymore. The weird thing is that at first this seemed to occur randomly, but I then I found the problem line. Nevertheless, it didn’t help because a) the line was correct and b) I depend on using Java. After some research, yes I am mean I googled, I found not much. Only a somwhat like bug report on codehaus (some of the geniuses behind JRuby). I talked to a Netbeans engineers and he said I should wait for JRuby 1.1.3 because it is coming out in a few days. And guess what? The new release fixed the problem I am able to program with running tests again. Not only this, JRuby 1.1.3 has a lot of perfomance fixes, especially the startup, which is also a big gain. Thx JRuby guys! Btw. I am now coding with Netbeans 6.5 (daily, I am waiting for the m2( and 6.5 is just amazing, so thx Netbeans guys!</p>
<p>The bottom line is: if you have this error upgrade to JRuby 1.1.3</p>
<p>Here is the exception from JRuby:</p>
<pre class="java">Exception in thread "main" java.lang.ClassCastException: org.jruby.RubyArray cannot be cast to org.jruby.ast.ListNode
	at org.jruby.evaluator.ASTInterpreter.rescueNode(ASTInterpreter.java:1581)
	at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:468)
	at org.jruby.evaluator.ASTInterpreter.ensureNode(ASTInterpreter.java:1084)
	at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:364)
	at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)
	at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:318)
	at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
	at org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:174)
	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:150)
	at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:96)
	at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:275)
	at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:675)
	at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:324)
	at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
	at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:150)
	at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:115)
	at org.jruby.runtime.Block.yield(Block.java:109)
	at org.jruby.RubyArray.each(RubyArray.java:1311)
	at org.jruby.RubyArrayInvoker$each_method_0_0.call(Unknown Source)
	at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:295)
	at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:91)
	at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:278)
	at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:675)
	at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:324)
	at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)
	at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:318)
	at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
	at org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:174)
	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:150)
	at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:91)
	at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:278)
	at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:675)
	at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:324)
	at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:620)
	at org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:318)
	at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:170)
	at org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:174)
	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:150)
	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:225)
	at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:123)
	at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:298)
	at ruby.C_3a_.Program_20_Files.NetBeans_20_6_dot_5_20_M1.ruby2.nb_test_mediator.rescue_2$RUBY$__rescue__(C:\Program Files\NetBeans 6.5 M1\ruby2\nb_test_mediator.rb:134)
	at ruby.C_3a_.Program_20_Files.NetBeans_20_6_dot_5_20_M1.ruby2.nb_test_mediator.block_6$RUBY$__block__(C:\Program Files\NetBeans 6.5 M1\ruby2\nb_test_mediator.rb:132)
	at ruby.C_3a_.Program_20_Files.NetBeans_20_6_dot_5_20_M1.ruby2.nb_test_mediatorBlockCallback$block_6$RUBY$__block__xx1.call(Unknown Source)
	at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:107)
	at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:88)
	at org.jruby.runtime.Block.yield(Block.java:109)
	at org.jruby.RubyArray.each(RubyArray.java:1311)
	at org.jruby.RubyArrayInvoker$each_method_0_0.call(Unknown Source)
	at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:139)
	at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:312)
	at ruby.C_3a_.Program_20_Files.NetBeans_20_6_dot_5_20_M1.ruby2.nb_test_mediator.method__5$RUBY$run_mediator(C:\Program Files\NetBeans 6.5 M1\ruby2\nb_test_mediator.rb:129)
	at ruby.C_3a_.Program_20_Files.NetBeans_20_6_dot_5_20_M1.ruby2.nb_test_mediatorInvokermethod__5$RUBY$run_mediatorFixed0.call(Unknown Source)
	at org.jruby.internal.runtime.methods.CompiledMethod.call(CompiledMethod.java:48)
	at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:123)
	at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:298)
	at ruby.C_3a_.Program_20_Files.NetBeans_20_6_dot_5_20_M1.ruby2.nb_test_mediator.__file__(C:\Program Files\NetBeans 6.5 M1\ruby2\nb_test_mediator.rb:193)
	at ruby.C_3a_.Program_20_Files.NetBeans_20_6_dot_5_20_M1.ruby2.nb_test_mediator.__file__(C:\Program Files\NetBeans 6.5 M1\ruby2\nb_test_mediator.rb)
	at ruby.C_3a_.Program_20_Files.NetBeans_20_6_dot_5_20_M1.ruby2.nb_test_mediator.load(C:\Program Files\NetBeans 6.5 M1\ruby2\nb_test_mediator.rb)
	at org.jruby.Ruby.runScript(Ruby.java:512)
	at org.jruby.Ruby.runNormally(Ruby.java:432)
	at org.jruby.Ruby.runFromMain(Ruby.java:312)
	at org.jruby.Main.run(Main.java:144)
	at org.jruby.Main.run(Main.java:89)
	at org.jruby.Main.main(Main.java:80)</pre>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/&amp;title=ClassCastException+in+JRuby+1.1.2+-+org.jruby.RubyArray+cannot+be+cast+to+org.jruby.ast.ListNode" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/&amp;title=ClassCastException+in+JRuby+1.1.2+-+org.jruby.RubyArray+cannot+be+cast+to+org.jruby.ast.ListNode" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/&amp;title=ClassCastException+in+JRuby+1.1.2+-+org.jruby.RubyArray+cannot+be+cast+to+org.jruby.ast.ListNode&amp;desc=I%20currently%20developing%20an%20application%20based%20on%20JRuby%2FRails.%20I%20am%20pretty%20happy%20with%20that%20combination%20and%20I%20haven%E2%80%99t%20many%20issues%20until%20a%20few%20weeks%20ago.%20I%20am%20using%20NetBeans%206.1%20and%20the%20shipped%20JRuby%20version%201.1.2.%20The%20problems%20began%20when%20I%20started%20to%20use%20ResourceBundles%20in%20Rails%2C%20hence%2C%20mixing%20Java%20an" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/&amp;bm_description=ClassCastException+in+JRuby+1.1.2+-+org.jruby.RubyArray+cannot+be+cast+to+org.jruby.ast.ListNode&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/&amp;title=ClassCastException+in+JRuby+1.1.2+-+org.jruby.RubyArray+cannot+be+cast+to+org.jruby.ast.ListNode" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/&amp;title=ClassCastException+in+JRuby+1.1.2+-+org.jruby.RubyArray+cannot+be+cast+to+org.jruby.ast.ListNode" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/&amp;title=ClassCastException+in+JRuby+1.1.2+-+org.jruby.RubyArray+cannot+be+cast+to+org.jruby.ast.ListNode" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=ClassCastException+in+JRuby+1.1.2+-+org.jruby.RubyArray+cannot+be+cast+to+org.jr%5B..%5D+-+http://b2l.me/4f3p6&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p><b>Related posts:</b><ol><li><a href='http://www.hemju.com/2009/06/09/jruby-13-has-been-released/' rel='bookmark' title='Permanent Link: JRuby 1.3 has been released'>JRuby 1.3 has been released</a></li>
<li><a href='http://www.hemju.com/2009/07/28/jruby-finds-a-new-home-at-engine-yard/' rel='bookmark' title='Permanent Link: JRuby finds a new home at Engine Yard'>JRuby finds a new home at Engine Yard</a></li>
<li><a href='http://www.hemju.com/2008/11/10/beware-the-classcastexception-a-tale-of-a-native-memory-leak/' rel='bookmark' title='Permanent Link: Beware the ClassCastException (a tale of a native Memory Leak)'>Beware the ClassCastException (a tale of a native Memory Leak)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hemju.com/2008/08/04/classcastexception-in-jruby-112-orgjrubyrubyarray-cannot-be-cast-to-orgjrubyastlistnode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
