Project

General

Profile

DB Worker Node Add-on » History » Version 2

Udo Offermann, 02.04.2013 12:29

1 1 Udo Offermann
h1. DB Worker Node Add on
2 2 Udo Offermann
3
The *DB Worker Node Add-on* is a all-in-one-system z2 installation comprising the z2 environment plus a database (at the moment only "H2 Database Engine":http://www.h2database.com/ is supported). The purpose is to have a quick and easy system setup like development or demonstration environments. Of course one can use it also for productive systems if the H2 database fulfills your requirements.
4
5
The add-on contains only a wrapper component that launches the H2 database in embedded mode (the h2 database jar is part of the 
6
z2-base:source:base|com.zfabrik.db.drivers module) during z2 bootstrap. Since the wrapper is launched on a separate z2 worker node (i.e. the DB Worker node) the database runs in server mode from the web applications point of view (which are running on the web worker node). 
7
8
In order to run the database within a separate process one has to configure the DB worker node in the *environment* module. This is illustrated at z2-samples:source:z2-samples-dbworker|environment, see also the [[]]