MongoLink was conceived to leave no footprints at all (or almost) on your project : no annotations, no super class to inherit. Mapping is declared through a fluent api directly in Java, and the configuration to get started is just a few lines long.
Here is a sample project, that should get you up and runnning quickly
You must of course install MongoDB. Then the simplest way to go is to use Maven, Gradle, or wathever build tool you fancy. Here is a sample configuration for Maven : Keep in a mind we also provide a snapshot repository for the more bleeding edge versions of MongoLink
To work with MongoLink, you must use MongoSessionManager and MongoSession. MongoSessionManager is more or less a factory for MongoSession, and you may have only one instance of MongoSessionManager for your application.
Mapping with MongoLink is only declared through code : The «magic» here occures with the element() function. It returns an entity interceptor that let MongoLink register your functions. MongoLink will deduce your field names from functions.
You can also declare Value objects that can be use as properties of other objects :
MongoLink is free software: you can redistribute it and/or modify it under the terms of the Lesser GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.