Features list of the JDBC Admin web application:
The application's configuration is centralized in an XML file.
By default, the application uses the configuration file located in the WAR file, under this path :
WEB-INF/configuration.xml
The System property : The configuration file path can be specified in the java property :
'jdcbcadmin.configuration'
-Djdbcadmin.configuration=C:\jdbcadmin\conf.xml
The JNDI resource : The file path can be specified using a JNDI resource named
jdbcadmin/configuration
java:comp/env/jdbcadmin/configuration
The configuration file is first searched in the System properties, then in the JNDI resources and finaly in the WAR file..
The <jdbcadmin>
element is the root element of the
configuration. A label
attribute can be specified and is
diplayed in the left frame menu.
The configuration of the JDBC connection.
Two connections mode are provided :
The connection mode is specified using the mode
attribute of the
connection
element, the values are param or user.
In the user mode, values specified in the configuration file are used as default values.
The folowing table lists all of the possible child elements.
Element | Description |
---|---|
driver | The JDBC driver class name |
url | The JDBC URL of the database |
userName | The username used to connect the database |
userPassword | The database user's password |
dataSourceJndiName | The JNDI name of the data source |
If the dataSourceJndiName
is specified, other elements are ignored.
The configuration of the authorized schemas and tables. The restrictive
attribute
indicates whether the configuration specifies the schemas and tables that are hidden
(value true
) or indicates the schemas and tables that are visibles (value false
).