Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Embedded EMF Store(Running and accessing EMF Store in the embedded mode)
Embedded EMF Store [message #1701300] Fri, 10 July 2015 16:50 Go to next message
Yuri Sokolovski is currently offline Yuri SokolovskiFriend
Messages: 9
Registered: July 2015
Junior Member
Hi,

We are considering to use the EMF Store as an integrated component running within the main application JVM.

Is it possible to access the EMF Store directly, bypassing the XML-RPC protocol?

Appreciate any pointers.

Thanks!

-Yuri
Re: Embedded EMF Store [message #1701559 is a reply to message #1701300] Tue, 14 July 2015 07:44 Go to previous messageGo to next message
Edgar Mueller is currently offline Edgar MuellerFriend
Messages: 89
Registered: March 2011
Member
Hi Yuri,

this is possible as long your application is based on OSGi, the Platform
and EMF. You can then use a Mock instead of the XML-RPC middleware. We
do this ourselves within our test cases in order to increase
performance, so might want to take a look at the base classes used in
our tests
(http://git.eclipse.org/c/emf-store/org.eclipse.emf.emfstore.core.git/tree/tests/org.eclipse.emf.emfstore.test.common/src/org/eclipse/emf/emfstore/client/test/common/cases)
as well as the ServerUtil class
(http://git.eclipse.org/c/emf-store/org.eclipse.emf.emfstore.core.git/tree/tests/org.eclipse.emf.emfstore.test.common/src/org/eclipse/emf/emfstore/client/test/common/util/ServerUtil.java)
which specifically contains methods for initializing a mock server.
Hope this helps,

Best,
Edgar


> Hi,
> We are considering to use the EMF Store as an integrated component
> running within the main application JVM.
>
> Is it possible to access the EMF Store directly, bypassing the XML-RPC
> protocol?
>
> Appreciate any pointers.
>
> Thanks!
>
> -Yuri


--
Edgar Mueller

Get Professional Eclipse Support:
http://eclipsesource.com/en/services/developer-support/
Re: Embedded EMF Store [message #1701630 is a reply to message #1701559] Tue, 14 July 2015 14:32 Go to previous message
Yuri Sokolovski is currently offline Yuri SokolovskiFriend
Messages: 9
Registered: July 2015
Junior Member
Thanks, Edgar!

We're not using OSGi at the moment, but I'll give it a try.

Appreciate your help!

-Yuri
Previous Topic:MatchService.doMatch ConcurrentModificationException
Next Topic:[EEF] Documentation
Goto Forum:
  


Current Time: Thu Feb 20 01:22:01 GMT 2020

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

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

Back to the top