Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

Three Two types of datasources can be configured in the Java web applicationRuntime: JDBC , ODBC and JNDI. A datasource must be defined in the

Include Page
_PropertiesFileJava
_PropertiesFileJava
 file. The development tools component provides a web UI for modifying the properties file and can be used instead of editing the file directly.

...

Info

Using the development plugin settings always creates the optional settings in the properties file. See more details in the development plugin section.

...


Configuring an ODBC datasource

...

The procedure of creating a JNDI datasource is container-specific. Please consult the documentation of the application server running the application on how to create a JNDI datasource.

Using the development plugin

Assuming the development tools component is installed, the Settings widget can be started by using the button in the top right corner of the dashboard (see Using the development dashboard).

The Connections tab will show all the available connections. Managing the database connections is done in the Sql section.

To add a new connection, use the New Sql connection section at the bottom of the page, provide a name for the new connection and click Add new connection. Creating a new JDBC connection named datasource_name should yield the following result:

Image Removed

Info

Using the tooltips provides extra information about what each setting does.

...

.