I can only tell you right now Spring MVC is "slower than servlets, faster
than JRuby." I think you may be putting too much weight into cold startup
time relative to other, far more important aspects of frameworks such as
usability, extensibility, features, etc. JRuby on Rails is always going to
be have one of the slowest startup times, period, but you can be guaranteed
that startup time WILL improve. More importantly, your application may
become more popular, and even if it isn't, we've received requests for a
paid option for keeping instances warm. Rather than look into startup time,
I'd look for a framework that does what you need that you enjoy developing
with. Gaelyk, for instance, was built FOR App Engine, whereas most of the
other frameworks named are optimized for a Linux/MySQL stack. If you're
coming from Ruby on Rails, you're going to be in for serious cultural shock
going straight to a Java framework and realizing that to get the level of
test coverage you can get in Rails, you are going to have to dramatically
adjust how you approach your object hierarchies and seriously think about
dependency injection - you may be better off going into Python instead. On
the other hand, Java instrumentation and tooling will blow your mind
compared to anything you have available in Ruby.

On Tue, Dec 22, 2009 at 2:04 PM, trung <tr...@phamcom.com> wrote:

> Agree, Django is wicked fast to spin up, you can hardly tell that it
> was a cold boot. This is my last resort if I cannot find an equivalent
> framework in Java.
>
> How fast does Spring MVC spin up?
>
> On Dec 22, 12:47 pm, "Ikai L (Google)" <ika...@google.com> wrote:
> > I am a fan of what the guys working on Play Framework are doing, but
> there
> > are still some things they need to work out for deployment to work in App
> > Engine. I'd look into addressing the issues myself if I had a chance:
> http://www.playframework.com.
> >
> > Grails is probably the closest to Ruby on Rails, but we are still working
> on
> > Groovy startup time - it's a different face of the same problem we have
> with
> > JRuby.
> >
> > If you're looking at new languages altogether (framework independent), I
> > really like the Scala programming language. It's not as free form as
> dynamic
> > languages like JRuby or Groovy, but you get a lot from type safety
> without a
> > lot of the type clunkiness that Java forces upon you.
> >
> > Then - there's also the Python option for App Engine. Django usually
> spins
> > up pretty quick (on the order of 50-200ms, from what I remember).
> >
> > On Tue, Dec 22, 2009 at 12:40 PM, Guillaume Laforge <glafo...@gmail.com
> >wrote:
> >
> >
> >
> >
> >
> > > As you're mentioning Groovy and Grails, have you looked at Gaelyk, the
> > > lightweight Groovy toolkit?
> > >http://gaelyk.appspot.com/
> >
> > > On Tue, Dec 22, 2009 at 19:41, Trung Pham <tr...@phamcom.com> wrote:
> > > > Coming from Ruby on Rails background, I have tried to run Rails on
> > > > Jruby on AppEngine. While it works, but it has ridiculous startup
> > > > time. Well over 20 seconds to spin up an instance, and sometimes it
> > > > even hits the 30 seconds limit.
> >
> > > > Anyway, out of curiosity, what is the equivalent MVC framework in the
> > > > Java world that works like Rails? Preferable native Java, not
> > > > something like Grails on Groovy. Is it even possible to have a MVC
> > > > framework on AppEngine that takes no more than 1 second to spin up?
> >
> > > > Thanks.
> >
> > > > --
> >
> > > > You received this message because you are subscribed to the Google
> Groups
> > > "Google App Engine for Java" group.
> > > > To post to this group, send email to
> > > google-appengine-j...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com><google-appengine-java%2B
> unsubscr...@googlegroups.com>
> > > .
> > > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine-java?hl=en.
> >
> > > --
> > > Guillaume Laforge
> > > Groovy Project Manager
> > > Head of Groovy Development at SpringSource
> > >http://www.springsource.com/g2one
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google App Engine for Java" group.
> > > To post to this group, send email to
> > > google-appengine-j...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com><google-appengine-java%2B
> unsubscr...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine-java?hl=en.
> >
> > --
> > Ikai Lan
> > Developer Programs Engineer, Google App Engine
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to