Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Best practice for building eclipse data explorer view . (Best practice for building eclipse data explorer view for supporting CRUD operations.)
Best practice for building eclipse data explorer view . [message #988525] Fri, 30 November 2012 11:10 Go to next message
Kondal Kolipaka is currently offline Kondal KolipakaFriend
Messages: 9
Registered: July 2009
Junior Member
Hello Experts,

Could you please clarify which is the best fit for this particular scenario ?

1. I want to build an Eclipse data explorer view(Tree based view), from there we will be connecting to third party servers and viewing the data.

2. In future, we also want to enable CRUD operations on the model objects. Means,we are planning to build modelling environment for designing the model objects.

3. End user should be able to save selected model objects into the local file system and view them in offline mode.

Considering all these usecases, what is the best fit of eclipse technologies ?
a. Should I use EMF for this ?
b. Combination of EMF and JAXB ? Do I need to serialize only model data or also with tree node (this contains additional properties like last saved of model,etc.)

Thanks a lot for your support.
Re: Best practice for building eclipse data explorer view . [message #988567 is a reply to message #988525] Fri, 30 November 2012 14:17 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Comments below.<br>
<br>
<div class="moz-cite-prefix">On 30/11/2012 2:35 PM, KK Mising name
wrote:<br>
</div>
<blockquote cite="mid:k9acnh$p5d$1@xxxxxxxxe.org" type="cite">Hello
Experts,
<br>
<br>
Could you please clarify which is the best fit for this particular
scenario ?
<br>
<br>
1. I want to build an Eclipse data explorer view(Tree based view),
from there we will be connecting to third party servers and
viewing the data.
<br>
<br>
2. In future, we also want to enable CRUD operations on the model
objects. Means,we are planning to build modelling environment for
designing the model objects.
<br>
</blockquote>
The data are model objects?<br>
<blockquote cite="mid:k9acnh$p5d$1@xxxxxxxxe.org" type="cite">
<br>
3. End user should be able to save selected model objects into the
local file system and view them in offline mode.
<br>
</blockquote>
Generated editors support "Save as..." and EMF models can be loaded
from arbitrary URIs , which can correspond to http: URLs such that
the resource really is loaded from the internet.<br>
<blockquote cite="mid:k9acnh$p5d$1@xxxxxxxxe.org" type="cite">
<br>
Considering all these usecases, what is the best fit of eclipse
technologies ?
<br>
a. Should I use EMF for this ?
<br>
</blockquote>
Yes, maybe CDO will be a good fit too though I'm not sure what you
mean by third party servers; CDO relies CDO running on the server.<br>
<blockquote cite="mid:k9acnh$p5d$1@xxxxxxxxe.org" type="cite">b.
Combination of EMF and JAXB ?  Do I need to serialize only model
data or also with tree node (this contains additional properties
like last saved of model,etc.)
<br>
</blockquote>
I don't see that there's be any need to use JAXB because EMF
provides equivalent capabilities:<br>
<blockquote><a target="_out"
href="http://www.theserverside.com/tt/articles/article.tss?l=BindingXMLJava">Binding
XML to Java</a><br>
</blockquote>
I don't understand the distinction you're drawing between tree node
and the data.  You can always model both.  Anything you want to
persist will be good to model because you get XML serialization (or
things like Teneo's Hibernate support) for free.<br>
<blockquote cite="mid:k9acnh$p5d$1@xxxxxxxxe.org" type="cite">
<br>
Thanks a lot for your support.
<br>
</blockquote>
<br>
</body>
</html>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] Install CDO Server in linux
Next Topic:[CDO] Problem with concurrent read and write threads
Goto Forum:
  


Current Time: Thu Mar 28 14:17:32 GMT 2024

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

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

Back to the top