Forum: JRuby JRoR: Co-existing with Java/Hibernate back end

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Bb4bdf2b184027bc38d4fb529770cde5?d=identicon&s=25 Wes Gamble (weyus)
on 2009-02-24 19:00

I'm looking at a project where I'm being asked to focus mostly on the
front-end development.  I don't have all of the details yet, but the
implication is that the model layer is going to be handled completely in
Java, presumably using Hibernate.

This gets me thinking about how to manage the model side of things with
Rails.  Do I effectively create a set of non-DB backed models and then
shuttle data back and forth to Hibernate?  This feels really not good to

I'm looking for people who have experience working on a JRoR project
where Hibernate was involved.  Did you run into issues where the Rails
model layer and Hibernate where competing for management of the same
model objects?  Or did you just give each framework non-overlapping
groups of models to manage?

Any feedback is appreciated.

The right answer is not "just use Rails for everything," btw ;).

Wes Gamble
This topic is locked and can not be replied to.