Nick Sieger: Project Kenai at JavaOne http://blog.nicksieger.com/articles/2009/06/09/project-kenai-at-javaone en-us 40 "Project Kenai at JavaOne" by Odchudzanie Poznan <p>I&#8217;m really greatful that you posted your slides&#46; Too many people post stuff like &#8220;oh yeah I did that presentation&#46; People loved it&#8221; but when asked for some materials or video they never post it&#46;</p> Tue, 23 Jun 2009 08:55:15 +0000 urn:uuid:492df852-6bdd-45e9-8701-07f3aca44fbb http://blog.nicksieger.com/articles/2009/06/09/project-kenai-at-javaone#comment-523 "Project Kenai at JavaOne" by Nick <p>JRuby&#45;Rack and Warbler, deploying to GlassFish v2&#46;</p> Tue, 09 Jun 2009 13:12:01 +0000 urn:uuid:b6453298-8ff0-48b7-ade3-b8d0ca8f5917 http://blog.nicksieger.com/articles/2009/06/09/project-kenai-at-javaone#comment-517 "Project Kenai at JavaOne" by Christian Seiler <p>Are you using JRuby&#45;Rack or the Glasfish gem?</p> Tue, 09 Jun 2009 12:28:09 +0000 urn:uuid:ec48b53e-964e-4a96-a4f1-ccc1f22561f8 http://blog.nicksieger.com/articles/2009/06/09/project-kenai-at-javaone#comment-516 Project Kenai at JavaOne <p>It&#8217;s just the beginning and a small milestone, but it&#8217;s a goal we set for ourselves by JavaOne last week that we reached: 10K registered users at <a href="http://kenai.com/">http://kenai&#46;com/</a>&#46; We were fortunate to be highlighted in the Tuesday afternoon keynote, which, to our collective relief, <a href="http://blogs.zdnet.com/BTL/?p=19181">went off without a hitch</a>&#46; I also had a chance to speak a bit about Project Kenai behind the scenes in my technical session&#46;</p> <p><a href="/TS5413_09J1_SiegerLessons.pdf">My slides are available</a> and contain a decent overview of what we&#8217;ve been doing&#46; One slide in particular seems to have <a href="http://twitter.com/olabini/status/2027466455">surprised</a> some folks: our codebase metrics&#46;</p> <ul> <li>12K lines of application code (everything in <code>app/{controllers,models,helpers}</code>)</li> <li>10K lines of views (HTML + template code in <code>app/views</code>) </li> <li>1K lines of custom Javascript (<code>public/javascripts</code> excluding jQuery and plugins)</li> <li>8K lines of test code (RSpec + plain text stories) (yes, we&#8217;re upgrading to <a href="http://cukes.info">Cucumber</a>)</li> <li>73&#46;7% test coverage</li> </ul> <p>If you&#8217;re doing Rails, you&#8217;re probably not all that surprised by these numbers; hopefully you&#8217;ve seen similar ones yourself&#46; If you haven&#8217;t tried Rails, consider a site like kenai&#46;com and ask yourself if you could build and maintain a production site like it with these numbers in your favorite language/framework&#46;</p> <p>Other takeaways from my talk:</p> <ul> <li>Use Java what it&#8217;s good for; in this case, long&#45;running server apps&#46; The downtime of the JRuby/GlassFish&#45;deployed Rails application has been minimal for us; the few cases where we&#8217;ve had issues, they&#8217;ve usually been self&#45;inflicted application problems&#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&#46;</li> <li>For the Java programmers out there, don&#8217;t be afraid to use stuff other than Java&#46; We use Python, Django, Memcached, Perl, and anything that gets the job done&#46;</li> <li>You can build cool stuff quickly with community Rails plugins like <a href="http://github.com/technoweenie/attachment_fu/tree/master">attachment_fu</a>, <a href="http://geokit.rubyforge.org/">geokit</a>, and <a href="http://wiki.github.com/mislav/will_paginate">will_paginate</a>&#46; Not news to Rails programmers, but I&#8217;d be interested to hear of any equivalents for Java&#45;based web frameworks&#46;</li> <li><a href="http://www.jruby.org/">JRuby</a> is a big win, allowing co&#45;development on MRI and JRuby with deployment to GlassFish&#46; JRuby&#8217;s java integration also allows for neat tricks like <a href="http://kenai.com/projects/image-voodoo">image_voodoo</a>, a pure&#45;Java imaging plugin for attachment_fu&#46;</li> </ul> Tue, 09 Jun 2009 02:23:36 +0000 urn:uuid:9a1f22f6-e5db-4cf7-a49d-79c06dbb4bf2 Nick Sieger http://blog.nicksieger.com/articles/2009/06/09/project-kenai-at-javaone kenai jruby rails http://blog.nicksieger.com/articles/trackback/515