+

Search Tips   |   Advanced Search

MongoDB databases

MongoDB (from humongous) is a scalable, high-performance, open source NoSQL database. Liberty provides configuration support for ongoDB Java driver v2.10.0 or later.

This feature enables use of the MongoDB Java Driver and allows DB instances to be configured in the server configuration, injected into managed components such as EJBs, and looked up in JNDI. Applications interact with these DB instances using the normal ongoDB APIs.

Liberty provides a mongo-2.0 feature we can use to configure MongoDB instances and associated database connections for our applications. Access to MongoDB connections is available either by JNDI lookup or resource injection, as with other product resources. All actual database manipulation is performed by the native com.mongodb API.

The MongoDB server and client MongoDB driver are not available with the product. We must download, install, and configure the MongoDB database servers and client drivers.

  • Create Liberty applications that use MongoDB
  • MongoDB drivers
  • com.mongodb API