Mongo Wire Protocol project
MongoWP is a Java layer that enables the development of MongoDB wire protocol applications (client or server side).
Any application designed to act as a mongo server could rely on this layer to implement the wire protocol. Examples of such applications may be mongo proxies, connection poolers or in-memory implementations, to name a few.
This layer is divided into several projects:
bson: provides an abstraction layer over a BSON document. It provides an API that hides the concrete library used to process BSON documents.
mongowp-core: contains common POJOs, exceptions, enums and annotations used by other projects.
server: an aggregation project that contains other projects used to implement servers that speak the mongo wire protocol. It includes a Netty-based implementation.
server: an aggregation project that contains other projects used to implement clients that speak the mongo wire protocol. Right now there is only one implementation (
driver-wrapper) that adapts the official MongoDB driver.
How to use it
MongoWP is built with Maven. Released artifacts are hosted on Maven Central and snapshot artifacts on Nexus Repository Management. You may build the source code by running "mvn package" on the root directory.