Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Ecore model instances to GXT(GWT with extjs) beans
Ecore model instances to GXT(GWT with extjs) beans [message #621423] Sun, 04 October 2009 14:27 Go to next message
Mdu Mising name is currently offline Mdu Mising nameFriend
Messages: 22
Registered: October 2009
Junior Member
Hi All,
Here's my Use Case:

Intro:
We are using GXT (extjs with GWT) as a front-end. GXT UI widgets (grids,trees) naturally bind to any POJO that implements DataModel ( http://www.extjs.com/deploy/gxtdocs/com/extjs/gxt/ui/client/ data/BaseModelData.html).

We also have invested in using EMFT stack (Ecore models, Teneo, etc.) to build our models.

We would like to (at runtime) marshal/unmarshal OR serialize/deserialize between Ecore model instances and DataModel POJOs as described above.

Q1) Which tooling (approach) would support this use case?
Q2) We thought of creating a custom Resource that can mapping between these two models - is this the right approach?
Q3) We also thought of using Ecore -> XML -> XML/java binding to POJOS. Is this a wrong approach?
Q4) What about leveraging built in Ecore -> XML feature and making all data available via web services (idea similar to Servus - is this alive yet). And then have a front-end like GXT talk via web service interface.

I hope my questions make sense.

-Mdu
Re: Ecore model instances to GXT(GWT with extjs) beans [message #621424 is a reply to message #621423] Sun, 04 October 2009 15:25 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
Mdu,

Please avoid cross posting the same question to multiple newsgroups.


Mdu wrote:
> Hi All,
> Here's my Use Case:
>
> Intro:
> We are using GXT (extjs with GWT) as a front-end. GXT UI widgets
> (grids,trees) naturally bind to any POJO that implements DataModel
> ( http://www.extjs.com/deploy/gxtdocs/com/extjs/gxt/ui/client/ data/BaseModelData.html).
>
>
> We also have invested in using EMFT stack (Ecore models, Teneo, etc.)
> to build our models.
>
> We would like to (at runtime) marshal/unmarshal OR
> serialize/deserialize between Ecore model instances and DataModel
> POJOs as described above.
>
> Q1) Which tooling (approach) would support this use case?
> Q2) We thought of creating a custom Resource that can mapping between
> these two models - is this the right approach?
> Q3) We also thought of using Ecore -> XML -> XML/java binding to
> POJOS. Is this a wrong approach?
> Q4) What about leveraging built in Ecore -> XML feature and making all
> data available via web services (idea similar to Servus - is this
> alive yet). And then have a front-end like GXT talk via web service
> interface.
>
> I hope my questions make sense.
>
> -Mdu


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Ecore model instances to GXT(GWT with extjs) beans
Next Topic:Graphical Ecore Editor and support for plugin URIs
Goto Forum:
  


Current Time: Tue Dec 03 08:54:50 GMT 2024

Powered by FUDForum. Page generated in 0.07209 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top