<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US">
  <title>Nick Sieger</title>
  <subtitle type="html">do what you love</subtitle>
  <id>tag:blog.nicksieger.com,2005:Typo</id>
  <generator uri="http://www.typosphere.org" version="4.0">Typo</generator>
  
  <link rel="alternate" type="text/html" href="http://blog.nicksieger.com/" />
  <updated>2009-11-06T16:09:03+00:00</updated>
  <link rel="self" href="http://feeds.feedburner.com/nicksieger" type="application/atom+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><entry>
    <author>
      <name>Nick Sieger</name>
    </author>
    <id>urn:uuid:93e42dac-f363-41aa-bd63-24e5186d6a3b</id>
    <published>2009-11-06T16:06:37+00:00</published>
    <updated>2009-11-06T16:09:03+00:00</updated>
    <title>New Hpricot Release</title>
    <link rel="alternate" type="text/html" href="http://blog.nicksieger.com/articles/2009/11/06/new-hpricot-release" />
    <category term="ruby" scheme="http://blog.nicksieger.com/articles/tag/ruby" />
    <category term="rails" scheme="http://blog.nicksieger.com/articles/tag/rails" />
    <category term="jruby" scheme="http://blog.nicksieger.com/articles/tag/jruby" />
    <category term="hpricot" scheme="http://blog.nicksieger.com/articles/tag/hpricot" />
    <content type="html">&lt;p&gt;It&amp;#8217;s with a modicum of fanfare and a cocktail of orange peel, maraschino, bitters, bourbon and vermouth that I announce the 0&amp;#46;8&amp;#46;2 release of Hpricot&amp;#46;&lt;/p&gt;

&lt;p&gt;&lt;img src="http://hpricot.github.com/hpricot/images/hpricot.png" alt="hpricot"/&gt;&lt;/p&gt;

&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;p&gt;The angly thingies are just two martini glasses turned on their side, see? Pouring out hpricoty goodness for you&amp;#46; (I don&amp;#8217;t know if &lt;a href="http://en.wikipedia.org/wiki/Why_the_lucky_stiff"&gt;_why&lt;/a&gt; imbibed alcoholic beverages but I feel the desire to raise a glass to him&amp;#46;)&lt;/p&gt;

&lt;p&gt;This release is mostly a refresh; the previous release was way back in April&amp;#46; From the &lt;a href="http://github.com/hpricot/hpricot/commits/master/"&gt;Git logs&lt;/a&gt; I can see that there were a few bug fixes since then&amp;#46; Otherwise, the main addition is a modern JRuby release, thanks to &lt;a href="http://olabini.com/"&gt;Ola Bini&lt;/a&gt;&amp;#46; (the previous was the 0&amp;#46;6 series)&amp;#46; This does &lt;a href="http://jira.codehaus.org/browse/JRUBY-3732"&gt;fix a fairly old, popular JRuby bug&lt;/a&gt;&amp;#46;&lt;/p&gt;

&lt;p&gt;As for the future of Hpricot, it&amp;#8217;s up to you&amp;#46; I know it&amp;#8217;s still a trusty tool for many; I have no grand plans to change it&amp;#46; So if you encounter bugs and want to send patches, I&amp;#8217;m happy to serve as your curator&amp;#46;&lt;/p&gt;</content>
  </entry>
  <entry>
    <author>
      <name>Nick Sieger</name>
    </author>
    <id>urn:uuid:65e528d4-1673-400f-b67c-60f97a152db4</id>
    <published>2009-10-12T18:30:45+00:00</published>
    <updated>2009-10-12T18:30:46+00:00</updated>
    <title>Fresh 0.9.2 activerecord-jdbc-adapter Release</title>
    <link rel="alternate" type="text/html" href="http://blog.nicksieger.com/articles/2009/10/12/fresh-0-9-2-activerecord-jdbc-adapter-release" />
    <category term="jruby" scheme="http://blog.nicksieger.com/articles/tag/jruby" />
    <category term="activerecord" scheme="http://blog.nicksieger.com/articles/tag/activerecord" />
    <category term="jdbc" scheme="http://blog.nicksieger.com/articles/tag/jdbc" />
    <content type="html">&lt;p&gt;As &lt;a href="http://markmail.org/message/mkwdu56wp74pj4tf"&gt;announced last week on the jruby&amp;#45;user list&lt;/a&gt;, 0&amp;#46;9&amp;#46;2, the latest &lt;code&gt;activerecord-jdbc-adapter&lt;/code&gt; release, has been pushed out&amp;#46; Please install the gem in the usual fashion and try it out on your applications&amp;#46;&lt;/p&gt;

&lt;p&gt;One of the &lt;a href="http://jira.codehaus.org/browse/JRUBY-3502"&gt;most contentious bugs&lt;/a&gt; broke &lt;code&gt;db:create&lt;/code&gt; and &lt;code&gt;db:drop&lt;/code&gt;, ruining the quick&amp;#45;start workflow that Rails is known for&amp;#46; To fix this, a creative solution was needed that ended up bringing some nice benefits&amp;#46;&lt;/p&gt;

&lt;p&gt;The problem stemmed from the fact that some database setup tasks in Rails 2&amp;#46;3 no longer load the environment; instead they just load the configuration data and work with that&amp;#46; This means that there is no easy way to hook into Rails and override those tasks, which is &lt;a href="http://github.com/nicksieger/activerecord-jdbc-adapter/blob/master/lib/jdbc_adapter/jdbc.rake"&gt;what activerecord&amp;#45;jdbc needs to do&lt;/a&gt;&amp;#46;&lt;/p&gt;

