Does the new Spring Roo/GAE integration require us to use GWT?
The intro docs state to use gwt setup
Does the new Spring Roo/GAE integration require us to use GWT?
The intro docs state to use gwt setup
No. You can also deploy Roo MVC apps to the app engine, however there are a few issues, one of them being that the app engine does not support entity relationships at the moment. Thus all our current Roo samples won't work in the production app engine.
This is a work in progress so please stay tuned.
Nor, of course, is it necessary to deploy to GAE to use the GWT support.
So there seem some issues with Roo/GAE without GWT currentyle, but will they be fixed.
Will it be official option to not use GWT?
@Rod: I don't understand why it should necessary to use GWT to deploy to GAE.
Perhaps I don't understand the sentence you wrote down?
Rod says that it is not necessary to deploy to GAE to use GWT :-)
I guessed so, but I'm really misinterpreting his post (and I still do)
You can use mvn gae:deploy even with a Spring MVC application (ie no GWT).
I really need to get around to writing that blog post..... :-)
That would be great Alex. But what about the comment Alan made about issues in production mode?
I would also be interested to know if I could use the GAE low-level datastore (e.g. instead of JPA)?
For a small temp project I'm not interested in using JPA, GWT. The low level datastore API suits wel for this.
But using Roo stil has benefits, that's why I'm asking.
Marcel, Alan was referring to the considerations around App Engine and relationships between different entities. These aren't working fully in 1.1.0.M1 because App Engine requires the storage of the identifier of the related entity and having the accessors in the domain object go and retrieve the related entity via an explicit call.
You could certainly stub a Roo project and then use the low-level DataStore API rather than JPA if you wished. For simplicity you'd still have Data Nucleus in your pom.xml, but you could just write your own methods that directly use the GAE DataStore API.