Installing > Installing a Development Environment > Completing postinstallation configuration tasks > Configuring the H2 database

Setting the H2 mode

Set your preferred mode for developing applications.


About this task

The following H2 modes are supported for application development:

Embedded mode

In embedded mode, an application opens the database from within the same JVM by using JDBC. This mode is the fastest and easiest connection mode. The disadvantage is that a database can be open in only one virtual machine (and class loader) at any time.

Remote mode

In remote mode, sometimes called client/server mode, an application opens the database remotely by using the JDBC or the ODBC API. Many applications can connect to the same database at the same time. The remote mode is slower than the embedded mode because all data is transferred over TCP/IP.


Tasks

  1. Edit the %CURAM%\EJBServer\project\properties\Bootstrap.properties file.

  2. Specify the mode in the curam.db.h2.mode property. For example:

    # Mode remote|embedded
    curam.db.h2.mode=embedded
    



Error 404 - Not Found

Error 404 - Not Found

The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.