Creating Subdirectory Structure
For creating a module, you need to create the subdirectory structure.
Note: Create any one of the following directory structures specific to the database that you have installed:
- For JBoss WildFly, the directory structure is $JBOSS_HOME\modules\system\layers\base\com.
- For JBoss EAP, the directory structure is $JBOSS_HOME\modules\system\layers\base\com.
- Procedure
- For the Oracle database, create the hierarchical folders in the
$JBOSS_HOME\modules\system\layers\base\com directory as follows:
oracle > ojdbc8 > main
- For the SQL Server database, create the hierarchical folders in the
$JBOSS_HOME\modules\system\layers\base\com directory as follows:
microsoft > sqlserver > main
- For the PostgreSQL database, create the hierarchical folders in the
$JBOSS_HOME\modules\system\layers\base\org directory as follows:
postgresql > mainAfter creating the subdirectory structure, perform the following steps:
- Place the module.xml file specific to each database in the subdirectory. For information about creating a module.xml file for each database, see Module Creation.
- Place the JAR files specific to each database in the subdirectory. For more information, see the JDBC Related Libraries section in "Third-Party Libraries".