Configuring RealWeb
Each database to be accessed via RealWeb must be given a connection name and
have its details entered using the configuration utility. RealWeb can access
Reality databases in one of two
ways.
- Pooled connections use a predefined user-id and account (and associated
passwords if necessary) for all connections. Established connections are
entered into a pool, and may be reused by the next request for a connection,
either from the same browser or another browser.
- Persistent connections ensure that a given browser will always reconnect
using the same connection (assuming the browser reconnects within a given time
interval). This enables the DataBasic server code to maintain a context for
a connection, and even hold item locks and transactions open. Persistent
connections may either use a predefined user-id and account, as for pooled
connections, or they may use a secure connection, where the user must logon
to the database before being allowed access.
Connections are set up using the rwconfig utility. This can be run by
using the following :
WebServerURL/servlet/rwconfig
where WebServerURL is the URL of the web
server containing the utility.
When you run the configuration utility, you will be prompted to either select
an existing connection from a drop-down list, or select the New option. When you
click the Submit button, you will be prompted to enter the connection
parameters.
Note: You can base a new connection on an existing one by selecting
the required connection from the list and then changing the section name.