Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Texo JSON Resource: using EMF in a 3-tier architecture with a JSON JPA web server
Texo JSON Resource: using EMF in a 3-tier architecture with a JSON JPA web server [message #905224] Thu, 30 August 2012 00:25 Go to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi,
The last days I spend some time on implementing a nice new feature in Texo: the JSONTexoResource.

With this EMF resource implementation it is possible to run your RCP in a standards compliant 3-tier architecture. This
new EMF resource allows you to retrieve/persist your EMF EObjects remotely from a JPA/JSON web server which stores its
data in a relational db. It uses JSON over HTTP as the communication protocol.

Other features:
- automatic remote EMF proxy resolving
- support for JPQL queries to load objects, cross referencing queries, refreshing objects on the client

For more information see these links here:
http://martintaal.wordpress.com/2012/08/30/taking-emf-to-the-third-tier-the-texo-json-resource/
http://wiki.eclipse.org/Texo/EMFResource#The_JSONTexoResource_-_setting_up_a_server_side


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: Texo JSON Resource: using EMF in a 3-tier architecture with a JSON JPA web server [message #913032 is a reply to message #905224] Fri, 14 September 2012 16:26 Go to previous messageGo to next message
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 673
Registered: July 2009
Location: Trondheim, Norway
Senior Member
Martin,

That sounds really useful! My students often ask for JSON support,
particularly when communicating with web services and mobile clients.

Hallvard

On 29.08.12 17.25, Martin Taal wrote:
> Hi,
> The last days I spend some time on implementing a nice new feature in
> Texo: the JSONTexoResource.
>
> With this EMF resource implementation it is possible to run your RCP in
> a standards compliant 3-tier architecture. This new EMF resource allows
> you to retrieve/persist your EMF EObjects remotely from a JPA/JSON web
> server which stores its data in a relational db. It uses JSON over HTTP
> as the communication protocol.
>
> Other features:
> - automatic remote EMF proxy resolving
> - support for JPQL queries to load objects, cross referencing queries,
> refreshing objects on the client
>
> For more information see these links here:
> http://martintaal.wordpress.com/2012/08/30/taking-emf-to-the-third-tier-the-texo-json-resource/
>
> http://wiki.eclipse.org/Texo/EMFResource#The_JSONTexoResource_-_setting_up_a_server_side
>
>
>
Re: Texo JSON Resource: using EMF in a 3-tier architecture with a JSON JPA web server [message #913289 is a reply to message #913032] Sat, 15 September 2012 06:51 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Nice to hear Hallvard, by getting 2 plugins (org.eclipse.emf.texo/org.eclipse.emf.texo.json) you can do EMF <--> JSON
conversions and include the JSONTexoResource in a RCP.

Your students can connect their mobile web clients to the Texo generated server side quite easily:
http://martintaal.wordpress.com/2012/04/05/emf-texo-json-rest-web-service-support-connecting-your-client-to-an-emf-supporting-web-server/

The JSON server side support has quite some features especially for higher volume datasets.

gr. Martin

On 09/14/2012 06:26 PM, Hallvard Trætteberg wrote:
> Martin,
>
> That sounds really useful! My students often ask for JSON support, particularly when communicating with web services and
> mobile clients.
>
> Hallvard
>
> On 29.08.12 17.25, Martin Taal wrote:
>> Hi,
>> The last days I spend some time on implementing a nice new feature in
>> Texo: the JSONTexoResource.
>>
>> With this EMF resource implementation it is possible to run your RCP in
>> a standards compliant 3-tier architecture. This new EMF resource allows
>> you to retrieve/persist your EMF EObjects remotely from a JPA/JSON web
>> server which stores its data in a relational db. It uses JSON over HTTP
>> as the communication protocol.
>>
>> Other features:
>> - automatic remote EMF proxy resolving
>> - support for JPQL queries to load objects, cross referencing queries,
>> refreshing objects on the client
>>
>> For more information see these links here:
>> http://martintaal.wordpress.com/2012/08/30/taking-emf-to-the-third-tier-the-texo-json-resource/
>>
>> http://wiki.eclipse.org/Texo/EMFResource#The_JSONTexoResource_-_setting_up_a_server_side
>>
>>
>>
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Previous Topic:EMF Compare 2.0 available
Next Topic:Clear a resource with not null constraints
Goto Forum:
  


Current Time: Tue Apr 16 06:08:01 GMT 2024

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

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

Back to the top