Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News JRuby on Google App Engine Roundup: DataMapper Adapter for DataStore, Reggae

JRuby on Google App Engine Roundup: DataMapper Adapter for DataStore, Reggae

Leia em Português

This item in japanese


After the announcement of Google App Engine's Java support, JRuby was shown to work on GAE.  There are limitations, though, and JRuby's Nick Sieger lists a few of the limitations; some examples are:

- No RMagick/ImageScience/attachment_fu. No ImageVoodoo even (no javax.image APIs). Google has it's own image manipulation API. [..]
- 1000-files limit per application. In order to work around this, I ended up jarring up all the Rails gems when deploying a Rails application.

Tom Enebo recently twittered about having added GAE support to image_vodoo.  Nick also points to the JRuby app he deployed on GAE.

Deploying a JRuby application is not yet completely automated, but some tools are worked on right now. One is reggae, which helps to deploy Rack applications to GAE.

Finally, while JRuby largely works on GAE, some popular libraries don't; the biggest example is ActiveRecord because Google only offers its own DataStore, which is not relational.
However, another ORM is now supported on Google's DataStore: DataMapper. Genki Takiuchi created the dm-datastore-adapter, which allows to use DataStore with DataMapper. Currently, a few query options are supported with DataStore.

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • ImageScience is supported

    by Bas Wilbers,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    I just want to say I made a simple wrapper around the image service. I also included a drop in interface for ImageScience. With that you can use ImageScience on GAE almost exactly the same way as you do on mri.
    More info here: Github/Basaah/image-gae

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p