Show Table of Contents
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>
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.