This tutorial is outdated and will not be updated any more. EMFStore is in maintenance mode and declared end of life on December 31st 2022.
For details please see the EMFStore homepage.
Building an application to view and edit data is really simple using the EMF Client Platform. This includes form-based editors based on EMF Forms. Add EMFStore to the mix and you get collaborative editing and versioning. All of this is merely a matter of defining an EMF model for your data.
If you want to run all this as a web application, you can use the Remote Application Framework (RAP). EMF Client Platform, EMF Forms, and EMFStore support running RAP without modifications.
Finally, this all must be deployed somewhere. This is how this tutorial may serve as useful. We will describe step by step how to deploy and run a RAP application based on EMF Client Platform, EMF Forms, and EMFStore on an Apache Tomcat server.
In this tutorial we will configure an ECP demo app to run on Tomcat.
To run the ECP demo app in Tomcat there are a few issues that need to be taken care of:
To run our application on Tomcat we need to build a war file containing the application.
We have already created a configuration for “WAR Products” to build the war file.