Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EMFStore catalog/index(EMFStore catalog/index)
EMFStore catalog/index [message #946175] Tue, 16 October 2012 01:52 Go to next message
Jim Foscue is currently offline Jim FoscueFriend
Messages: 14
Registered: June 2012
Junior Member
I've been looking into EMFStore as an approach to maintaining my models and model instances. Looks very promising but I have the following questions:

Where can I find the model/schema that EMFStore uses to maintain its catalog/index of saved models and instances?

What is the type of repository the EMFStore uses? git, svn, or something else?

Thanks

Jim
Re: EMFStore catalog/index [message #946705 is a reply to message #946175] Tue, 16 October 2012 12:22 Go to previous messageGo to next message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 218
Registered: July 2009
Senior Member
Hi Jim,

EMFStore uses EMF to define its model/schema, so they are all described
in Ecore, namely in three plugins in our git repository:
org.eclipse.emf.emfstore.common.model/model/common.ecore
org.eclipse.emf.emfstore.server.model/model/server.ecore
org.eclipse.emf.emfstore.client.model/model/client.ecore

The repository is a custom repository and stores its data into EMF
resources. By default it uses the EMF XMI resource implementation,
storing data in to a set of XML files.

Let me know if you need any more information!

Cheers,
Maximilian

Am 16.10.2012 03:52, schrieb Jim Foscue:
> I've been looking into EMFStore as an approach to maintaining my models
> and model instances. Looks very promising but I have the following
> questions:
>
> Where can I find the model/schema that EMFStore uses to maintain its
> catalog/index of saved models and instances?
>
> What is the type of repository the EMFStore uses? git, svn, or
> something else?
>
> Thanks
>
> Jim


--
Maximilian Kögel

Get Professional Eclipse Support: http://eclipsesource.com/munich
Re: EMFStore catalog/index [message #946970 is a reply to message #946705] Tue, 16 October 2012 17:35 Go to previous messageGo to next message
Jim Foscue is currently offline Jim FoscueFriend
Messages: 14
Registered: June 2012
Junior Member
Thanks for your quick reply.

As a follow-up it looks like a ProjectSpace is the top level that references a Project. And a Project contains the list of model elements(object/model instances?). Is this accurate?

Where does EMF keep up with the resource location?

Thanks
Re: EMFStore catalog/index [message #947682 is a reply to message #946970] Wed, 17 October 2012 10:05 Go to previous messageGo to next message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 218
Registered: July 2009
Senior Member
Hi Jim ,

yes, Project is a container for EObjects and is being maintained by
ProjectSpace, which stores accounting information such as the changes
that have been executed.
I am not sure, if I understand your question about the resource location
correctly, but I will try to answer anyway ;): EMFStore automatically
takes care of all objects that are added to the containment tree of the
project, if necessary it adds them to a resource (by default a XMI
Resource).

Cheers,
Maximilian

Am 16.10.2012 19:35, schrieb Jim Foscue:
> Thanks for your quick reply.
>
> As a follow-up it looks like a ProjectSpace is the top level that
> references a Project. And a Project contains the list of model
> elements(object/model instances?). Is this accurate?
> Where does EMF keep up with the resource location?
>
> Thanks


--
Maximilian Kögel

Get Professional Eclipse Support: http://eclipsesource.com/munich
Re: EMFStore catalog/index [message #948378 is a reply to message #947682] Thu, 18 October 2012 01:47 Go to previous messageGo to next message
Jim Foscue is currently offline Jim FoscueFriend
Messages: 14
Registered: June 2012
Junior Member
Thanks for your replies. I have more questions...

Can the EMFStore clients run in an offline mode without the server?

We are considering building on top of EMFStore and would need to be able to provide the users the CRUD capabilities. Where can I find the documented API (maybe javadoc) for EMFStore?

How would I query the EMFStore for instances? Say I have Library models stored and I want to find one that matches a name that is part of the Library.

Thanks again for all your help.

Jim
Re: EMFStore catalog/index [message #949034 is a reply to message #948378] Thu, 18 October 2012 16:06 Go to previous messageGo to next message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 218
Registered: July 2009
Senior Member
Hi Jim,

sure, thanks for giving EMFStore a try, comments inline...

> Can the EMFStore clients run in an offline mode without the server?
Yes, absolutely. Projects can remain in an unshared state. They are only
stored on the client then.

> We are considering building on top of EMFStore and would need to be able
> to provide the users the CRUD capabilities. Where can I find the
> documented API (maybe javadoc) for EMFStore?
All public methods are documented as JavaDoc, if you install the source
bundles you can see the documentation. A good starter to learn about the
API (which is quite thin), are the example plugins:
http://eclipse.org/emfstore/documentation/howToUseExamples.php
You can find more information including the example plugins on this page:
http://eclipse.org/emfstore/documentation.php

> How would I query the EMFStore for instances? Say I have Library models
> stored and I want to find one that matches a name that is part of the
> Library.
Clients check out a project from the EMFStore. So they can run queries
on the project locally. It is possible to implement a server extension
to run specific queries on the server, but currently there is no generic
server-side query support.
If you would like to discuss certain usage scenarios, maybe a Skype
telco would help to answer all your questions. I would be available on
Skype tomorrow (GMT+2). Anyway I am happy to answer your questions in
the newsgroup, of course.

Cheers,
Maximilian

--
Maximilian Kögel

Get Professional Eclipse Support: http://eclipsesource.com/munich
Re: EMFStore catalog/index [message #949110 is a reply to message #949034] Thu, 18 October 2012 17:50 Go to previous messageGo to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 756
Registered: July 2009
Senior Member
As for the queries part, the following sounds interesting:

http://eclipse.org/proposals/modeling.emf.incquery/

Maybe, that could be integrated (somehow) into emfstore (client or server side).
Re: EMFStore catalog/index [message #949791 is a reply to message #949110] Fri, 19 October 2012 09:46 Go to previous messageGo to next message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 218
Registered: July 2009
Senior Member
Good idea, I guess so. I know Istvan (project lead) and hope to meet him
next week at EclipseCon.

Cheers,
Maximilian

Am 18.10.2012 19:50, schrieb Erdal Karaca:
> As for the queries part, the following sounds interesting:
>
> http://eclipse.org/proposals/modeling.emf.incquery/
>
> Maybe, that could be integrated (somehow) into emfstore (client or
> server side).


--
Maximilian Kögel

Get Professional Eclipse Support: http://eclipsesource.com/munich
Re: EMFStore catalog/index [message #958921 is a reply to message #949791] Fri, 26 October 2012 10:12 Go to previous message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 218
Registered: July 2009
Senior Member
Hi,

an update on this: I met Istvan at the EclipseCon and we agreed to build
a prototype for an integration to show feasibility. The first iteration
of the prototype will allow to run queries on the client side and the
second iteration will run queries on the server side.

Cheers,
Maximilian

Cheers,
Maximilian

Am 19.10.2012 11:46, schrieb Maximilian Koegel:
> Good idea, I guess so. I know Istvan (project lead) and hope to meet him
> next week at EclipseCon.
>
> Cheers,
> Maximilian
>
> Am 18.10.2012 19:50, schrieb Erdal Karaca:
>> As for the queries part, the following sounds interesting:
>>
>> http://eclipse.org/proposals/modeling.emf.incquery/
>>
>> Maybe, that could be integrated (somehow) into emfstore (client or
>> server side).
>
>


--
Maximilian Kögel

Get Professional Eclipse Support: http://eclipsesource.com/munich
Previous Topic:EMFStore Team Support
Next Topic:Edit - ignore this post [Texo] Trying to get the Rest Web Service going
Goto Forum:
  


Current Time: Thu Nov 27 11:15:17 GMT 2014

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

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