Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » EMF in distributed SOA environment
EMF in distributed SOA environment [message #586646] Thu, 15 February 2007 15:28
Eclipse is currently offline EclipseFriend
Messages: 23
Registered: March 2010
Junior Member
Hi,

My company has been using MDD for quite some time now. Before the advent of
EMF we developed our own modeling language around which we built a
distributed SOA framework. The concept was very innovative at the time.
Model your service as a set of objects and behaviours on those objects. The
models themselves become the brokers to the service that you want to invoke.
This all sits on top of the J2EE stack that we use for
clustering/distribution/transactions/etc.

The problem is that we have wrapped our persistence into the service
invocation layers of the framework. This was not a wise decision (it was
before my time here ;-) ) as it has lead to numerous system crashes and
hours of debugging. So a major refactoring is in order! As such we are
hoping to incorporate industrial & open source tools into the framework as
much as possible. Myself I am a strong proponent of EMF and its
capabilities (I used it extensively in my Master's thesis). As such I am
trying to compile a report to discuss the advantages of leveraging EMF. We
all know the beauty of open source and the having a community to back our
development, but I have some questions that I am sure will come up regarding
EMF.

1. Are there any technologies/commercial products that use EMF outside of a
tooling context?
I am aware of Teneo and other persistence products that make use of EMF
(MetaMatrix). I am also aware of UIMA that uses the CAS modeling system;
but which has mappings to EMF. I am sure that someone has leverage EMF and
GEF/GMF in some RCP applications. What I am looking for here is the
applications of EMF in a distributed application where the main emphasis is
not on tooling (development tooling that is). Any J2EE application servers
that have introduced EMF in someway in their architecture? If people have
other good examples of using EMF in interesting applications I am all ears.

2. Using EMF as a transportation protocol for data?
So as we all know EObjects are not meant to be serializable, it is the
Resources that serialize the data and usually persist it to the file system.
But given that you have a backend service that has just read an EObject(s)
from a Resource that may be persisted to a file or to a database using the
Teneo project, what would be the best way of transporting a subset of the
Resource graph to the client? Also what if the result that is to be sent to
the client is composed of objects from many Resources? This may be tricky
as an object is only supposed to live in a single Resource, as such the only
solution that I foresee is to duplicate the data and place it in a special
Resource to serialize to the client. The beauty of a specialized 'client
transport Resource' is that you can easily introduce proxies that EMF can
resolve with the server, change monitoring by the client (ala SDO
ChangeSummary), close and serialize the data back to the service to be
persisted in the data store(s). Anyone thoughts of using EMF in this
manner?


I am sure that I will think of more questions as I progress with my report,
but if anyone has more to add on using EMF in a distributed SOA environment
please do post your opinions.

Thanks,
Alex
Previous Topic:EMF XML resources
Next Topic:EMF in distributed SOA environment
Goto Forum:
  


Current Time: Fri Apr 26 07:56:54 GMT 2024

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

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

Back to the top