Marnen Laibow-Koser wrote:
> Raf Jaf wrote:
> [...]
>> The point of avoiding ActiveRecord is because our data sources are 
>> disparate, meaning that they include databases, mainframes, and, in some 
>> cases, sources that expose only a message-based interfaces (JMS, etc).
> 
> ActiveRecord and ActiveResource will have no problem with this.
> 
>> Furthermore, data from these sources needs to be mapped and processed 
>> through rules before being populated in model objects and presented to 
>> the client. Our Java data services layer handles all of this, so it's 
>> just a matter of integration Rails/Ruby with that interface. 
> 
> Don't bother.  ActiveRecord can handle that too.
> 
>> We intend 
>> to use Rails for our presentation tier only, not as a end-to-end 
>> solution.
> 
> Then you are making a very poor decision.  Stop now.  Rails is an 
> end-to-end solution.  Either use it as one or go with something like 
> Sinatra or Ramaze that is better suited to your use case.
>>
> 
>> The Java framework already exists, and we want to reuse what we have 
>> available.
>> 
>> Does that make sense now?
> 
> No, for the reasons above.
> 
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> [email protected]

According to my research, I have found nothing to indicate Rails/Ruby 
supports native integration with JMS and mainframes.

It was only last week that we looked at Rails for the first time, simply 
because we want our client-exposed interfaces to be RESTful. Perhaps 
Rails is overkill, but do you think Ramaze or Sinatra are better because 
they are more lightweight? They are still built on Ruby, which puts us 
back in the boat: bridging the gap between Ruby and Java.

I found this article moments ago which discusses how to implement 
ActiveRecord in Java. If I can get this to work in Rails with a custom 
Java implementation that hooks into our Java data services, then my 
problem is solved.

> Rails is an end-to-end solution.  Either use it as one...

I don't agree with this comment. In my experience there is nothing wrong 
with using special aspects of one framework alongside other 
technologies.

Anyway, thanks for the info.
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to