<disclaimer>I will repeat what others have said already but I thought the reinforcement would be worthwhile.</disclaimer>
On Wed, Oct 24, 2012 at 10:15 PM, Will Bracken <[email protected]> wrote: > My team has been doing Java for a long time. We are switching to Ruby. > We are finding that Ruby has limitations and that we have to do certain > things in Java. I'm trying to find a way to call Java code from Ruby. > I'm searching Google and such, and I always end up on a page describing > how to call Java code from JRuby. That's not what I want. Why? > Then I start to wonder why we're NOT using JRuby?! Instinctively, I'm > thinking Java and Ruby is what we're doing. JRuby is the best of both > worlds. What am I missing? JRuby. :-) > I've asked around a little bit and I've heard a few negative things > about JRuby, such as memory issues or diminishing oracle/community > support, or whatever. Is JRuby a dud? Or is it viable for real-world, > large-scale, mission critical apps, the way Ruby/Rails supposedly is? Is > there a reason that we should be coding in Ruby AND Java instead of just > going with JRuby? One possible case where you need to write Java code: you might want to use Java libraries which do not work nicely with the (J)Ruby way and have to create glue code. Other than that some "low level" things might be more efficiently done in Java. A different option is to use a Java framework (e.g. JEE) and use JRuby callouts to customize business logic. > Thoughts? Go for JRuby - at least give it a try. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ -- You received this message because you are subscribed to the Google Groups ruby-talk-google 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 https://groups.google.com/d/forum/ruby-talk-google?hl=en
