"state of the art" in rails, and jruby?

I have a commercial website for my wife’s business that’s written using
Java (jsps + servlet, WebWork, Ibatis). I have wanted to redo it in
rails for some time now (3 years!), but time has conspired against me.

If I should be able to do this, I’d like to stick with my current
hosting provider as they’re inexpensive, good service, and local. They
are, however, a Tomcat shop.

I could of course do this in jruby/rails, which is my current thought,
but am a little nervous with the flux in the rails world with respect to
the upcoming merb “merge”.

My question boils down to, what are the jruby’s team’s thoughts or plans
on keeping up with all this? Is “running rails” a high priority
inasmuch as when Rails starts making some big changes (and to be fair,
this might already be happening; I haven’t paid a WHOLE lot of attention
after the announcement)? Or is jruby to the point now where Rails
changes can’t really break it?

I know nothing is ever going to be absolute, but wanted to get a feel
for priorities and general thoughts.

Thanks.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Not to speak for any of the core developers, but as long as Rails stays
as
Ruby only code (which I’m sure it always will) then it should always
work
fine with JRuby. I think Rails 3.x is targeting Ruby 1.8.7 which JRuby
already supports so you really shouldn’t have anything to worry about.
Obviously its possible that some change in Rails could expose an
incompatibility with JRuby, but I’m sure it would get fixed very
quickly.
JRuby is designed to run (basically) any Ruby code out there so Rails
should always work just fine.

I suppose there could possibly be issues with the ActiveRecord JDBC
adapters
since those are a little more Rails dependent but I’m sure the plan
would be
to update them to work with Rails 3 (if the don’t already). Maybe Nick
has
some better idea about this.

Joe

On Sun, Nov 22, 2009 at 10:44 AM, Michael C. <

Hi Michael,

On Sun, Nov 22, 2009 at 5:44 PM, Michael C.
[email protected] wrote:

I could of course do this in jruby/rails, which is my current thought, but
am a little nervous with the flux in the rails world with respect to the
upcoming merb “merge”.

My question boils down to, what are the jruby’s team’s thoughts or plans on
keeping up with all this? Is “running rails” a high priority

I could probably say with confidence that running rails is always a
priority, and JRuby does that great right now and for sure will
continue to do so in the future. My understanding is that now JRuby is
a popular alternative to MRI and since many folks do run JRuby on
Rails, the rails core team itself also tests with JRuby.

Not to mention that Yehuda K., a lead dev of Merb, works at Engine
Yard, exactly where the 3 core JRuby guys are. I’m sure they will
figure this stuff out :slight_smile:

Thanks,
–Vladimir


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Sun, Nov 22, 2009 at 8:44 AM, Michael C.
[email protected] wrote:

I have a commercial website for my wife’s business that’s written using Java
(jsps + servlet, WebWork, Ibatis). I have wanted to redo it in rails for
some time now (3 years!), but time has conspired against me.

Funny, I’m in almost exactly that same situation :slight_smile:

My question boils down to, what are the jruby’s team’s thoughts or plans on
keeping up with all this? Is “running rails” a high priority

Not speaking for anyone but myself, but having just spent most of
today at JRubyConf SF (and thanks to EngineYard and the rest of
the sponsors for a job well done!) – I’d say yes, Rails running on
JRuby is a priority.

That’s not to say that it’s exactly like running MRI; you have to be
aware of gems with native extensions, etc. but there’s no reason I
can see for you to hesitate to jump on board.

HTH,

Hassan S. ------------------------ [email protected]
twitter: @hassan


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Hi Paweł,

2009/11/25 PaweÅ‚ Wielgus [email protected]:

Also for more than a year i’ve been running this rails app on JRuby
for tests and development (speed).

Initial problem i’ve had, was not enough memory set by default.

Also there is a bug in rails 1.2.6 (chars method),
which i hit after switching,
but that’s just another story and easy to cope with.

Yeah, and this is caused by MRI 1.8.7 new behavior/API (and JRuby’s
following it as well).

Besides the initial problems,
my site runs pretty fast and smoth :wink:

Thanks for sharing!
–Vladimir


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

jruby on rails with the glassfish v3 and warble war with capistrano
deployment is the way to go - then you get the full mutlithreaded
support you need without the overhead - and a pretty fast depoyment
cycle. (increase the database.yml pool size to adapt for the number of
threads working at the same time - forget jdbc connection pools unless
you have several application wanting to use the same database).

On Nov 25, 2009, at 2:53 PM, Paweł Wielgus wrote:

which i hit after switching,

On Sun, Nov 22, 2009 at 8:44 AM, Michael C.
Not speaking for anyone but myself, but having just spent most of
Hassan S. ------------------------ [email protected]


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Sun, Nov 22, 2009 at 10:44 AM, Michael C.
[email protected] wrote:

upcoming merb “merge”.

My question boils down to, what are the jruby’s team’s thoughts or plans on
keeping up with all this? Is “running rails” a high priority inasmuch as
when Rails starts making some big changes (and to be fair, this might
already be happening; I haven’t paid a WHOLE lot of attention after the
announcement)? Or is jruby to the point now where Rails changes can’t
really break it?

Hi Michael,

I just gave a presentation on JRuby on Rails at JRubyConf last Sunday,
and I’d like to assure you that keeping Rails running well on JRuby is
indeed a high priority. The Rails and JRuby teams will be working
together to ensure that Rails 3 will be the best release yet for
deploying Rails apps to Java platforms with JRuby. I should have a
blog post up soon to recap what I presented, and the presentations
were recorded too.

Cheers,
/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Hi all,
last weekend i’ve switched my website from MRI to JRuby (1.4) in
production,
right now i’m using jruby script/server but i’m thinking about
glasfish gem as the final solution.
Also for more than a year i’ve been running this rails app on JRuby
for tests and development (speed).

Initial problem i’ve had, was not enough memory set by default.

Also there is a bug in rails 1.2.6 (chars method),
which i hit after switching,
but that’s just another story and easy to cope with.

Besides the initial problems,
my site runs pretty fast and smoth :wink:

Best greetings,
Paweł Wielgus.

2009/11/23 Hassan S. [email protected]:


Hassan S. ------------------------ [email protected]
twitter: @hassan


To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Fri, Jan 1, 2010 at 12:51 PM, Michael C.
[email protected] wrote:

were recorded too.

Cheers,
/Nick

Thanks Nick. I know this is a bit late, but was wondering if you made your
blog post, and if so, where I might find it.

Hi Michael, December got away from me and I never posted it. I’ll try
to write something up soon.

Thanks,
/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Nick S. wrote:

Cheers,
/Nick

Thanks Nick. I know this is a bit late, but was wondering if you made
your blog post, and if so, where I might find it.

Thanks again,

michael


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email