Aman King

Jirb Online usi...Control PanelChange LogBrowse PagesSearch?

Jirb Online using DWR

A long while back for a Geek Night at ThoughtWorks Pune, I had come up with a JRuby sample web application that simulated jirb.

jirb is the interactive JRuby console that allows playing around with JRuby code in a quick interpreted environment. Plus, since it's JRuby it allows you to interact with Java code too.

Over time I simplified the web application, removing the unnecessary use of an MVC framework (Struts2), going for direct integration of JavaScript and Java code via the DWR AJAX library. The Java objects in turn talk to the JRuby runtime to execute the Ruby scriptlets being sent from the browser.

I have put up the code for my application here: http://bitbucket.org/amanking/jirb-online

I have also hosted it on Google App Engine for Java at http://jirbonline.appspot.com (read about it here)

Check it out and see if you can find interesting uses of it.

Screenshot

jirbonline.jpg

Comments

Talk
Tags: technology:oss, technology:coding, technology:ruby, technology:web, technology:jruby Last modified 00:52 Mon, 18 May 2009 by AmanKing. Accessed 677 times Children What Links Here share Share Except where expressly noted, this work is licensed under a Creative Commons License.