Chapter 9. Developing XM L Web services 201
determines where to find DADX files by looking for a directory that matches its
servlet name.
Now we are creating a Web Service DADX Group configuration in the Travel
Project to contain all the Web Service files. A DADX Group c ontains connection
(JDBC and JNDI) and other information that is shared between DADX files within
the group:
1. Select the Tr av el project, click File—>New—>Other.
2. In the New Window, create Web Services DADX Group Configuration from
the Web Services c ategory. Click Next.
3. Select Travel project, click Add Group, enter TravelGroup as the name, and
click Finish.
The group.properti es File
The database connection information, and other parameters, are defined in the
group.properties file for the group which, in our example, is stored in the
WEB-INF/classes/groups/travelGroup directory.
The group.properties file is a standard Java properties files. The properties have
the following meanings:
Properties in group.properties:
initialContextFactory The Java class name of the JDNI initial context factory
that is used to locate the DataSource for the database.
datasourceJNDI The JNDI name of the DataSource for the database.
dbDriver The Java class name of the JDBC driver for the
database.
dbURL The JDBC URL of the database.
userID The user ID for the database.
password The password for the database.
namespaceTable The resource name of the namespace table.
autoReload The boolean automatic reloading mode.
reloadIntervalSeconds The integer automatic reloading time interval in
seconds.
groupNamespaceUri The URI prefix for automatically generated namespaces
for the WSDL and XSD documents.
enableXmlClob The boolean mode for enabling the XML CLOB stored
procedures.