&lt;p&gt;The solution I ended up with was to create a &lt;code&gt;jdbc&lt;/code&gt; Rails generator that inserts a couple files into your rails application that inject the JDBC logic into ActiveRecord and the database rake tasks&amp;#46; To wit:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ jruby script/generate jdbc
      exists  config/initializers
      create  config/initializers/jdbc.rb
      exists  lib/tasks
      create  lib/tasks/jdbc.rake
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The upside of this new technique is that now that we have a way to ensure the JDBC adapter is properly injected into Rails, and you no longer need to use adapter names like &lt;code&gt;jdbcmysql&lt;/code&gt;, &lt;code&gt;jdbcsqlite3&lt;/code&gt; and the like&amp;#46; The net result is that &lt;strong&gt;database&amp;#46;yml no longer needs to be modified&lt;/strong&gt; for the default Rails databases (&lt;code&gt;mysql&lt;/code&gt;, &lt;code&gt;sqlite3&lt;/code&gt;, &lt;code&gt;postgresql&lt;/code&gt;)&amp;#46; So while we introduced one additional step in the process to bootstrap a Rails application under JRuby, the removal the step where &lt;code&gt;database.yml&lt;/code&gt; needs to be modified results in a more predictable workflow&amp;#46;&lt;/p&gt;

&lt;p&gt;The new JRuby&amp;#45;specific Rails workflow looks like the following, assuming you&amp;#8217;ve installed the &lt;code&gt;activerecord-jdbc-adapter&lt;/code&gt; gem into JRuby, along with the appropriate database driver gem (e&amp;#46;g, &lt;code&gt;jdbc-mysql&lt;/code&gt;)&amp;#46; (Of course, the gems only need to be installed once per JRuby installation&amp;#46;)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create your Rails application as usual&amp;#46;&lt;/li&gt;
&lt;li&gt;Run the &lt;code&gt;jdbc&lt;/code&gt; generator as shown above&amp;#46;&lt;/li&gt;
&lt;li&gt;Profit!&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Additionally, if you maintain a &lt;a href="http://m.onkey.org/2008/12/4/rails-templates"&gt;Rails application template&lt;/a&gt; that you use to start a new application, you can simply add &lt;code&gt;generate(:jdbc)&lt;/code&gt; to that template&amp;#8217;s script&amp;#46;&lt;/p&gt;

&lt;p&gt;What&amp;#8217;s more, the presence of the JDBC files in your application are guarded and only inject JDBC support when running under JRuby, so you can safely keep them around when running Rails under multiple Ruby implementations&amp;#46;&lt;/p&gt;

&lt;p&gt;For more details of what&amp;#8217;s in the release please consult the &lt;a href="http://rubyforge.org/forum/forum.php?forum_id=34972"&gt;mini&amp;#45;changelog on Rubyforge&lt;/a&gt; and the &lt;a href="http://kenai.com/jira/browse/ACTIVERECORD_JDBC/fixforversion/10195"&gt;list of fixed issues in JIRA&lt;/a&gt;&amp;#46;&lt;/p&gt;</content>
  </entry>
  <entry>
    <author>
      <name>Nick Sieger</name>
    </author>
    <id>urn:uuid:c67b3b5d-38de-48d2-a7d7-66b6a378c1b0</id>
    <published>2009-09-12T04:22:15+00:00</published>
    <updated>2009-09-12T04:30:01+00:00</updated>
    <title>JRubyConf 2009: First of Many!</title>
    <link rel="alternate" type="text/html" href="http://blog.nicksieger.com/articles/2009/09/12/jrubyconf-2009-first-of-many" />
    <category term="jruby" scheme="http://blog.nicksieger.com/articles/tag/jruby" />
    <category term="jrubyconf" scheme="http://blog.nicksieger.com/articles/tag/jrubyconf" />
    <content type="html">&lt;p&gt;I&amp;#8217;m so excited to see the news finally hit the wire today about the paint drying on the plans for &lt;a href="http://jrubyconf.com/"&gt;JRubyConf 2009&lt;/a&gt;! &lt;/p&gt;

&lt;p&gt;&lt;img src="/files/jrubyconf-sf.jpg" alt="jrubyconf-sf.jpg"/&gt;&lt;/p&gt;

&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;p&gt;We always joked about having the first JRubyConf in the middle of a brisk Minnesota winter at Tom&amp;#8217;s Cabin, but I think this will do nicely!&lt;/p&gt;

&lt;p&gt;&lt;img src="http://farm3.static.flickr.com/2057/2222072226_d81ef00828.jpg" alt="cabin"/&gt;&lt;/p&gt;

&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;p&gt;Please go quickly and &lt;a href="http://jrubyconf.eventbrite.com/"&gt;register&lt;/a&gt;! Though there is no fee for the day, we only have a limited number of spots available!&lt;/p&gt;

&lt;p&gt;&lt;em&gt;P&amp;#46;S&amp;#46; This post is a little late to the party; I was in the air on the way back from JavaZone&amp;#46; If you want a peek at what&amp;#8217;s been happening in JRuby land you can &lt;a href="/nicksieger-javazone09-jruby.pdf"&gt;check out the slides from my talk there&lt;/a&gt;&amp;#46;&lt;/em&gt;&lt;/p&gt;</content>
  </entry>
  <entry>
    <author>
      <name>Nick Sieger</name>
    </author>
    <id>urn:uuid:29c2d853-8c43-4d1c-b09a-3f6f6ff88690</id>
    <published>2009-08-27T20:12:00+00:00</published>
    <updated>2009-08-27T20:14:13+00:00</updated>
    <title>What's New: Releases and Oh Right, a New Gig</title>
    <link rel="alternate" type="text/html" href="http://blog.nicksieger.com/articles/2009/08/27/whats-new-releases-and-oh-right-a-new-gig" />
    <category term="jruby" scheme="http://blog.nicksieger.com/articles/tag/jruby" />
    <category term="engineyard" scheme="http://blog.nicksieger.com/articles/tag/engineyard" />
    <category term="warbler" scheme="http://blog.nicksieger.com/articles/tag/warbler" />
    <category term="rack" scheme="http://blog.nicksieger.com/articles/tag/rack" />
    <content type="html">&lt;p&gt;So, after a long, busy summer, I&amp;#8217;m finally back onto support of the various bits for JRuby web application development (meaning &lt;a href="http://warbler.kenai.com/"&gt;Warbler&lt;/a&gt; and &lt;a href="http://jruby-rack.kenai.com/"&gt;JRuby&amp;#45;Rack&lt;/a&gt;)&amp;#46; I&amp;#8217;m pleased to announce the 0&amp;#46;9&amp;#46;5 release of JRuby&amp;#45;Rack and the 0&amp;#46;9&amp;#46;14 release of Warbler! All of this brought to you courtesy of Engine Yard, my &lt;a href="http://www.engineyard.com/blog/2009/jrubys-future-at-engine-yard/"&gt;new employer&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;Both of these are long&amp;#45;overdue releases&amp;#46; Here&amp;#8217;s the low&amp;#45;down on each:&lt;/p&gt;

