MongoDB Integration 2.0
This feature enables the usage of the MongoDB Java Driver and allows DB instances to be configured in the server configuration, injected into managed components such as EJBs, and accessed through JNDI. Applications interact with these DB instances via the MongoDB APIs
Dieses Feature aktivieren
To enable the MongoDB Integration 2.0 feature, add the following element declaration inside the featureManager element in your
server.xml file:
<feature>mongodb-2.0</feature>
Unterstützte Java™-Versionen
- JavaSE-1.6
- JavaSE-1.7
- JavaSE-1.8
Feature entwickeln, das von diesem Feature abhängig ist
If you are developing a feature that depends on the MongoDB Integration 2.0 feature, include the following item in the Subsystem-Content header in the feature manifest file for your new feature:
com.ibm.websphere.appserver.mongodb-2.0; type="osgi.subsystem.feature"
Featurekonfigurationselemente
You can use the following elements in your server.xml file to configure the MongoDB Integration 2.0 feature:
Referenzartikel