A sample implementation of  the MarkLogic Reference Architecture, in Java