&lt;h2&gt;JRuby&amp;#45;Rack 0&amp;#46;9&amp;#46;5&lt;/h2&gt;

&lt;p&gt;For the full history, see the &lt;a href="http://github.com/nicksieger/jruby-rack/blob/805edcc003f96c4eb30b073f24b35cd92dce056a/History.txt"&gt;0&amp;#46;9&amp;#46;5 entry in the History&amp;#46;txt file&lt;/a&gt;&amp;#46;&lt;/p&gt;

&lt;p&gt;One &lt;a href="http://kenai.com/jira/browse/JRUBY_RACK-18"&gt;bad bug in particular&lt;/a&gt; prevented you from running Rack&amp;#45;powered Rails 2&amp;#46;3 out of the box at all because JRuby&amp;#45;Rack bundled an older version of Rack than needed by Rails&amp;#46; This has been fixed for good by not forcing JRuby&amp;#45;Rack&amp;#8217;s bundled copy of Rack on your application; any version of Rack you include (either via gems or vendor&amp;#8217;ed in Rails or your application) will take precedence&amp;#46;&lt;/p&gt;

&lt;p&gt;Another major upgrade is the introduction of rewindable requests&amp;#46; The &lt;a href="http://rack.rubyforge.org/doc/SPEC.html"&gt;Rack spec dictates that the request IO object be rewindable&lt;/a&gt; and that server/handler writers (such as myself) need to buffer the input&amp;#46; You&amp;#8217;d think that Java application servers would do this for you, but, as is the case with Java so often, servers perform the bare minimum amount of work and leave the grunt work to the application developer&amp;#46; So JRuby&amp;#45;Rack takes care of the input buffering for you&amp;#46; The first 64k of input data are buffered entirely in memory; above that the request body is dumped into a temp file&amp;#46; (64k is a default and is configurable&amp;#46; If you have a better suggestion for a default, let me know&amp;#46;)&lt;/p&gt;

&lt;p&gt;Finally, this release brings back Java Servlet&amp;#45;based sessions for use with the Rack&amp;#45;based session mechanism&amp;#46; For those of you experimenting with hybrid Rails/Java applications and want to share session data between them, you&amp;#8217;ll want this&amp;#46; Servlet sessions are not the default; you need to turn them on by setting &lt;code&gt;ActionController::Base.session_store = :java_servlet_store&lt;/code&gt;&amp;#46;&lt;/p&gt;

&lt;h2&gt;Warbler 0&amp;#46;9&amp;#46;14&lt;/h2&gt;

&lt;p&gt;Warbler&amp;#8217;s main change this release is to unbundle JRuby&amp;#46; When you install Warbler as a gem, you&amp;#8217;ll now get a dependent gem called &lt;code&gt;jruby-jars&lt;/code&gt; installed for you&amp;#46; We&amp;#8217;ll be releasing a new version of this gem with every release of JRuby, and you&amp;#8217;ll be able to upgrade JRuby versions without having to update Warbler&amp;#46;&lt;/p&gt;

&lt;p&gt;JRuby&amp;#45;Rack is still bundled with Warbler for now (0&amp;#46;9&amp;#46;14 comes with JRuby&amp;#45;Rack 0&amp;#46;9&amp;#46;5 of course), but the jar file is not that big and the two projects tend to be released around the same time&amp;#46; By Warbler 1&amp;#46;0 I hope to have a mechanism to unbundle all jar files so that Warbler is just a lightweight Rake library with enough smarts to fetch the binaries your application needs&amp;#46;&lt;/p&gt;

&lt;h2&gt;Future&lt;/h2&gt;

&lt;p&gt;The projects seem to be headed for a 1&amp;#46;0 release soon&amp;#46; For these releases, I hope to ensure that they are both ready to take advantage of Rails 3 out of the box&amp;#46; One of the ways is to use &lt;a href="http://github.com/wycats/bundler/tree/master"&gt;Bundler&lt;/a&gt; in Warbler to manage gems&amp;#46; Hopefully as Rails 3 and other applications start to standardize Bundler manifests, it means less custom configuration for Warbler&amp;#46;&lt;/p&gt;

&lt;p&gt;Since the core of JRuby&amp;#45;Rack seems to be stabilizing, the next promising step is to explore more ways to integrate with existing Java code and Java applications&amp;#46; This should dovetail nicely with JRuby&amp;#8217;s plan for better Java integration in the upcoming JRuby 1&amp;#46;4 release&amp;#46; For example, &lt;a href="http://markmail.org/message/xck6goqc22ob454l"&gt;Christian Seiler explained how he&amp;#8217;s using JRuby&amp;#45;Rack&lt;/a&gt; to integrate JMS while running an in&amp;#45;memory ActiveMQ server for his site &lt;a href="http://www.blissmessage.com/"&gt;blissmessage&amp;#46;com&lt;/a&gt;&amp;#46; These kinds of ease&amp;#45;of&amp;#45;use scenarios where you can start a single process with all of your application needs: web server, message queue, timer for periodic tasks etc&amp;#46; present a great way to jumpstart a project&amp;#46; I&amp;#8217;d like to see some of these APIs &lt;a href="http://github.com/wireframe/backgrounded/tree"&gt;standardize&lt;/a&gt; so that we can transition from all&amp;#45;in&amp;#45;one development servers up to scalable production clusters where app, message queue, and other servers are separated and standalone&amp;#46;&lt;/p&gt;

