Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which web framework works well using Scala on Google App Engine?

I'm embarking on a project that will be hosted on Google App Engine, and having read several books on Scala, it's definitely the language I'd like to code in. The problem is which web framework to choose...

Lift seems like an obvious choice, but aside from the fact that I'm not warming to it's AJAX/Comet notations, it appears to be strongly biased in favor of a stateful server, which doesn't bode well with App Engine. I realize that stateless dispatchers are possible in Lift, but this appears to negate many of the features of the Lift framework.

Scala-GWT is not production ready, so isn't a good choice.

Mixing Java GWT in with Scala is possible, but negates all the advantages of Scala (i.e. we're right back to heaps of boilerplate code).

My unqualified opinion of Spiffy and Scalatra is that they're not particularly mature.

Hence the question:

Is there a good (i.e. reasonably mature) framework that can be used on Google App Engine (i.e. stateful client, stateless server) which plays nicely with scala?

like image 636
Mark Avatar asked Dec 13 '11 07:12

Mark


2 Answers

Check out the Play Framework.

I'm currently developing an application using Play! on GAE.

I found that it is fairly easy to get up and running. PLAY! + the GAE module + the Siena module is all you'll need.

Play! also has REST + JSON as first-class features. Using Play!, you'll also be more portable to other platforms if you find yourself banging your head against the GAE limitations.

like image 110
Mitch Wong Ho Avatar answered Oct 18 '22 19:10

Mitch Wong Ho


Scala + Wicket could be fun, but I do not know about Wicket on GAE. Searching on Google seems to be positive.

like image 1
hellectronic Avatar answered Oct 18 '22 18:10

hellectronic