Skip to main content



      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 12:50 Go to next message
Eclipse UserFriend
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 03:44 Go to previous messageGo to next message
Eclipse UserFriend
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 10:32 Go to previous message
Eclipse UserFriend
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: Sat Jul 05 11:47:59 EDT 2025

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

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

Back to the top