|
Re: Best practice for building eclipse data explorer view . [message #988567 is a reply to message #988525] |
Fri, 30 November 2012 14:17 |
Ed Merks 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/
|
|
|
Powered by
FUDForum. Page generated in 0.02459 seconds