&lt;p&gt;The fellows over at Google have been busy this summer with the &lt;a href="http://code.google.com/p/appengine-jruby/"&gt;appengine&amp;#45;jruby&lt;/a&gt; project, and there are opportunities for tuning that experience as well&amp;#46;&lt;/p&gt;

&lt;p&gt;Of course, your suggestions are welcome too&amp;#46; I&amp;#8217;d appreciate it if you&amp;#8217;d drop me a line if you&amp;#8217;re doing something novel with these tools, so I can help shape future directions around people like you who are Getting Things Done with them!&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(Postlude: Both these projects need a logo&amp;#46; If you can mock something up, I&amp;#8217;d love to see some ideas!)&lt;/em&gt;&lt;/p&gt;</content>
  </entry>
  <entry>
    <author>
      <name>Nick Sieger</name>
    </author>
    <id>urn:uuid:a3633f0f-4b90-4de2-a278-6c33c3d15aab</id>
    <published>2009-06-12T20:34:27+00:00</published>
    <updated>2009-06-12T20:40:17+00:00</updated>
    <title>Which Tool Would You Use?</title>
    <link rel="alternate" type="text/html" href="http://blog.nicksieger.com/articles/2009/06/12/which-tool-would-you-use" />
    <category term="ruby" scheme="http://blog.nicksieger.com/articles/tag/ruby" />
    <content type="html">&lt;p&gt;I started in on the twice&amp;#45;yearly task of pruning our hedges today&amp;#46; So confronted with this task:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/nicksieger/3619672997/" title="Shearing the shrubs by nicksieger, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2458/3619672997_70636e8702.jpg" width="375" height="500" alt="Shearing the shrubs" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;p&gt;Which tool would you use?&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/nicksieger/3620490416/" title="Which tool? by nicksieger, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3410/3620490416_2fb853899c.jpg" width="375" height="500" alt="Which tool?" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;p&gt;I used both today, but realized I enjoy using the hand trimmers much more&amp;#46; With the electric trimmers, you can buzz through a lot of hedge quickly, but sometimes this happens:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/nicksieger/3620491260/" title="Too close by nicksieger, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3300/3620491260_3c9ddd2ab1.jpg" width="500" height="375" alt="Too close" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;p&gt;With the hand trimmers, I can take my time and make precise cuts&amp;#46; The end result may take more time, but it turns out much, much better&amp;#46;&lt;/p&gt;

&lt;p&gt;Software tools have similar feels to me&amp;#46; Java feels an awful lot like the electric trimmers&amp;#46; It&amp;#8217;s heavy and powerful, but sometimes by the time you&amp;#8217;ve finished with it, you&amp;#8217;ve cut so far in that you may have missed a simpler, lighter solution&amp;#46;&lt;/p&gt;

&lt;p&gt;Ruby feels like the hand trimmers&amp;#46; Precision, less code, more intent, and I can take my time to think through and arrive at a solution without leaving a huge trail of trimmings (code) behind me&amp;#46;&lt;/p&gt;</content>
  </entry>
  <entry>
    <author>
      <name>Nick Sieger</name>
    </author>
    <id>urn:uuid:9a1f22f6-e5db-4cf7-a49d-79c06dbb4bf2</id>
    <published>2009-06-09T02:23:36+00:00</published>
    <updated>2009-06-09T02:23:36+00:00</updated>
    <title>Project Kenai at JavaOne</title>
    <link rel="alternate" type="text/html" href="http://blog.nicksieger.com/articles/2009/06/09/project-kenai-at-javaone" />
    <category term="kenai" scheme="http://blog.nicksieger.com/articles/tag/kenai" />
    <category term="jruby" scheme="http://blog.nicksieger.com/articles/tag/jruby" />
    <category term="rails" scheme="http://blog.nicksieger.com/articles/tag/rails" />
    <content type="html">&lt;p&gt;It&amp;#8217;s just the beginning and a small milestone, but it&amp;#8217;s a goal we set for ourselves by JavaOne last week that we reached: 10K registered users at &lt;a href="http://kenai.com/"&gt;http://kenai&amp;#46;com/&lt;/a&gt;&amp;#46; We were fortunate to be highlighted in the Tuesday afternoon keynote, which, to our collective relief, &lt;a href="http://blogs.zdnet.com/BTL/?p=19181"&gt;went off without a hitch&lt;/a&gt;&amp;#46; I also had a chance to speak a bit about Project Kenai behind the scenes in my technical session&amp;#46;&lt;/p&gt;

