How to create Eclipse RCP (Client / Server) using EMF for the model?

We are planning a project in which we will have an eclipse-based client interacting with the Glassfish server (+ Oracle database). The business logic will be on the server, the client should act more or less like a presentation. We are considering using EMF for our model (+ hibernate + teneo).

I'm not quite sure how it all works. The workflow / architecture / everything I imagine is something like this:

  • Creating an EMF Model
  • Create a java model from it (+ edit code)
  • Use the Java model on the server with hibernate / teneo to store model objects in the database
  • Create a SOAP interface on the server, serialize the model objects in XML sequentially
  • Use the client model to access the SOAP server interface, serialize / deserialize model objects from / to XML and display (parts of the whole) model in eclipse

As much as possible? Or did I miss the central concept?

+3
source share
1 answer

The missing link is called CDO. You can use this to transfer a live model to your client. So replace SOAP with CDO and you're there!

+2
source

All Articles