Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Texo] RCP + Texo/XML REST Web service (Using RCP with Texo/XML RESTWeb service )
[Texo] RCP + Texo/XML REST Web service [message #1007730] Thu, 07 February 2013 10:49 Go to next message
Neeraj Bhusare is currently offline Neeraj BhusareFriend
Messages: 93
Registered: July 2009
Location: India
Member
Hi
I have an "RCP" application and I need to make use of "Texo/XML REST Web services" support. Is it possible with Texo ?

I went through the following wiki pages, but didn't find much on the above topic. Any thoughts/pointers ?

http://wiki.eclipse.org/Texo/JSON_REST_Web_Services
http://wiki.eclipse.org/Texo/XML_REST_Web_Services
http://wiki.eclipse.org/Texo/EMFResource

Thanks in advance.


Best regards, Neeraj

[Updated on: Thu, 07 February 2013 10:50]

Report message to a moderator

Re: [Text] RCP + Texo/XML Rest Web service [message #1007733 is a reply to message #1007730] Thu, 07 February 2013 10:58 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5340
Registered: July 2009
Senior Member
Hi Neeraj,
For the RCP client-server connection Texo has the JSONTexoResource, it uses json which is more efficient than xml for
data transfer. See this blog for more information:
http://martintaal.wordpress.com/2012/08/30/taking-emf-to-the-third-tier-the-texo-json-resource/

The JSONTexoResource implements the standard EMF Resource api/interface, so you can use it instead of the other EMF
Resource implementations. The RCP client should not see any difference in api/interface/usage.

JSON is used for the client-server communication here. But the xml webservices is also there (on the server) if you want
to connect to the same server in a different way from another type of client.

gr. Martin

On 02/07/2013 11:49 AM, Neeraj Bhusare wrote:
> Hi
> I have an "RCP" application and I need to make use of "Texo/XML Rest Web services" support. Is it possible with Texo ?
> I went through the following wiki pages, but didn't find much on the above topic. Any thoughts/pointers ?
>
> http://wiki.eclipse.org/Texo/JSON_REST_Web_Services
> http://wiki.eclipse.org/Texo/XML_REST_Web_Services
> http://wiki.eclipse.org/Texo/EMFResource
>
> Thanks in advance.
>


--

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: [Text] RCP + Texo/XML Rest Web service [message #1007758 is a reply to message #1007733] Thu, 07 February 2013 12:28 Go to previous messageGo to next message
Neeraj Bhusare is currently offline Neeraj BhusareFriend
Messages: 93
Registered: July 2009
Location: India
Member
Thanks. Let me take a look at the link. Also, is this the right example for RCP/JSON (3-tier architecture) - org.eclipse.emf.texo.example1.rcp ?

Best regards, Neeraj

[Updated on: Thu, 07 February 2013 12:29]

Report message to a moderator

Re: [Text] RCP + Texo/XML Rest Web service [message #1007765 is a reply to message #1007758] Thu, 07 February 2013 12:52 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5340
Registered: July 2009
Senior Member
Hi Neeraj,
No not a good link I am afraid. I am kind of looking for someone to develop an example rcp with my help...

gr. Martin

On 02/07/2013 01:28 PM, Neeraj Bhusare wrote:
> Thanks. Let me take a look at the link. Also, is this the right example for RCP/JSON -
> https://github.com/mtaal/texo/tree/master/org.eclipse.emf.texo.example1.rcp ?


--

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: [Text] RCP + Texo/XML Rest Web service [message #1007771 is a reply to message #1007765] Thu, 07 February 2013 13:20 Go to previous messageGo to next message
Neeraj Bhusare is currently offline Neeraj BhusareFriend
Messages: 93
Registered: July 2009
Location: India
Member
Thanks Martin. Let me give it a try. If I succeed, I'll contribute my work as an example.

Best regards, Neeraj
Re: [Text] RCP + Texo/XML Rest Web service [message #1007775 is a reply to message #1007771] Thu, 07 February 2013 13:28 Go to previous messageGo to next message
Neeraj Bhusare is currently offline Neeraj BhusareFriend
Messages: 93
Registered: July 2009
Location: India
Member
Just out of curiosity, what is the use of the "org.eclipse.emf.texo.example1.rcp" example ?

Best regards, Neeraj
Re: [Text] RCP + Texo/XML Rest Web service [message #1007792 is a reply to message #1007775] Thu, 07 February 2013 14:01 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5340
Registered: July 2009
Senior Member
It was a demo rcp I started with someone else but he moved on to other things. I am myself more into web developments
(client and server) so it is difficult for me to develop a RCP client (never done that...) even as a demo.

So I am looking for a nice contained/focused demo RCP which shows how to do client side RCP with server side Texo. I can
do the wiki/video to show how it works but I need a real RCP developer to do the front end in the standard/default way...

gr. Martin

On 02/07/2013 02:28 PM, Neeraj Bhusare wrote:
> Just out of curiosity, what is the use of the "org.eclipse.emf.texo.example1.rcp" example ?


--

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:[Text] RCP + Text/XML Rest Web service
Next Topic:[Texo] Charset conversion errors inside xpt and xtend files
Goto Forum:
  


Current Time: Sat Dec 20 11:45:01 GMT 2014

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

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