Skip to content

The original setup (deprecated)

dasch124 edited this page Dec 14, 2020 · 1 revision

The Original Setup (deprecated)

NB this page is only kept for reference; the approach described here is deprecated in favour of the current architecture

MerMEId by Det-Kongelige-Bibliotek is a svn repository containing the code for the .war files of a servlet and it depends on exist and orbeon as a second and third servlet.

There are some configuration files for orbeon in the repository too.

The servlets are used in a tomcat servlet container. This setup provides one central source for security/user settings in tomcat.

tomcat is meant to have an apache server as frontend and they are meant to communicate using the ajp protocol.

editor.war

This war is build from the trunk/mermeid subdirectory. It contains little actual code but all the Orbeon XForms files and support files like JS sources to enable browsers to display the forms.

It fetches a XML file providing an input form an by doing this all the included XMLs are resolved.

It also uses uses orbeon-xfroms-filter to then transform the resolved XML into an HTML form. This is just a configuration setting of this servlet and not Java code for example.

orbeon.war

orbeon powers the XFroms to HTML transformation. It provides more features than just standard XForms.

An orbeon.war (version 4.9) that is downloaded from the website (Github) needs to be edited for production use.

For one it contains another old version of exist (1.4.1) which may make things confusing so it is good practice to delete it.

Then there are some configuration files provided in the repository that are needed for orbeon-xfroms-filter. This component has to be enabled in the orbeon servlet in tomcat as well as in the editor servelet.

exist.war

Is the database backend and runs some XQuery and XSL scripts.

In the latest 5.x.x release of exist the project stopped providing .war builds.

Clone this wiki locally