6.3. Module Deployment
Create a module under the "modules" directory and define the translator name and module name in the teiid subsystem in
standalone.xml
file or domain.xml
file and restart the server. The dependent Red Hat JBoss Data Virtualization or any other Java class libraries must be defined in module.xml file of the module. For production profiles this is recommended.
Example 6.1. Example module.xml
file
The following example is the
module.xml
file provided for the Salesforce translator. This file is located in the EAP_HOME/docs/teiid/datasources/salesforce/modules/org/springframework/spring/main
directory.
<module xmlns="urn:jboss:module:1.0" name="org.springframework.spring"> <resources> <resource-root path="spring-beans.jar"/> <resource-root path="spring-context.jar"/> <resource-root path="spring-core.jar"/> </resources> <dependencies> <module name="javax.api"/> </dependencies> </module>