Google Groups Home
Help | Sign in
Rails using Custom Java Persistence and Codebase?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Eric  
View profile
 More options Aug 22 2006, 8:54 pm
From: Eric <rails-mailing-l...@andreas-s.net>
Date: Wed, 23 Aug 2006 02:54:23 +0200
Local: Tues, Aug 22 2006 8:54 pm
Subject: Rails using Custom Java Persistence and Codebase?
Hello,

I have a mature Java codebase that includes my own database persistence
mechanism.  I simply want to build a web UI around the existing code.
I've read a lot of good things about Ruby, obviously.  However, I don't
really want to code my logic in Ruby other than the UI and UI controller
layer, and I don't need the Rails database persistence later.  I would
end up using JRuby to call out to my Java APIs as web requests are
received.

The question is, am I better off using another web application server
environment (there are tons out there -- Tapestry, Spring, WebObjects).
In fact I am most familiar with WebObjects and I think it is a very
powerful environemnt, and I'm leaning towards it right now.  Would
anyone advise the use of Ruby on Rails instead, or in combination with
WebObjects to pick up the app server pieces that WO is missing (if any)?
In short, if I don't need/want to take advantage of the powerful Ruby
language for my object model and business logic, and I don't need Rails
DB persistence, then is there a benefit of using RoR over WebObjects,
Tapestry, or Spring?

Thank you for your consideration.

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Charles O Nutter  
View profile
 More options Aug 23 2006, 12:31 pm
From: "Charles O Nutter" <head...@headius.com>
Date: Wed, 23 Aug 2006 11:31:05 -0500
Local: Wed, Aug 23 2006 12:31 pm
Subject: Re: [Rails] Rails using Custom Java Persistence and Codebase?

On 8/22/06, Eric <rails-mailing-l...@andreas-s.net> wrote:

> The question is, am I better off using another web application server
> environment (there are tons out there -- Tapestry, Spring, WebObjects).
> In fact I am most familiar with WebObjects and I think it is a very
> powerful environemnt, and I'm leaning towards it right now.  Would
> anyone advise the use of Ruby on Rails instead, or in combination with
> WebObjects to pick up the app server pieces that WO is missing (if any)?
> In short, if I don't need/want to take advantage of the powerful Ruby
> language for my object model and business logic, and I don't need Rails
> DB persistence, then is there a benefit of using RoR over WebObjects,
> Tapestry, or Spring?

I haven't seen any replies, but I'll weigh in from a JRuby core
perspective...

This seems like a perfect application of JRuby. Rails is great as a full
suite of services, but each service independently is useful as well. I don't
see that there's anything wrong with using the "VC" part of "MVC" with a
different model and persistence layer.

I have also been disappointed with most of the Java-based web frameworks,
almost entirely due to their over-heavy, over-complicated approaches to
implementing the view and controller portions of an app. If I were to write
an application now, I would give strong consideration to something more
Railsy, even if it were backed by Java-based services.

If you choose to go forward with this approach, Eric, the JRuby team will be
very interested in helping make it happen.

--
Contribute to RubySpec! @ www.headius.com/rubyspec
Charles Oliver Nutter @ headius.blogspot.com
Ruby User @ ruby.mn
JRuby Developer @ www.jruby.org
Application Architect @ www.ventera.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric  
View profile
 More options Aug 23 2006, 5:20 pm
From: Eric <rails-mailing-l...@andreas-s.net>
Date: Wed, 23 Aug 2006 23:20:02 +0200
Local: Wed, Aug 23 2006 5:20 pm
Subject: Re: Rails using Custom Java Persistence and Codebase?
Thank you for the offer of support with JRuby.  I appreciate it.  What I
think I'm going to do is develop the site in a combination of WebObjects
and RoR/JRuby.  I obviously need to experiment with RoR since I've never
used it (as opposed to WebObjects which I am both familiar and happy
with).  If I need help with JRuby I'll let you know.  I'll also plan on
posting my impressions of RoR vs. WebObjects as I dig into RoR.

Thank You,
Eric

--
Posted via http://www.ruby-forum.com/.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google