GWT has an Editor Framework, which, after a cursory inspection, looks an awful lot like how Spring MVC/Forms handles data binding between backend data objects and frontend UI components.
I am writing my first GWT/GAE application and was wondering if there is any way to use this Editor Framework in conjunction with GAE's JDO/Atomic library, which is the API you code against to O/R map between your app and the underlying datastore.
Are these two frameworks complimentary or are they mutually exclusive? If they can work together, can someone please provide a small code sample of how I could use them to populate, say, an HTML <select>
box with a list of names, or something else basic-yet-practical.
I would imagine this might involve a Person
POJO representing a person (and having a String name
property), perhaps some kind of PersonDAO
that uses JDO/Atomic to CRUD Person
instances to/from the Datastore, and then some kind of Editor<Person>
that can map Person
instances to frontend <select>
s.
If I can see a working example, I think it will all come together for me. And, if these are exclusive of one another and can't be used together, a solid explanation of why would be enormously appreciated! Thanks in advance!