1

I'm going to implement an web app in gae.
I was wondering which is the best framwork for that?
I used the struts2 but it seems to be not supported.
Is there any MVC or similat inside the GAE?
What do you think is the best way?

PS: the application should be basically a collections of user profiles (with different informations) + a collections of place descriptions (which picture, descriptions, and user comments).

mechanical_meat
  • 163,903
  • 24
  • 228
  • 223
EsseTi
  • 4,079
  • 5
  • 36
  • 63
  • possible duplicate of [MVC in a Google App Engine Java world](http://stackoverflow.com/questions/862003/mvc-in-a-google-app-engine-java-world) – mechanical_meat Mar 27 '12 at 16:38

2 Answers2

2

I'd go with GWT; it allows you to build RIA applications and its supported directly by Google Plugin for Eclipse. For dependency injection, you can use Guice for Server Components and Gin for GWT client classes.

Carlos Gavidia-Calderon
  • 7,145
  • 9
  • 34
  • 59
  • well, gwt needs extension to install don't know if people would like to install it before even opening the website. – EsseTi Mar 27 '12 at 18:29
  • 1
    what extension are you talking about ?? a eclipse plugin for development yes, but the end result is strictly HTML/JS/CSS. My favourite GWT + REST based services ! – koma Mar 27 '12 at 18:47
1

You can check the list of libraries and frameworks that are tested to work on GAE. It seems that Struts 2 is supported via a workaround.

Personally I'd go with something more modern such as Play, Sitebricks or my favorite: JAX-RS with Freemarker.

Also, if you are not afraid to try something new go with GWT (as @Carlos already suggested). It's a steep learning curve, but worth it.

Peter Knego
  • 79,991
  • 11
  • 123
  • 154
  • the solution of JAX-RS and freemaker seems good (any other ref on that?). for the GWT the thing that scarry me is the fact that people need to install addons for using the website. – EsseTi Mar 27 '12 at 18:32
  • 1
    err, no. GWT is compiled to javascript - no add-on is necessary for the user. Only for developer IF debugging is needed. – Peter Knego Mar 27 '12 at 18:33
  • Here are some projects made with GWT. No addon needed to use them: https://developers.google.com/web-toolkit/examples/ – Peter Knego Mar 27 '12 at 18:35
  • probably was just me. i mean, first time i tried chrome told me to download an add-on for letting GWT work. – EsseTi Mar 29 '12 at 07:41