Archive for the ‘JRuby’ Category

h1

Selling Rails in a Recession

März 5, 2009

According to this grailsblog post, here is the Rails port:

Open Source Stack = $0

Because Rails runs on the JVM (JRuby), it is platform agnostic and capable of running on top of a 100% open source stack. Everything including the OS, app server, and database may be obtained free of charge with no license fees.

Faster Development Time

Yes, it’s great that everything needed to run Rails’ applications may be obtained for free, but what’s even a bigger cost savings is how much time developers can save by working within the JRuby/Rails environment. Rails really tends to speed up development in the following 3 areas:

Data Access

ActiveRecord provides an amazingly efficient way to model domain objects as well as persist them to a database.

Scaffolding

Scaffolding speeds up development time rapidly.

Syntax

When working with JRuby and Rails, developers will find themselves writing less code than when working within the traditional Java environment. Less code translates into shorter development time.

Summary

Rails is a great fit for a recession. It allows developers to create high quality applications on top of a free open source stack in less time than many of the more common, corporate frameworks.

h1

JRuby auf Android, Ruboto

Februar 28, 2009

Das ist doch mal eine interessante Geschichte:

JRuby works on Android

Funktioniert mit JRuby 1.2 RC1, also fröhliches testen.

h1

JRuby vs. WebSphere

Dezember 12, 2008

One goal of developing our Ruby on Rails Application with JRuby was to deploy and run the App in IBM WebSphere Application Server.

JRuby vs. WAS:

First we simple create an war file (warbler) and try to deploy it on WAS, and run in a 100% CPU load.
After some use of google we mention that we have to install the latest Fixpack (Current 6.1.0.15, Latest 6.1.0.19) this takes a while (about 500 MB to download and about 1 hour for install).

Second try, app is not loading, so we notice to optimize our web.xml (change from filter to servlet)

Last try, deploying works like it should (10 seconds). Navigation to the URL of our App, next Error.
A look in the log files shows us some cryptic „java.lang.ClassFormatError“.

Conclusion:

We were able to deploy and run our application in IBM WebSphere, but we will not use it for now. Watching JRuby Issue Tracking, Bug: 3015.

Update:

The Bug is fixed, so its time to check the deploymet again.