From: Richard Conroy Date: 2007-02-13T03:48:28+09:00 Subject: Re: Running Java from Rails On 2/12/07, Javier_CH wrote: > On 12 Feb., 17:47, Drew Olson wrote: > > Coming from Java, let me tell you that coding the "complex stuff" in > > ruby is much nicer than coding it in Java IMO. Take the time to learn > > ruby and you will be extremely happy. > > > You're right, but I think bytecode is probably faster then interpreted- > code when it comes to performance. What have your experiences been? This is premature optimisation. Which in engineering terms is a great way to ruin a project. Its not like Rails insists that everything is written in Rails/Ruby anyway. A lot of the CPU intensive stuff, like funky graphics stuff is typically handed over to binary stuff anyway. > Second, we've a information retrieval project written in java (lucene) > which I'd like to use and I don't think using it over a webservice is > an option... Well look at JRuby. It seems to be what you need, though it is a bit early to consider running a full Rails install on it. It just about runs Rails, which is probably a by-word for 'but not in a mission critical environment'. The JRuby guys are pretty sharp though, and I don't expect that situation to stay that way for long.