gwtproject / gwt

GWT Open Source Project
http://www.gwtproject.org
1.53k stars 378 forks source link

Better Spring + GAE + GWT (MVP) boilerplate / blueprints / reference project / documentation #5675

Closed dankurka closed 9 years ago

dankurka commented 9 years ago

Originally reported on Google Code with ID 5676


Found in GWT Release (e.g. 1.5.3, 1.6 RC): 2.1 (GAE 1.3.8)

Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): WinXP SP2

Detailed description (please be as specific as possible):

Since SpringSource (VMWare) and Google has announced a cooperation and an ability to
write once run on every cloud concept, I find it hard to believe that there are so
little material on the subject, let alone samples.

The existing Spring / GAE integration is a mystery, the Roo / STS tutorial and samples
clearly state that GAE is not yet supported (expenses-gae.roo, in any case that sample
doesn't run), and it is not clear how Spring is planned to be part of the picture.

What is missing? here are a few thoughts:

- Blueprints, case based architectural best practices and documentation
- Spring + GAE + GWT reference implementation for a multilayer project
- Recommended Spring + GAE + GWT project structure and wiring
- Explain how Spring MVC and GWT MVP are designed to co-exist (if at all)
- How to use Spring security in a GAE project? 
- Spring Web Flow? can it be used instead of the onValueChange "if else"?  
  (e.g. like a Spring based "Presenter-History" bean or annotation?)
- Persistence best practices (JDO / JPA) and what if I want to choose later?) e.g.
use RPPOJOs, (as in "Really Plain POJOs") (e.g. no annotations, ORM agnostic) 

How do the two giants (VMWare and Google) expect us, the developer community to adopt
their new world order promise of a cloud agnostic framework if they can't provide a
working, tested sample of how the two integrate the intended way? do you think JEE
would have been where it is without the pet shop? where is the Spring + GAE + GWT or
the new "SprinGoogle" pet shop sample project? the expenses roo project is not even
close to that (even if the GAE sample did work)

IS there any public cummunity process to discuss how such a blueprint project should
look like? is there a new Roo / Spring / GAW / GWT version in the road map that addresses
those issues?

Shortest code snippet which demonstrates issue (please indicate where
actual result differs from expected result):

try to write a Spring based GAE + GWT application that is really decoupled from GAE
or JDO, share the code (and get a job offer from VMWare / Google)

Workaround if you have one:

Use another host than GAE, which is not what I want.

Links to relevant GWT Developer Forum posts:

Reported by Ehrann.Mehdan on 2010-11-29 18:53:23

dankurka commented 9 years ago
An example would be awefully nice, been trawling the net for something that integrates
GWT/GAE/Spring MVC and as a plus Maven. When it comes down to GAE or GWT alone the
code samples seem to be available.

Reported by guy.armitage on 2011-06-05 09:36:19

dankurka commented 9 years ago
GWT + Blueprint tutorial is difficult to find.. Have not found a single yet.
Please provide better documentation for OSGi integration.

Reported by shirishsurti on 2012-01-22 09:17:12

dankurka commented 9 years ago

Reported by dankurka@google.com on 2013-06-02 20:54:16