&lt;p&gt;&lt;a href="/TS5413_09J1_SiegerLessons.pdf"&gt;My slides are available&lt;/a&gt; and contain a decent overview of what we&amp;#8217;ve been doing&amp;#46; One slide in particular seems to have &lt;a href="http://twitter.com/olabini/status/2027466455"&gt;surprised&lt;/a&gt; some folks: our codebase metrics&amp;#46;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;12K lines of application code (everything in &lt;code&gt;app/{controllers,models,helpers}&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;10K lines of views (HTML + template code in &lt;code&gt;app/views&lt;/code&gt;) &lt;/li&gt;
&lt;li&gt;1K lines of custom Javascript (&lt;code&gt;public/javascripts&lt;/code&gt; excluding jQuery and plugins)&lt;/li&gt;
&lt;li&gt;8K lines of test code (RSpec + plain text stories) (yes, we&amp;#8217;re upgrading to &lt;a href="http://cukes.info"&gt;Cucumber&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;73&amp;#46;7% test coverage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you&amp;#8217;re doing Rails, you&amp;#8217;re probably not all that surprised by these numbers; hopefully you&amp;#8217;ve seen similar ones yourself&amp;#46; If you haven&amp;#8217;t tried Rails, consider a site like kenai&amp;#46;com and ask yourself if you could build and maintain a production site like it with these numbers in your favorite language/framework&amp;#46;&lt;/p&gt;

&lt;p&gt;Other takeaways from my talk:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use Java what it&amp;#8217;s good for; in this case, long&amp;#45;running server apps&amp;#46; The downtime of the JRuby/GlassFish&amp;#45;deployed Rails application has been minimal for us; the few cases where we&amp;#8217;ve had issues, they&amp;#8217;ve usually been self&amp;#45;inflicted application problems&amp;#46; Instead of running Monit with a pack of Mongrels that need to be periodically recycled, we run a few GlassFish domains per server and only recycle them when we deploy new code&amp;#46;&lt;/li&gt;
&lt;li&gt;For the Java programmers out there, don&amp;#8217;t be afraid to use stuff other than Java&amp;#46; We use Python, Django, Memcached, Perl, and anything that gets the job done&amp;#46;&lt;/li&gt;
&lt;li&gt;You can build cool stuff quickly with community Rails plugins like &lt;a href="http://github.com/technoweenie/attachment_fu/tree/master"&gt;attachment_fu&lt;/a&gt;, &lt;a href="http://geokit.rubyforge.org/"&gt;geokit&lt;/a&gt;, and &lt;a href="http://wiki.github.com/mislav/will_paginate"&gt;will_paginate&lt;/a&gt;&amp;#46; Not news to Rails programmers, but I&amp;#8217;d be interested to hear of any equivalents for Java&amp;#45;based web frameworks&amp;#46;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.jruby.org/"&gt;JRuby&lt;/a&gt; is a big win, allowing co&amp;#45;development on MRI and JRuby with deployment to GlassFish&amp;#46; JRuby&amp;#8217;s java integration also allows for neat tricks like &lt;a href="http://kenai.com/projects/image-voodoo"&gt;image_voodoo&lt;/a&gt;, a pure&amp;#45;Java imaging plugin for attachment_fu&amp;#46;&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <author>
      <name>Nick Sieger</name>
    </author>
    <id>urn:uuid:5784f974-c56e-4e9f-81a2-6cd7a56aa45d</id>
    <published>2009-05-13T21:21:37+00:00</published>
    <updated>2009-05-13T21:21:37+00:00</updated>
    <title>Three Years of JRuby on Rails</title>
    <link rel="alternate" type="text/html" href="http://blog.nicksieger.com/articles/2009/05/13/three-years-of-jruby-on-rails" />
    <category term="jruby" scheme="http://blog.nicksieger.com/articles/tag/jruby" />
    <category term="rails" scheme="http://blog.nicksieger.com/articles/tag/rails" />
    <category term="ruby" scheme="http://blog.nicksieger.com/articles/tag/ruby" />
    <content type="html">&lt;p&gt;Just yesterday the &lt;a href="http://headius.blogspot.com/2006/05/and-they-said-jruby-was-dead.html"&gt;3&amp;#45;year mark of JRuby running Rails passed by&lt;/a&gt;&amp;#46; In the intervening period since JRuby first started to run Rails, we&amp;#8217;ve seen:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://kenai.com/projects/jruby/sources/main/revision/2fc4a1817ce86cfdbc7af416f9c8595be5b5d248"&gt;6715 commits to JRuby&lt;/a&gt; and counting (via &lt;code&gt;git-rev-list --pretty=oneline 2fc4a18..HEAD | wc -l&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://jruby.markmail.org/"&gt;Over 40,000 messages to the JRuby mailing lists&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://jira.codehaus.org/browse/JRUBY"&gt;3645 issues opened, 3019 of those already closed&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://dist.codehaus.org/jruby"&gt;18 JRuby releases&lt;/a&gt; (0&amp;#46;9&amp;#46;0 to 1&amp;#46;2), with &lt;a href="http://docs.codehaus.org/display/JRUBY/2009/05/01/JRuby+1.3.0RC1+Released"&gt;1&amp;#46;3 coming soon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The birth of &lt;a href="/articles/2006/05/15/jruby-on-rails-and-activerecord-on-jdbc"&gt;activerecord&amp;#45;jdbc&lt;/a&gt;, &lt;a href="/articles/2008/05/08/introducing-jruby-rack"&gt;jruby&amp;#45;rack&lt;/a&gt;, &lt;a href="http://jetty-rails.rubyforge.org/"&gt;jetty&amp;#45;rails&lt;/a&gt;, &lt;a href="http://glassfishgem.rubyforge.org/"&gt;glassfish gem&lt;/a&gt; and many other projects to make running Rails on JRuby as seamless as possible&lt;/li&gt;
&lt;li&gt;&lt;a href="http://kenai.com"&gt;Kenai&amp;#46;com&lt;/a&gt;, &lt;a href="http://mix.oracle.com/"&gt;Oracle Mix&lt;/a&gt;, and a &lt;a href="http://wiki.jruby.org/wiki/Success_Stories"&gt;growing list of production sites running JRuby&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blog.headius.com/2008/10/ffi-for-ruby-now-available.html"&gt;FFI support&lt;/a&gt; allowing JRuby to interact with native code&lt;/li&gt;
&lt;li&gt;&lt;a href="http://olabini.com/blog/2009/04/jruby-on-rails-on-google-app-engine/"&gt;JRuby and Rails running on Google App Engine&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And yet, JRuby still has plenty of untapped potential and room for growth and adoption: in the existing Ruby and Rails communities where JRuby is showing promise as a stable, performant, concurrency&amp;#45;enabled, and leak&amp;#45;proof platform; and as a transformative force to capture the mindshare of a huge army of Java developers who aren&amp;#8217;t even aware that there&amp;#8217;s a language and runtime that allows them to preserve their skills and existing code while developing new applications faster and with much greater enjoyment&amp;#46;&lt;/p&gt;

&lt;p&gt;Here&amp;#8217;s looking to the future of continued growth for JRuby over the next three years&amp;#46; The best is yet to come!&lt;/p&gt;</content>
  </entry>
  <entry>
    <author>
      <name>Nick Sieger</name>
    </author>
    <id>urn:uuid:3de43ef7-e026-4ca5-9429-0ba3b288695c</id>
    <published>2009-04-30T03:07:47+00:00</published>
    <updated>2009-05-02T05:21:46+00:00</updated>
    <title>Stand and Be Counted</title>
    <link rel="alternate" type="text/html" href="http://blog.nicksieger.com/articles/2009/04/30/stand-and-be-counted" />
    <content type="html">&lt;p&gt;From &lt;a href="http://hackety.org/2009/04/29/aSelectionOfThoughtsFromActualWomen.html"&gt;_why&amp;#8217;s constructive post entitled &amp;#8220;A Selection Of Thoughts From Actual Women&amp;#8221;&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
    &lt;p&gt;&lt;a href="http://afreshcup.com/2009/04/28/a-painful-decision/#comment-1004"&gt;Noirin Plunkett&lt;/a&gt;: (Regarding Mike Gunderloy’s decision to leave the Rails team&amp;#46;) It seems like so often in these things, even the “good guys” just tsk&amp;#45;tsk and shake their heads, without being willing to stand up and be counted&amp;#46; Actions speak louder than words&amp;#46;&amp;#46;&amp;#46;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I don&amp;#8217;t like to use this blog as a soapbox for non&amp;#45;technical content, but I too have been conflicted over the past week&amp;#46; So I&amp;#8217;m standing up to be counted&amp;#46; As a father of two girls who are starting to show an interest in computing, I consider it my obligation&amp;#46; If you agree with me, I hope you will do so as well by posting a brief statement on your own blogs&amp;#46; If you do, send me a link and I&amp;#8217;ll link to you from here&amp;#46; So here&amp;#8217;s my statement:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I want the Ruby, Rails, open source, and web development communities to be a dignified, respectful, inclusive, and welcoming place&amp;#46; Acts like putting questionable imagery in a conference talk are regrettable and harmful to those aims&amp;#46; We&amp;#8217;ve all been witnesses to off&amp;#45;color jokes, misogynistic back channel chatter and unnecessary, trolling comments&amp;#46; I pledge to do better to stand up and call this behavior out when I see it in conferences, online and other public settings&amp;#46; I don&amp;#8217;t expect it to go away but I&amp;#8217;m not going to tacitly condone it any longer&amp;#46;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I think we can have our cake and eat it too&amp;#46; We can have a welcoming community while still courting the creativity, edginess and even controversy that makes us who we are; we also need to actively listen and be open to alternative viewpoints&amp;#46; There&amp;#8217;s always another side to any story and we need to seek it out, especially when it&amp;#8217;s drowned out by online discussion boards run amok&amp;#46;&lt;/p&gt;

&lt;p&gt;I&amp;#8217;m looking forward to continuing the conversation at the &lt;a href="http://en.oreilly.com/rails2009/public/schedule/detail/8772"&gt;Women in Rails panel&lt;/a&gt; next week&amp;#46; I hope to see you there&amp;#46;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Update: I think the individual at the source of the incident that sparked this debate has been through enough so I&amp;#8217;m following others&amp;#8217; leads and have anonymized the post&amp;#46;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Nick Sieger&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Other statements (Thank you!):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://blog.headius.com/2009/04/stand-and-be-counted.html"&gt;Charles Nutter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://evan.tiggerpalace.com/2009/04/30/on-professionalism-and-bigotry/"&gt;Evan Light&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.youhhoo.com/blog/?p=107"&gt;Youssef Chaker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://manalang.com/archives/2009/04/30/im-standing-up-to-be-counted/"&gt;Rich Manalang&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://twitpic.com/4a76t"&gt;Michael Easter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.elevatedrails.com/articles/2009/04/30/standing-up-to-be-counted/"&gt;Mike Mangino&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.not404.com/content/rails-gogaruco-and-professionalism"&gt;Laurence Lee&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blog.majesticseacreature.com/archives/2009.04/stand_and_be_counted.html"&gt;Gregory Brown&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.ryanripley.com/83-stand-and-be-counted-it-starts-the-top"&gt;Ryan Ripley&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <author>
      <name>Nick Sieger</name>
    </author>
    <id>urn:uuid:32ea8753-bf86-4fe8-bec2-4b2f432512fe</id>
    <published>2009-04-11T04:10:51+00:00</published>
    <updated>2009-04-11T04:10:51+00:00</updated>
    <title>JRuby on Google AppEngine: First Impressions</title>
    <link rel="alternate" type="text/html" href="http://blog.nicksieger.com/articles/2009/04/11/jruby-on-google-appengine-first-impressions" />
    <category term="jruby" scheme="http://blog.nicksieger.com/articles/tag/jruby" />
    <category term="rails" scheme="http://blog.nicksieger.com/articles/tag/rails" />
    <category term="google" scheme="http://blog.nicksieger.com/articles/tag/google" />
    <category term="appengine" scheme="http://blog.nicksieger.com/articles/tag/appengine" />
    <content type="html">&lt;p&gt;I was surprised by &lt;a href="http://googleappengine.blogspot.com/2009/04/seriously-this-time-new-language-on-app.html"&gt;Tuesday&amp;#8217;s announcements&lt;/a&gt; as much as anyone else&amp;#46; &lt;a href="http://olabini.com/blog/2009/04/jruby-on-rails-on-google-app-engine/"&gt;Ola keeps secrets well&lt;/a&gt;&amp;#46; He sent me a pull request for &lt;a href="http://jruby-rack.kenai.com/pages/Home"&gt;jruby&amp;#45;rack&lt;/a&gt; just last week mentioning &amp;#8220;some restrictive environments where you can&amp;#8217;t start threads&amp;#8221;&amp;#46; I didn&amp;#8217;t blink, and instead just merged his patch&amp;#46;&lt;/p&gt;

&lt;p&gt;&lt;img src="http://rubyonrails.org/images/rails.png" alt="rails"/&gt;
&lt;img src="http://2.bp.blogspot.com/_dLfQMJsmsaI/SdvwPx8hz5I/AAAAAAAAACY/I_DEfn6nQjc/s320/ae_gwt_java.png" alt="java-gae"/&gt;&lt;/p&gt;

&lt;p&gt;Despite the surprise news, it turns out my timing wasn&amp;#8217;t bad&amp;#46; &lt;a href="http://twitter.com/nicksieger/status/1189629742"&gt;Just a couple of weeks ago I was experimenting&lt;/a&gt; with the Python version of AppEngine, just to see what the fuss is all about&amp;#46; Even though Google&amp;#8217;s had its &lt;a href="http://radar.oreilly.com/archives/2008/04/is-google-app-engine-a-lockin.html"&gt;share&lt;/a&gt; of &lt;a href="http://www.tbray.org/ongoing/When/200x/2008/04/09/Google-Users-API"&gt;criticism&lt;/a&gt; for building a platform that is difficult for developers to leave, the lock&amp;#45;in aspect didn&amp;#8217;t bother me&amp;#46; I&amp;#8217;m a pragmatist first, and I believe that we as developers are the only ones locking ourselves to a platform&amp;#46; We have a choice, after all&amp;#46; And look at &lt;a href="http://www.nytimes.com/2009/04/05/fashion/05iphone.html"&gt;all the developers willfully rushing&lt;/a&gt; to develop Cocoa applications for the iPhone&amp;#46; The fact that their code is not useful on any other device isn&amp;#8217;t stopping them&amp;#46;&lt;/p&gt;

&lt;p&gt;The thing with AppEngine is that it&amp;#8217;s a unique platform all unto itself&amp;#46; That may seem brutally obvious, but the point seems to be lost in all the frenzy surrounding the Run&amp;#45;Rails&amp;#45;Struts&amp;#45;Spring&amp;#45;Groovy&amp;#45;Grails&amp;#45;Lift&amp;#45;You&amp;#45;Name&amp;#45;It&amp;#45;Framework on AppEngine this week&amp;#46; I&amp;#8217;m not saying it&amp;#8217;s a bad idea to try to run Rails on AppEngine; quite the contrary&amp;#46; I&amp;#8217;m saying you need to be honest about the trade&amp;#45;offs and constraints&amp;#46; And in the case of Ruby and Rails, boy are there a bunch of them:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No regular &lt;code&gt;net/http&lt;/code&gt;, &lt;code&gt;restclient&lt;/code&gt;, &lt;code&gt;ActiveResource&lt;/code&gt; usage&amp;#46; Google has a URL fetch library, and has hooked up Java&amp;#8217;s &lt;code&gt;HttpURLConnection&lt;/code&gt; to it, but none of the Ruby URL&amp;#45;fetching libraries use it&amp;#46;&lt;/li&gt;
&lt;li&gt;No ActiveRecord&amp;#46; &amp;#8216;Nuff said&amp;#46; For some folks, that&amp;#8217;s a welcome change, but wrapping your head around AppEngine&amp;#8217;s BigTable&amp;#45;backed data store takes some thought&amp;#46; You just can&amp;#8217;t view it like a SQL engine&amp;#46;&lt;/li&gt;
&lt;li&gt;No RMagick/ImageScience/attachment_fu&amp;#46; No &lt;a href="/articles/2008/03/27/imagevoodoo-0-1-released"&gt;ImageVoodoo&lt;/a&gt; even (no javax&amp;#46;image APIs)&amp;#46; Google has it&amp;#8217;s own image manipulation API&amp;#46;&lt;/li&gt;
&lt;li&gt;Startup/first request processing time is currently an issue&amp;#46; It&amp;#8217;s not clear yet how long Google keeps JVMs warm, so if your application is idle, the first few hits to it return 500 errors&amp;#46; I can only assume Google has a plan to address this&amp;#46;&lt;/li&gt;
&lt;li&gt;Crypto&amp;#46; Although java&amp;#46;security and javax&amp;#46;crypto APIs are apparently &lt;a href="http://code.google.com/appengine/docs/java/jrewhitelist.html"&gt;whitelisted&lt;/a&gt;, I haven&amp;#8217;t had time to figure out how to leverage them&amp;#46; JRuby&amp;#8217;s jruby&amp;#45;openssl gem does not work, which means things like &lt;code&gt;digest&lt;/code&gt; aren&amp;#8217;t available&amp;#46; That&amp;#8217;s currently a blocker for Rails&amp;#8217; cookie session store&amp;#46;&lt;/li&gt;
&lt;li&gt;1000&amp;#45;files limit per application&amp;#46; In order to work around this, I ended up &lt;a href="/articles/2009/01/10/jruby-1-1-6-gems-in-a-jar"&gt;jarring up all the Rails gems&lt;/a&gt; when deploying a Rails application&amp;#46;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are just a sampling of some of the problems you&amp;#8217;re dealing with on the AppEngine frontier&amp;#46; They&amp;#8217;re all solvable; it will take a little time and BST (blood, sweat and tears)&amp;#46; The point is you can&amp;#8217;t expect a Rails application on AppEngine to behave like all the Rails applications you&amp;#8217;ve written previously&amp;#46;&lt;/p&gt;

&lt;p&gt;In return for your troubles, you get the AppEngine value proposition, which is actually attractive in a lot of ways: Google runs the platform&amp;#46; You don&amp;#8217;t have to worry about it&amp;#46; Transparent scaling, monitoring, logging, everything below your application code is taken care of&amp;#46; Single&amp;#45;step deployment, with application versioning and rollback&amp;#46; Scalable services: BigTable storage, memcached, scheduled tasks&amp;#46; My friend &lt;a href="http://googleappengine.blogspot.com/2009/02/best-buys-giftag-on-app-engine.html"&gt;Curt Thompson of Best Buy&amp;#8217;s Giftag&amp;#46;com&lt;/a&gt; talks about how they leverage AppEngine for a non&amp;#45;toy application&amp;#46; (Curt also helped me get my &lt;a href="http://nicksieger-notes.appspot.com/"&gt;Python AppEngine experiment&lt;/a&gt; up and running&amp;#46;)&lt;/p&gt;

&lt;p&gt;In the end, I&amp;#8217;m still extremely excited about the prospect of using JRuby and Rails on AppEngine, and can&amp;#8217;t wait to see what people build with these tools&amp;#46; If you want a little head start, you can check out the first Rails application I deployed, &lt;a href="http://jruby-rack.appspot.com/"&gt;jruby&amp;#45;rack&amp;#46;appspot&amp;#46;com&lt;/a&gt;&amp;#46; The &amp;#8220;application environment&amp;#8221; page is the main dynamic action in the app, which just enumerates a bunch of request and system environment properties so you can get a feel for how things are set up in the AppEngine Java environment&amp;#46; The source code for the application is linked from the front page&amp;#46; Note that the app was deployed with JRuby trunk and &lt;a href="http://kenai.com/projects/jruby-rack/lists/talk/archive/2009-04/message/0"&gt;JRuby&amp;#45;Rack 0&amp;#46;9&amp;#46;4&lt;/a&gt;; Warbler is not yet using these components but you can build them yourself, drop them in and try them&amp;#46; We&amp;#8217;ll be updating JRuby, Warbler and other tools soon to make this process more seamless soon&amp;#46; Stay tuned!&lt;/p&gt;</content>
  </entry>
  <entry>
    <author>
      <name>Nick Sieger</name>
    </author>
    <id>urn:uuid:99db756c-66ad-4e4b-82cc-422ff2c8f161</id>
    <published>2009-03-31T01:20:49+00:00</published>
    <updated>2009-03-31T01:20:49+00:00</updated>
    <title>My JRuby Talk at Philly ETE</title>
    <link rel="alternate" type="text/html" href="http://blog.nicksieger.com/articles/2009/03/31/my-jruby-talk-at-philly-ete" />
    <category term="jruby" scheme="http://blog.nicksieger.com/articles/tag/jruby" />
    <category term="phillyete" scheme="http://blog.nicksieger.com/articles/tag/phillyete" />
    <content type="html">&lt;p&gt;Last Friday at &lt;a href="http://www.phillyemergingtech.com/"&gt;Philly ETE 2009&lt;/a&gt; I gave a talk entitled, &lt;em&gt;JRuby: Agile Glue for the Enterprise&lt;/em&gt;&amp;#46; The talk was aimed at the skeptical enterprise developer or architect that hasn&amp;#8217;t yet considered adopting a dynamic language&amp;#46; (Unfortunately, most of the folks in the room were familiar with Ruby, so the pitch may not have hit the mark&amp;#46; At least they &lt;a href="http://www.phillyemergingtech.com/abstracts.php?sessID=15"&gt;knew what they were getting into&lt;/a&gt;&amp;#46;)&lt;/p&gt;

&lt;p&gt;The thesis is pretty concise: If you&amp;#8217;re developing on a platform that doesn&amp;#8217;t make use of a dynamic language, you&amp;#8217;re limiting your development speed&amp;#46;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/httpwwwmouthshutcomusermariner2html/3088565681/"&gt;
  &lt;img src="http://farm4.static.flickr.com/3089/3088565681_cbd2ebbc3b.jpg?v=0" border="0"/&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You&amp;#8217;re using a heavy vehicle in the parts of your application where you should be driving a bike&amp;#46; I actually don&amp;#8217;t care whether you use JRuby or Groovy or JavaScript or Jython&amp;#46; But you should use the right tool for the task at hand, and using Java to do systems integration or builds or frequently changing application logic is the jackhammer trying to hit a nail&amp;#46;&lt;/p&gt;

&lt;div class="thumbnail"&gt;&lt;a href="http://skitch.com/nicksieger/bj9h1/stable-layer"&gt;&lt;img src="http://img.skitch.com/20090331-ng88u5ai1557jju329j3ch6k2m.preview.jpg" alt="stable-layer" /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;p&gt;The great thing about this picture is that you can introduce a dynamic language on the slice on the right side without deploying Ruby code into your production application&amp;#46; You can ramp up Ruby (using JRuby) as a testing tool, a build tool, or a monitoring/deploy tool&amp;#46;&lt;/p&gt;

&lt;p&gt;Once you&amp;#8217;re a little more comfortable with Ruby and JRuby, you can start to embed it in non&amp;#45;critical corners of your application&amp;#46; Maybe you&amp;#8217;ll eventually feel confident enough to even try using parts or all of Rails in your application&amp;#46; And doing it in a way that preserves your existing infrastructure when you need it, or phasing it out slowly instead of &lt;a href="http://chadfowler.com/2006/12/27/the-big-rewrite"&gt;completely rewriting it&lt;/a&gt;&amp;#46;&lt;/p&gt;

&lt;p&gt;JRuby can help you with this transition&amp;#46; It&amp;#8217;s there every step of the way, bringing the best of both worlds (Ruby and Java) and bridging them in a way that makes programming on the Java platform fun again&amp;#46;&lt;/p&gt;

&lt;p&gt;You can &lt;a href="/files/jruby-ete.pdf"&gt;download the slides&lt;/a&gt; to see code examples for all these areas&amp;#46;&lt;/p&gt;</content>
  </entry>
</feed>
